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
2b788e0b
Commit
2b788e0b
authored
28 years ago
by
Vadim B. Mikheev
Browse files
Options
Downloads
Patches
Plain Diff
\h create/drop sequence.
parent
b259e454
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 @
2b788e0b
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: psqlHelp.h,v 1.1
0
1997/0
3/26 03:01
:2
9
vadim Exp $
* $Id: psqlHelp.h,v 1.1
1
1997/0
4/02 04:18
:2
6
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -52,7 +52,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 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 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>]);"
},
...
...
@@ -71,6 +71,9 @@ static struct _helpStruct QL_HELP[] = {
{
"create rule"
,
"define a new rule"
,
"create rule <rule_name> as on
\n\t
[select|update|delete|insert]
\n\t
to <object> [where <qual>]
\n\t
do [instead] [<action>|nothing| [<actions>]];"
},
{
"create sequence"
,
"create a new sequence number generator"
,
"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>,... <attrN> <typeN>)
\n\t
[inherits (<class_name1>,...<class_nameN>
\n\t
archive=<archive_mode>
\n\t
store=<smgr_name>
\n\t
arch_store=<smgr_name>];"
},
...
...
@@ -88,7 +91,7 @@ static struct _helpStruct QL_HELP[] = {
"delete from <class_name> [where <qual>];"
},
{
"drop"
,
"Please more be specific:"
,
"
\t
drop aggregate
\n\t
drop database
\n\t
drop function
\n\t
drop index
\n\t
drop operator
\n\t
drop rule
\n\t
drop table
\n\t
drop type
\n\t
drop view"
},
"
\t
drop aggregate
\n\t
drop database
\n\t
drop function
\n\t
drop index
\n\t
drop operator
\n\t
drop rule
\n\t
drop
sequence
\n\t
drop
table
\n\t
drop type
\n\t
drop view"
},
{
"drop aggregate"
,
"remove an aggregate function"
,
"drop aggregate <agg_name>;"
},
...
...
@@ -110,6 +113,9 @@ static struct _helpStruct QL_HELP[] = {
{
"drop table"
,
"remove a table"
,
"drop table <class_name>[,...<class_nameN];"
},
{
"drop sequence"
,
"remove a sequence number generator"
,
"drop sequence <sequence_name>[,...<sequence_nameN];"
},
{
"drop type"
,
"remove a user-defined base type"
,
"drop type <typename>;"
},
...
...
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