Skip to content

Commit 02233ad

Browse files
author
Thomas G. Lockhart
committed
Include information for reset, set, and show commands.
1 parent e454d8a commit 02233ad

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/bin/psql/psqlHelp.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: psqlHelp.h,v 1.12 1997/04/23 06:41:56 vadim Exp $
8+
* $Id: psqlHelp.h,v 1.13 1997/05/17 06:16:34 thomas Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -152,6 +152,9 @@ static struct _helpStruct QL_HELP[] = {
152152
{ "purge",
153153
"purge historical data",
154154
"purge <class_name> [before <abstime>] [after <reltime>];"},
155+
{ "reset",
156+
"set run-time environment back to default",
157+
"reset {DateStyle | GEQO}"},
155158
{ "revoke",
156159
"revoke access control from a user or group",
157160
"revoke <privilege[,privilege,...]> on <rel1>[,...<reln>] from \n[public | group <group> | <username>]\n\t privilege is {ALL | SELECT | INSERT | UPDATE | DELETE | RULE}"},
@@ -161,6 +164,12 @@ static struct _helpStruct QL_HELP[] = {
161164
{ "select",
162165
"retrieve tuples",
163166
"select [distinct on <attr>] <expr1> [as <attr1>], ... <exprN> [as <attrN>]\n\t[into table <class_name>] [from <from_list>]\n\t[where <qual>]\n\t[order by <attr1>\n\t\t[using <op1>],..<attrN> [[using <opN>] | ASC | DESC]];" },
167+
{ "set",
168+
"set run-time environment",
169+
"set DateStyle = {'ISO' | 'SQL' | 'Postgres' | 'European' | 'US' | 'NonEuropean'\nset GEQO = {'ON' | 'OFF'}"},
170+
{ "show",
171+
"show current run-time environment",
172+
"show {DateStyle | GEQO}"},
164173
{ "update",
165174
"update tuples",
166175
"update <class_name> set <attr1>=<expr1>,...<attrN>=<exprN> [from <from_clause>] [where <qual>];"},

0 commit comments

Comments
 (0)