Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
660f458d
Commit
660f458d
authored
Jan 11, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up of copyfuncs.
parent
f3dbe735
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
88 deletions
+55
-88
src/backend/nodes/copyfuncs.c
src/backend/nodes/copyfuncs.c
+39
-80
src/backend/parser/gram.y
src/backend/parser/gram.y
+3
-1
src/bin/psql/psqlHelp.h
src/bin/psql/psqlHelp.h
+10
-5
src/man/insert.l
src/man/insert.l
+3
-2
No files found.
src/backend/nodes/copyfuncs.c
View file @
660f458d
This diff is collapsed.
Click to expand it.
src/backend/parser/gram.y
View file @
660f458d
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.
89 1998/01/11 03:41:38
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.
90 1998/01/11 20:01:59
momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
@@ -1960,6 +1960,8 @@ ViewStmt: CREATE VIEW name AS SelectStmt
ViewStmt *n = makeNode(ViewStmt);
n->viewname = $3;
n->query = (Query *)$5;
if (((SelectStmt *)n->query)->sortClause != NULL)
elog(ERROR,"Order by and Distinct on views is not implemented.");
if (((SelectStmt *)n->query)->unionClause != NULL)
elog(ERROR,"Views on unions not implemented.");
$$ = (Node *)n;
...
...
src/bin/psql/psqlHelp.h
View file @
660f458d
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psqlHelp.h,v 1.3
7 1998/01/11 04:36:2
5 momjian Exp $
* $Id: psqlHelp.h,v 1.3
8 1998/01/11 20:02:1
5 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -150,7 +150,8 @@ static struct _helpStruct QL_HELP[] = {
{
"create view"
,
"create a view"
,
"create view <view_name> as
\n
\
\t
select <expr1>[as <attr1>][,... <exprN>[as <attrN>]]
\n
\
\t
select
\n
\
\t
<expr1>[as <attr1>][,... <exprN>[as <attrN>]]
\n
\
\t
[from <from_list>]
\n
\
\t
[where <qual>]
\n
\
\t
[group by <group_list>];"
},
...
...
@@ -159,8 +160,11 @@ static struct _helpStruct QL_HELP[] = {
"declare <cursorname> [binary] cursor for
\n
\
\t
select [distinct]
\n
\
\t
<expr1> [as <attr1>],...<exprN> [as <attrN>]
\n
\
\t
[from <from_list>] [where <qual>]
\n
\
\t
[order by <attr1> [using <op1>],... <attrN> [using <opN>]];"
},
\t
[from <from_list>]
\n
\
\t
[where <qual>]
\n
\
\t
[group by <group_list>]
\n
\
\t
[order by <attr1> [using <op1>],... <attrN> [using <opN>]]
\n
\
\t
[union [all] select ...];"
},
{
"delete"
,
"delete tuples"
,
"delete from <class_name> [where <qual>];"
},
...
...
@@ -234,7 +238,8 @@ static struct _helpStruct QL_HELP[] = {
"insert tuples"
,
"insert into <class_name> [(<attr1>...<attrN>)]
\n
\
\t
values (<expr1>...<exprN>); |
\n
\
\t
select <expr1>,...<exprN>
\n
\
\t
select [distinct]
\n
\
\t
<expr1>,...<exprN>
\n
\
\t
[from <from_clause>]
\n
\
\t
[where <qual>]
\n
\
\t
[group by <group_list>]
\n
\
...
...
src/man/insert.l
View file @
660f458d
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/insert.l,v 1.
7 1998/01/11 04:36:28
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/insert.l,v 1.
8 1998/01/11 20:02:32
momjian Exp $
.TH INSERT SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
insert \(em insert tuples to a relation
...
...
@@ -9,7 +9,8 @@ insert \(em insert tuples to a relation
\fBinsert\fR into classname
[(att.expr-1 [,att_expr.i] )]
{\fBvalues\fR (expression1 [,expression-i] ) |
\fBselect\fR expression1 [,expression-i]
\fBselect\fR [distinct]
expression1 [,expression-i]
[\fBfrom\fR from-list] [\fBwhere\fR qual]
[\fBgroup by\fR attr_name1 {, attr_name-i....}]
[\fBunion {all} select\fR ...]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment