Skip to content

Commit 953e9e2

Browse files
committed
+ MOVE
+ CREATE TRIGGER Little changes for create table.
1 parent abb0e70 commit 953e9e2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/bin/psql/psqlHelp.h

Lines changed: 9 additions & 3 deletions
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.29 1997/10/01 19:42:53 momjian Exp $
8+
* $Id: psqlHelp.h,v 1.30 1997/10/02 13:58:06 vadim Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -53,7 +53,7 @@ static struct _helpStruct QL_HELP[] = {
5353
"copy [binary] <class_name> [with oids]\n\t{to|from} {<filename>|stdin|stdout} [using delimiters <delim>];"},
5454
{"create",
5555
"Please more be specific:",
56-
"\tcreate aggregate\n\tcreate database\n\tcreate function\n\tcreate index\n\tcreate operator\n\tcreate rule\n\tcreate sequence\n\tcreate table\n\tcreate type\n\tcreate view"},
56+
"\tcreate aggregate\n\tcreate database\n\tcreate function\n\tcreate index\n\tcreate operator\n\tcreate rule\n\tcreate sequence\n\tcreate table\n\tcreate trigger\n\tcreate type\n\tcreate view"},
5757
{"create aggregate",
5858
"define an aggregate function",
5959
"create aggregate <agg_name> [as] (basetype = <data_type>, \n\t[sfunc1 = <sfunc_1>, stype1 = <sfunc1_return_type>]\n\t[sfunc2 = <sfunc_2>, stype2 = <sfunc2_return_type>]\n\t[,finalfunc = <final-function>]\n\t[,initcond1 = <initial-cond1>][,initcond2 = <initial-cond2>]);"},
@@ -77,7 +77,10 @@ static struct _helpStruct QL_HELP[] = {
7777
"create sequence <sequence_name>\n\t[increment <NUMBER>]\n\t[start <NUMBER>]\n\t[minvalue <NUMBER>]\n\t[maxvalue <NUMBER>]\n\t[cache <NUMBER>]\n\t[cycle];"},
7878
{"create table",
7979
"create a new table",
80-
"create table <class_name> ( <attr1> <type1> [not null] [default <value>],...)\n\t[inherits (<class_name1>,...<class_nameN>)\n\tconstraint <name> check (<test>) [,check (<test>)]\n\tarchive=<archive_mode>\n\tstore=<smgr_name>\n\tarch_store=<smgr_name>];"},
80+
"create table <class_name>\n\t(<attr1> <type1> [default <expression>] [not null] [,...])\n\t[inherits (<class_name1>,...<class_nameN>)\n\t[[constraint <name>] check <condition> [,...] ]\n\tarchive=<archive_mode>\n\tstore=<smgr_name>\n\tarch_store=<smgr_name>];"},
81+
{"create trigger",
82+
"create a new trigger",
83+
"create trigger <trigger_name> after|before event1 [or event2 [or event3] ]\n\ton <class_name> for each row|statement\n\texecute procedure <func_name> ([arguments]);\n\n\teventX is one of INSERT, DELETE, UPDATE"},
8184
{"create type",
8285
"create a new user-defined base data type",
8386
"create type <typename> (\n\tinternallength = (<number> | variable),\n\t[externallength = (<number>|variable),]\n\tinput=<input_function>, output = <output_function>\n\t[,element = <typename>][,delimiter=<character>][,default=\'<string>\']\n\t[,send = <send_function>][,receive = <receive_function>][,passedbyvalue]);"},
@@ -147,6 +150,9 @@ static struct _helpStruct QL_HELP[] = {
147150
{"load",
148151
"dynamically load a module",
149152
"load <filename>;"},
153+
{"move",
154+
"move an cursor position",
155+
"move [forward|backward] [<number>|all] [in <cursorname>];"},
150156
{"notify",
151157
"signal all frontends and backends listening on a relation",
152158
"notify <class_name>"},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy