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
17d819c0
Commit
17d819c0
authored
Nov 06, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for recusive exit call from Massimo.
parent
32edd985
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
22 deletions
+21
-22
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipc.c
+5
-6
src/bin/psql/sql_help.h
src/bin/psql/sql_help.h
+16
-16
No files found.
src/backend/storage/ipc/ipc.c
View file @
17d819c0
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.4
0 1999/10/10 16:53:51
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.4
1 1999/11/06 17:01:28
momjian Exp $
*
* NOTES
*
...
...
@@ -115,14 +115,13 @@ proc_exit(int code)
TPRINTF
(
TRACE_VERBOSE
,
"proc_exit(%d) [#%d]"
,
code
,
proc_exit_inprogress
);
/*
* If proc_exit is called too many times something bad is happenig, so
* exit immediately.
* If proc_exit is called too many times something bad is happeni
n
g, so
* exit immediately.
This is crafted in two if's for a reason.
*/
if
(
proc_exit_inprogress
>
9
)
{
if
(
proc_exit_inprogress
==
9
)
elog
(
ERROR
,
"infinite recursion in proc_exit"
);
if
(
proc_exit_inprogress
>=
9
)
goto
exit
;
}
/* ----------------
* if proc_exit_inprocess is true, then it means that we
...
...
src/bin/psql/sql_help.h
View file @
17d819c0
...
...
@@ -14,10 +14,6 @@ struct _helpStruct
static
struct
_helpStruct
QL_HELP
[]
=
{
{
"TRUNCATE"
,
"Empty a table"
,
"TRUNCATE [ TABLE ] name"
},
{
"ABORT"
,
"Aborts the current transaction"
,
"ABORT [ WORK | TRANSACTION ]"
},
...
...
@@ -42,6 +38,10 @@ static struct _helpStruct QL_HELP[] = {
"Gives storage clustering advice to the server"
,
"CLUSTER indexname ON table"
},
{
"COMMENT"
,
"Add comment to an object"
,
"COMMENT ON
\n
[
\n
[ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ]
\n
object_name |
\n
COLUMN table_name.column_name|
\n
AGGREGATE agg_name agg_type|
\n
FUNCTION func_name (arg1, arg2, ...)|
\n
OPERATOR op (leftoperand_type rightoperand_type) |
\n
TRIGGER trigger_name ON table_name
\n
] IS 'text'"
},
{
"COMMIT"
,
"Commits the current transaction"
,
"COMMIT [ WORK | TRANSACTION ]"
},
...
...
@@ -118,10 +118,6 @@ static struct _helpStruct QL_HELP[] = {
"Removes the definition of an aggregate function"
,
"DROP AGGREGATE name type"
},
{
"FETCH"
,
"Gets rows using a cursor"
,
"FETCH [ selector ] [ count ] { IN | FROM } cursor
\n
FETCH [ RELATIVE ] [ { [ # | ALL | NEXT | PRIOR ] } ] FROM ] cursor"
},
{
"DROP DATABASE"
,
"Destroys an existing database"
,
"DROP DATABASE name"
},
...
...
@@ -170,10 +166,18 @@ static struct _helpStruct QL_HELP[] = {
"Removes an existing view from a database"
,
"DROP VIEW name"
},
{
"END"
,
"Commits the current transaction"
,
"END [ WORK | TRANSACTION ]"
},
{
"EXPLAIN"
,
"Shows statement execution details"
,
"EXPLAIN [ VERBOSE ] query"
},
{
"FETCH"
,
"Gets rows using a cursor"
,
"FETCH [ selector ] [ count ] { IN | FROM } cursor
\n
FETCH [ RELATIVE ] [ { [ # | ALL | NEXT | PRIOR ] } ] FROM ] cursor"
},
{
"GRANT"
,
"Grants access privilege to a user, a group or all users"
,
"GRANT privilege [, ...] ON object [, ...]
\n
TO { PUBLIC | GROUP group | username }"
},
...
...
@@ -230,6 +234,10 @@ static struct _helpStruct QL_HELP[] = {
"Shows run-time parameters for session"
,
"SHOW keyword"
},
{
"TRUNCATE"
,
"Empty a table"
,
"TRUNCATE [ TABLE ] name"
},
{
"UNLISTEN"
,
"Stop listening for notification"
,
"UNLISTEN { notifyname | * }"
},
...
...
@@ -242,14 +250,6 @@ static struct _helpStruct QL_HELP[] = {
"Clean and analyze a Postgres database"
,
"VACUUM [ VERBOSE ] [ ANALYZE ] [ table ]
\n
VACUUM [ VERBOSE ] ANALYZE [ ER
\"
>tBLE> [ (column [, ...] ) ] ]"
},
{
"END"
,
"Commits the current transaction"
,
"END [ WORK | TRANSACTION ]"
},
{
"COMMENT"
,
"Add comment to an object"
,
"COMMENT ON
\n
[
\n
[ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ]
\n
object_name |
\n
COLUMN table_name.column_name|
\n
AGGREGATE agg_name agg_type|
\n
FUNCTION func_name (arg1, arg2, ...)|
\n
OPERATOR op (leftoperand_type rightoperand_type) |
\n
TRIGGER trigger_name ON table_name
\n
] IS 'text'"
},
{
NULL
,
NULL
,
NULL
}
/* End of list marker */
};
...
...
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