Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
953e9e2b
Commit
953e9e2b
authored
27 years ago
by
Vadim B. Mikheev
Browse files
Options
Downloads
Patches
Plain Diff
+ MOVE
+ CREATE TRIGGER Little changes for create table.
parent
abb0e707
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/bin/psql/psqlHelp.h
+9
-3
9 additions, 3 deletions
src/bin/psql/psqlHelp.h
with
9 additions
and
3 deletions
src/bin/psql/psqlHelp.h
+
9
−
3
View file @
953e9e2b
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psqlHelp.h,v 1.
29
1997/10/0
1
1
9:42:53 momjian
Exp $
* $Id: psqlHelp.h,v 1.
30
1997/10/0
2
1
3: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
trigger
\n\t
create
type
\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>"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment