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
953e9e2b
Commit
953e9e2b
authored
Oct 02, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ MOVE
+ CREATE TRIGGER Little changes for create table.
parent
abb0e707
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/bin/psql/psqlHelp.h
src/bin/psql/psqlHelp.h
+9
-3
No files found.
src/bin/psql/psqlHelp.h
View file @
953e9e2b
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psqlHelp.h,v 1.
29 1997/10/01 19:42:53 momjian
Exp $
* $Id: psqlHelp.h,v 1.
30 1997/10/02 13:58:06 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -53,7 +53,7 @@ static struct _helpStruct QL_HELP[] = {
"copy [binary] <class_name> [with oids]
\n\t
{to|from} {<filename>|stdin|stdout} [using delimiters <delim>];"
},
{
"create"
,
"Please more be specific:"
,
"
\t
create aggregate
\n\t
create database
\n\t
create function
\n\t
create index
\n\t
create operator
\n\t
create rule
\n\t
create sequence
\n\t
create table
\n\t
create type
\n\t
create view"
},
"
\t
create aggregate
\n\t
create database
\n\t
create function
\n\t
create index
\n\t
create operator
\n\t
create rule
\n\t
create sequence
\n\t
create table
\n\t
create t
rigger
\n\t
create t
ype
\n\t
create view"
},
{
"create aggregate"
,
"define an aggregate function"
,
"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[] = {
"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];"
},
{
"create table"
,
"create a new table"
,
"create table <class_name> ( <attr1> <type1> [not null] [default <value>],...)
\n\t
[inherits (<class_name1>,...<class_nameN>)
\n\t
constraint <name> check (<test>) [,check (<test>)]
\n\t
archive=<archive_mode>
\n\t
store=<smgr_name>
\n\t
arch_store=<smgr_name>];"
},
"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\t
archive=<archive_mode>
\n\t
store=<smgr_name>
\n\t
arch_store=<smgr_name>];"
},
{
"create trigger"
,
"create a new trigger"
,
"create trigger <trigger_name> after|before event1 [or event2 [or event3] ]
\n\t
on <class_name> for each row|statement
\n\t
execute procedure <func_name> ([arguments]);
\n\n\t
eventX is one of INSERT, DELETE, UPDATE"
},
{
"create type"
,
"create a new user-defined base data type"
,
"create type <typename> (
\n\t
internallength = (<number> | variable),
\n\t
[externallength = (<number>|variable),]
\n\t
input=<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[] = {
{
"load"
,
"dynamically load a module"
,
"load <filename>;"
},
{
"move"
,
"move an cursor position"
,
"move [forward|backward] [<number>|all] [in <cursorname>];"
},
{
"notify"
,
"signal all frontends and backends listening on a relation"
,
"notify <class_name>"
},
...
...
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