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
09e41a03
Commit
09e41a03
authored
Jun 02, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update man and psqlHelp for new SET GEQO=# option.
parent
290bef4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
12 deletions
+22
-12
src/bin/psql/psqlHelp.h
src/bin/psql/psqlHelp.h
+4
-4
src/man/set.l
src/man/set.l
+18
-8
No files found.
src/bin/psql/psqlHelp.h
View file @
09e41a03
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: psqlHelp.h,v 1.1
6 1997/06/01 04:53:44
momjian Exp $
* $Id: psqlHelp.h,v 1.1
7 1997/06/02 14:12:28
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -154,7 +154,7 @@ static struct _helpStruct QL_HELP[] = {
...
@@ -154,7 +154,7 @@ static struct _helpStruct QL_HELP[] = {
"purge <class_name> [before <abstime>] [after <reltime>];"
},
"purge <class_name> [before <abstime>] [after <reltime>];"
},
{
"reset"
,
{
"reset"
,
"set run-time environment back to default"
,
"set run-time environment back to default"
,
"reset {DateStyle | GEQO}"
},
"reset {DateStyle | GEQO
| R_PLANS
}"
},
{
"revoke"
,
{
"revoke"
,
"revoke access control from a user or group"
,
"revoke access control from a user or group"
,
"revoke <privilege[,privilege,...]> on <rel1>[,...<reln>] from
\n
[public | group <group> | <username>]
\n\t
privilege is {ALL | SELECT | INSERT | UPDATE | DELETE | RULE}"
},
"revoke <privilege[,privilege,...]> on <rel1>[,...<reln>] from
\n
[public | group <group> | <username>]
\n\t
privilege is {ALL | SELECT | INSERT | UPDATE | DELETE | RULE}"
},
...
@@ -166,10 +166,10 @@ static struct _helpStruct QL_HELP[] = {
...
@@ -166,10 +166,10 @@ static struct _helpStruct QL_HELP[] = {
"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]];"
},
"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]];"
},
{
"set"
,
{
"set"
,
"set run-time environment"
,
"set run-time environment"
,
"set DateStyle {ISO | SQL | Postgres | European | US | NonEuropean}
\n
set GEQO = {ON | OFF}
\n
set R_PLANS {ON | OFF}"
},
"set DateStyle {ISO | SQL | Postgres | European | US | NonEuropean}
\n
set GEQO = {ON
[=#]
| OFF}
\n
set R_PLANS {ON | OFF}"
},
{
"show"
,
{
"show"
,
"show current run-time environment"
,
"show current run-time environment"
,
"show {DateStyle | GEQO}"
},
"show {DateStyle | GEQO
| R_PLANS
}"
},
{
"update"
,
{
"update"
,
"update tuples"
,
"update tuples"
,
"update <class_name> set <attr1>=<expr1>,...<attrN>=<exprN> [from <from_clause>] [where <qual>];"
},
"update <class_name> set <attr1>=<expr1>,...<attrN>=<exprN> [from <from_clause>] [where <qual>];"
},
...
...
src/man/set.l
View file @
09e41a03
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.
2 1997/06/01 04:23:12
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.
3 1997/06/02 14:12:40
momjian Exp $
.TH SET SQL 05/14/97 PostgreSQL PostgreSQL
.TH SET SQL 05/14/97 PostgreSQL PostgreSQL
.SH NAME
.SH NAME
set \(em set run-time parameters for session
set \(em set run-time parameters for session
...
@@ -28,11 +28,13 @@ See
...
@@ -28,11 +28,13 @@ See
.IR "built-in" (3)
.IR "built-in" (3)
for more information on available styles.
for more information on available styles.
.ce 1
\fBDateStyle Values\fR
.if n .ta 5 +15 +40
.if n .ta 5 +15 +40
.if t .ta 0.5i +1.5i +3.0i
.if t .ta 0.5i +1.5i +3.0i
.in 0
.in 0
.nf
.nf
DateStyle
ISO - use ISO 8601-style dates and times
ISO - use ISO 8601-style dates and times
SQL - use Oracle/Ingres-style dates and times
SQL - use Oracle/Ingres-style dates and times
Postgres - use traditional Postgres format
Postgres - use traditional Postgres format
...
@@ -45,17 +47,21 @@ DateStyle
...
@@ -45,17 +47,21 @@ DateStyle
.IR GEQO
.IR GEQO
enables or disables the genetic optimizer algorithm. This algorithm is
enables or disables the genetic optimizer algorithm. This algorithm is
.IR on
.IR on
by default. See the GEQO README for more information.
by default, which used GEQO for statements of six or more tables.
See the GEQO README for more information.
.ce 1
\fBGEQO Values\fR
.if n .ta 5 +15 +40
.if n .ta 5 +15 +40
.if t .ta 0.5i +1.5i +3.0i
.if t .ta 0.5i +1.5i +3.0i
.in 0
.in 0
.nf
.nf
GEQO
on - use for statements with 6 or more tables
on
- turn the genetic optimizer 'on'
on
=10 - use for statements with 10 or more tables
off - d
uh
off - d
o not use the genetic optimizer
.fi
.fi
The default is on.
.PP
.PP
.IR R_PLANS
.IR R_PLANS
enables or disables right-hand evaluation of plans. This algorithm is
enables or disables right-hand evaluation of plans. This algorithm is
...
@@ -68,7 +74,7 @@ by default.
...
@@ -68,7 +74,7 @@ by default.
.nf
.nf
R_PLANS
R_PLANS
on - turn right-hand plan evaluation 'on'
on - turn right-hand plan evaluation 'on'
off - d
uh
off - d
o not use right-hand plan evaluation
.fi
.fi
.SH EXAMPLES
.SH EXAMPLES
...
@@ -88,6 +94,10 @@ set DateStyle to 'SQL,European'
...
@@ -88,6 +94,10 @@ set DateStyle to 'SQL,European'
.PP
.PP
.nf
.nf
--
--
--Use GEQO for statements with 4 or more tables
--
set GEQO to on=4
--
--Turn off the genetic optimizer
--Turn off the genetic optimizer
--
--
set GEQO to 'off'
set GEQO to 'off'
...
...
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