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
d8d0aa01
Commit
d8d0aa01
authored
Jul 25, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update psql help syntax to remove <> and uppercaese keywords.
parent
8e2647a1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
156 additions
and
199 deletions
+156
-199
src/backend/parser/gram.y
src/backend/parser/gram.y
+11
-43
src/bin/psql/psqlHelp.h
src/bin/psql/psqlHelp.h
+140
-151
src/man/create_operator.l
src/man/create_operator.l
+2
-2
src/man/load.l
src/man/load.l
+3
-3
No files found.
src/backend/parser/gram.y
View file @
d8d0aa01
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.1
6 1998/07/24 03:31:23 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.1
7 1998/07/25 00:17:28 momjian
Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
@@ -175,6 +175,7 @@ Oid param_type(int t); /* used in parse_expr.c */
join_using
%type <boolean> opt_union
%type <boolean> opt_table
%type <boolean> opt_trans
%type <node> position_expr
%type <list> extract_list, position_list
...
...
@@ -1994,74 +1995,41 @@ ListenStmt: LISTEN relation_name
*
*****************************************************************************/
TransactionStmt:
ABORT_TRANS TRANSACTION
TransactionStmt:
ABORT_TRANS opt_trans
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = ABORT_TRANS;
$$ = (Node *)n;
}
| BEGIN_TRANS
TRANSACTION
| BEGIN_TRANS
opt_trans
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = BEGIN_TRANS;
$$ = (Node *)n;
}
| BEGIN_TRANS WORK
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = BEGIN_TRANS;
$$ = (Node *)n;
}
| COMMIT WORK
| COMMIT opt_trans
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = END_TRANS;
$$ = (Node *)n;
}
| END_TRANS
TRANSACTION
| END_TRANS
opt_trans
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = END_TRANS;
$$ = (Node *)n;
}
| ROLLBACK WORK
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = ABORT_TRANS;
$$ = (Node *)n;
}
| ABORT_TRANS
| ROLLBACK opt_trans
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = ABORT_TRANS;
$$ = (Node *)n;
}
| BEGIN_TRANS
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = BEGIN_TRANS;
$$ = (Node *)n;
}
| COMMIT
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = END_TRANS;
$$ = (Node *)n;
}
;
| END_TRANS
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = END_TRANS;
$$ = (Node *)n;
}
| ROLLBACK
{
TransactionStmt *n = makeNode(TransactionStmt);
n->command = ABORT_TRANS;
$$ = (Node *)n;
}
opt_trans: WORK { $$ = NULL; }
| TRANSACTION { $$ = NULL: }
| /*EMPTY*/ { $$ = NULL; }
;
...
...
src/bin/psql/psqlHelp.h
View file @
d8d0aa01
This diff is collapsed.
Click to expand it.
src/man/create_operator.l
View file @
d8d0aa01
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.
6 1998/06/24 13:21:24
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/create_operator.l,v 1.
7 1998/07/25 00:17:30
momjian Exp $
.TH "CREATE OPERATOR" SQL 11/05/95 PostgreSQL PostgreSQL
.SH NAME
create operator - define a new user operator
...
...
@@ -30,7 +30,7 @@ The user who defines an operator becomes its owner.
.PP
The
.IR "operator_name"
is a sequence of
up to sixteen
punctuation characters. The following
is a sequence of punctuation characters. The following
characters are valid for single-character operator names:
.nf
...
...
src/man/load.l
View file @
d8d0aa01
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/load.l,v 1.
3 1998/01/11 22:17:43
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/load.l,v 1.
4 1998/07/25 00:17:30
momjian Exp $
.TH LOAD SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
load - dynamically load an object file
.SH SYNOPSIS
.nf
\fBload\fR
"filename"
\fBload\fR
'filename'
.fi
.SH DESCRIPTION
.BR Load
...
...
@@ -27,7 +27,7 @@ at this time.
--
--Load the file /usr/postgres/demo/circle.o
--
load
"/usr/postgres/demo/circle.o"
load
'/usr/postgres/demo/circle.o'
.fi
.SH CAVEATS
Functions in loaded object files should not call functions in other
...
...
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