Add reference pages on user interface applications.
authorThomas G. Lockhart
Thu, 20 May 1999 05:40:27 +0000 (05:40 +0000)
committerThomas G. Lockhart
Thu, 20 May 1999 05:40:27 +0000 (05:40 +0000)
doc/src/sgml/ref/allfiles.sgml
doc/src/sgml/ref/commands.sgml
doc/src/sgml/ref/lock.sgml
doc/src/sgml/ref/pgaccess-ref.sgml [new file with mode: 0644]
doc/src/sgml/ref/pgadmin-ref.sgml [new file with mode: 0644]
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/set.sgml

index dabbedf5fc56d3ee78e047dae296d4f3bf1e8ae9..385224a934fce897db41246bdab7f4f7746a87f6 100644 (file)
@@ -62,7 +62,7 @@
 
 
 
-               system "copy.sgml">
+Table          system "copy.sgml">
 
 
 
 
 
 
-
-
+
+
+
+
 
 
 
index 005dbb4d6a9e709bd236467f608c75a9bf662b34..770c3a20543323c60e9b8f7682c7386d50ed4ab0 100644 (file)
@@ -1,67 +1,69 @@
-
-SQL Commands
+ 
+  SQL Commands
 
-
-This is reference information for the SQL
-commands supported by Postgres.
-
+  
+   
+    This is reference information for the SQL
+    commands supported by Postgres.
+   
+  
 
-&abort;
-&alterTable;
-&alterUser;
-&begin;
-&close;
-&cluster;
-&commit;
-©;
-&createAggregate;
-&createDatabase;
-&createFunction;
-&createIndex;
-&createLanguage;
-&createOperator;
-&createRule;
-&createSequence;
-&createTable;
-&createTrigger;
-&createType;
-&createUser;
-&createView;
-&declare;
-&delete;
-&dropAggregate;
-&dropDatabase;
-&dropFunction;
-&dropIndex;
-&dropLanguage;
-&dropOperator;
-&dropRule;
-&dropSequence;
-&dropTable;
-&dropTrigger;
-&dropType
-&dropUser;
-&dropView;
-&explain;
-&fetch;
-&grant;
-&insert;
-&listen;
-&load;
-&lock;
-&move;
-¬ify;
-&reset;
-&revoke;
-&rollback;
-&select;
-&set;
-&show;
-&unlisten;
-&update;
-&vacuum;
-
-
+   &abort;
+   &alterTable;
+   &alterUser;
+   &begin;
+   &close;
+   &cluster;
+   &commit;
+   ©Table;
+   &createAggregate;
+   &createDatabase;
+   &createFunction;
+   &createIndex;
+   &createLanguage;
+   &createOperator;
+   &createRule;
+   &createSequence;
+   &createTable;
+   &createTrigger;
+   &createType;
+   &createUser;
+   &createView;
+   &declare;
+   &delete;
+   &dropAggregate;
+   &dropDatabase;
+   &dropFunction;
+   &dropIndex;
+   &dropLanguage;
+   &dropOperator;
+   &dropRule;
+   &dropSequence;
+   &dropTable;
+   &dropTrigger;
+   &dropType
+   &dropUser;
+   &dropView;
+   &explain;
+   &fetch;
+   &grant;
+   &insert;
+   &listen;
+   &load;
+   &lock;
+   &move;
+   ¬ify;
+   &reset;
+   &revoke;
+   &rollback;
+   &select;
+   &set;
+   &show;
+   &unlisten;
+   &update;
+   &vacuum;
+  
+ 
 
 
 
-
-Utility Applications
+ 
+  Utility Applications
 
-
-This is reference information for the 
-Postgres support utilities.
-
+  
+   
+    This is reference information for the 
+    Postgres support utilities.
+   
+  
 
-&createdb;
-&createuser;
-&destroydb;
-&destroyuser;
-&initdb;
-&initlocation;
-&pgDump;
-&pgDumpall;
-&psqlRef;
-&vacuumdb;
+   &createdb;
+   &createuser;
+   &destroydb;
+   &destroyuser;
+   &initdb;
+   &initlocation;
+   &pgAccess;
+   &pgAdmin;
+   &pgDump;
+   &pgDumpall;
+   &psqlRef;
+   &vacuumdb;
 
-
+ 
 
 
diff --git a/doc/src/sgml/ref/pgaccess-ref.sgml b/doc/src/sgml/ref/pgaccess-ref.sgml
new file mode 100644 (file)
index 0000000..ec9b9a1
--- /dev/null
@@ -0,0 +1,74 @@
+
+  
+   pgaccess
+  
+  Application
+  
+   pgaccess
+  
+  
+   Postgres graphical interactive client
+  
+  
+   1999-05-19
+  
+  
+pgaccess [ dbname ]
+  
+
+  
+   
+    1999-05-19
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
+   
+  
+
+  
+   
+    1999-05-19
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+   
+  
+
+  
+   1999-05-19
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+  
+
+
+
diff --git a/doc/src/sgml/ref/pgadmin-ref.sgml b/doc/src/sgml/ref/pgadmin-ref.sgml
new file mode 100644 (file)
index 0000000..476923a
--- /dev/null
@@ -0,0 +1,74 @@
+
+  
+   pgadmin
+  
+  Application
+  
+   pgadmin
+  
+  
+   Postgres graphical interactive client
+  
+  
+   1999-05-19
+  
+  
+pgadmin [ dbname ]
+  
+
+  
+   
+    1999-05-19
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
+   
+  
+
+  
+   
+    1999-05-19
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+   
+  
+
+  
+   1999-05-19
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+  
+
+
+
index 96860281f9468ce76b668f2b55bc9e2d1a9a53f6..454e4c0ec4fac7de90e6129c20eb9f3cf2c1c116 100644 (file)
 
-
-
-psql
-
-Application
-
-
-
-psql
-
-
-Postgres interactive client
-
 
-
-
-1998-09-26
-
-
+ 
+  
+   psql
+  
+  Application
+ 
+ 
+  
+   psql
+  
+  
+   Postgres interactive client
+  
+ 
+  
+   1998-09-26
+  
+  
 psql [ dbname ]
 psql -A [ -c query ] [ -d dbname ]
     -e -E [ -f filename ] [ -F separator ] [ -h hostname ] -Hln
     [ -o filename ] [ -p port ] -qsSt ] [ -T table_options ] -ux [ dbname ]
-
-
-    
-      
-   1998-09-26
-      
-      </div> <div class="diff rem">-   Inputs</div> <div class="diff rem">-      
-      
-   psql accepts many command-line arguments,
-   a rich set of meta-commands, and the full SQL language
-   supported by Postgres. The most common
-   command-line arguments are:
-   
-   
-     
-       
-         dbname
-       
-       
-         
-       The name of an existing database to access.
-       dbname
-       defaults to the value of the
-       USER
-       environment variable or, if that's not set, to the Unix account name of the
-       current user.
-       
-         
-       
-     
+  
+
+  
+   
+    1998-09-26
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
+    psql accepts many command-line arguments,
+    a rich set of meta-commands, and the full SQL language
+    supported by Postgres. The most common
+    command-line arguments are:
+
+    
+     
+      
+       dbname
+      
+      
+       
+   The name of an existing database to access.
+   dbname
+   defaults to the value of the
+   USER
+   environment variable or, if that's not set, to the Unix account name of the
+   current user.
+       
+      
+     
+
+     
+      
+       -c query
+      
+      
+       
+   A single query to run. psql will exit on completion.
+       
+      
+     
      
-     
-       
-         -c query
-       
-       
-         
-       A single query to run. psql will exit on completion.
-         
-       
-     
+    
+   
+   
+    The full set of command-line arguments and meta-commands are described in a subsequent
+    section.
+   
+   
+    There are some environment variables which can be used in liu of
+    command line arguments. 
+    Additionally, the Postgres frontend library used by 
+    the psql application
+    looks for other optional environment variables to configure, for example,
+    the style of date/time representation and the local time zone. Refer
+    to the chapter on libpq in the
+    Programmer's Guide for more details.
+   
+   
+    You may set any of the following environment variables to avoid
+    specifying command-line options:
+   
+    
+     
+      
+       PGHOST
+      
+      
+       
+   The DNS host name of the database server.
+   Setting PGHOST to a non-zero-length string causes
+   TCP/IP communication
+   to be used, rather than the default local Unix domain sockets.
+       
+      
+     
+
+     
+      
+       PGPORT
+      
+      
+       
+   The port number on which a Postgres server is listening.
+   Defaults to 5432.
+       
+      
+     
+
+     
+      
+       PGTTY
+      
+      
+       
+   The target for display of messages from the client support library.
+   Not required.
+       
+      
+     
+
+     
+      
+       PGOPTION
+      
+      
+       
+   If PGOPTION
+   is specified, then the options it contains are parsed
+   before
+   any command-line options.
+       
+      
+     
+
+     
+      
+       PGREALM
+      
+      
+       
+   PGREALM
+   only applies if
+   Kerberos
+   authentication is in use.  
+   If this environment variable is set, Postgres
+   will attempt authentication with servers for this realm and will use
+   separate ticket files to avoid conflicts with local ticket files.
+   See the PostgreSQL Administrator's Guide
+   for additional information on
+   Kerberos.
+       
+      
+     
+    
+   
+  
+
+  
+   
+    1998-09-26
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+    psql
+    returns 0 to the shell on successful completion of all queries,
+    1 for errors, 2 for abrupt disconnection from the backend.
+    The default TAB delimiter is used.
+    psql
+    will also return 1 if the connection to a database could not be made for
+    any reason.
+   
+  
+
+  
+   1998-09-26
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+   psql is a character-based front-end to 
+   Postgres.
+   It enables you to
+   type in queries interactively, issue them to Postgres
+   and see the query
+   results.
+  
+  
+   psql
+   is a Postgres client application.  Hence, a
+   postmaster process
+   must be running on the database server host before
+   psql
+   is executed.  In addition, the correct parameters to identify
+   the database server, such as the
+   postmaster host name,
+   may need to be specified
+   as described below.
+  
+  
+   When
+   psql
+   starts, it reads SQL commands from
+   /etc/psqlrc
+   and then from
+   $(HOME)/.psqlrc
+   This allows SQL commands like
+   SET
+   which can be used to set the date style to be run at the start of
+   every session.
+  
+
+  
+   
+    1998-09-26
+   
+   </div> <div class="diff add">+    Connecting To A Database</div> <div class="diff add">+   
+   
+    psql
+    attempts to make a connection to the database at the hostname and
+    port number specified on the command line.   If the connection could not
+    be made for any reason (e.g. insufficient privileges, postmaster is not
+    running on the server, etc)
+    .IR psql
+    will return an error that says
+    
+     Connection to database failed.
+    
+    The reason for the connection failure is not provided.
+   
+  
+
+  
+   
+    1998-09-26
+   
+   </div> <div class="diff add">+    Entering Queries</div> <div class="diff add">+   
+   
+    In normal operation, 
+    psql provides a prompt with the name of the
+    database that psql is current connected to 
+    followed by the string "=>".
+    For example,
+    
+$ psql testdb
+Welcome to the POSTGRESQL interactive sql monitor:
+  Please read the file COPYRIGHT for copyright terms of POSTGRESQL
+[PostgreSQL 6.5.0 on i686-pc-linux-gnu, compiled by gcc 2.7.2.3]
+
+   type \? for help on slash commands
+   type \q to quit
+   type \g or terminate with semicolon to execute query
+ You are currently connected to the database: testdb
      
-   
+testdb=>
+    
+   
+   
+    At the prompt, the user may type in SQL queries.  
+    Unless the -S option
+    is set, input lines are sent to the backend when a query-terminating
+    semicolon is reached.
+   
+   
+    Whenever a query is executed, 
+    psql also polls for asynchronous notification
+    events generated by LISTEN and NOTIFY.
+   
+   
+    psql
+    can be used in a pipe sequence, and automatically detects when it
+    is not listening or talking to a real tty.
+   
+  
+
+  
+   Paging To Screen
+
+   
+    Author
+    
+     From Brett McCormick on the mailing list 1998-04-04.
+    
+   
+
+   
+    To affect the paging behavior of your psql output,
+    set or unset your PAGER environment variable.  I always have to set mine
+    before it will pause.  And of course you have to do this before
+    starting the program.
+   
+
+   
+    In csh/tcsh or other C shells:
+
+    
+% unsetenv PAGER
+    
+
+    while in sh/bash or other Bourne shells:
+
+    
+% unset PAGER
+    
+   
+  
+
+  
+   1998-09-26
+  
+  </div> <div class="diff add">+   Command-line Options</div> <div class="diff add">+  
+  
+   psql
+   understands the following command-line options:
+
+   
+    
+     
+      -A
+     
+     
+      
+       Turn off fill justification when printing out table elements.
       
-      
-   The full set of command-line arguments and meta-commands are described in a subsequent
-   section.
+     
+    
+   
+    
+     
+      -c query
+     
+     
+      
+       Specifies that
+       psql
+       is to execute one query string,
+       query,
+       and then exit.  This is useful for shell scripts, typically in
+       conjunction with the  option in shell scripts.
       
-      
-   There are some environment variables which can be used in liu of
-   command line arguments. 
-   Additionally, the Postgres frontend library used by 
-   the psql application
-   looks for other optional environment variables to configure, for example,
-   the style of date/time representation and the local time zone. Refer
-   to the chapter on libpq in the
-   Programmer's Guide for more details.
+     
+    
+
+    
+     
+      -d dbname
+     
+     
+      
+       Specifies the name of the database to connect to. This is equivalent to specifying
+       dbname as the last field in the
+       command line.
       
-      
-   You may set any of the following environment variables to avoid
-   specifying command-line options:
-   
-   
-     
-       
-         PGHOST
-       
-       
-         
-       The DNS host name of the database server.
-       Setting PGHOST to a non-zero-length string causes
-       TCP/IP communication
-       to be used, rather than the default local Unix domain sockets.
-         
-       
-     
-     
-     
-       
-         PGPORT
-       
-       
-         
-       The port number on which a Postgres server is listening.
-       Defaults to 5432.
-         
-       
-     
-     
-     
-       
-         PGTTY
-       
-       
-         
-       The target for display of messages from the client support library.
-       Not required.
-         
-       
-     
-
-     
-       
-         PGOPTION
-       
-       
-         
-       If PGOPTION
-       is specified, then the options it contains are parsed
-       before
-       any command-line options.
-         
-       
-     
-     
-     
-       
-         PGREALM
-       
-       
-         
-       PGREALM
-       only applies if
-       Kerberos
-       authentication is in use.  
-       If this environment variable is set, Postgres
-       will attempt authentication with servers for this realm and will use
-       separate ticket files to avoid conflicts with local ticket files.
-       See the PostgreSQL Administrator's Guide
-       for additional information on
-       Kerberos.
-         
-       
-     
-   
+     
+    
+
+    
+     
+      -e
+     
+     
+      
+       Echo the query sent to the backend
       
-    
-
-    
-      
-   1998-09-26
-      
-      </div> <div class="diff rem">-   Outputs</div> <div class="diff rem">-      
+     
+    
+
+    
+     
+      -E
+     
+     
       
-   
-   psql
-   returns 0 to the shell on successful completion of all queries,
-   1 for errors, 2 for abrupt disconnection from the backend.
-   The default TAB delimiter is used.
-   psql
-   will also return 1 if the connection to a database could not be made for
-   any reason.
+       Echo the actual query generated by \d and other backslash commands
       
-    
-  
-  
-  
-    
-      1998-09-26
-    
-    </div> <div class="diff rem">-      Description</div> <div class="diff rem">-    
-    
-      psql is a character-based front-end to 
-      Postgres.
-      It enables you to
-      type in queries interactively, issue them to Postgres
-      and see the query
-      results.
-    
-    
-      psql
-      is a Postgres client application.  Hence, a
-      postmaster process
-      must be running on the database server host before
-      psql
-      is executed.  In addition, the correct parameters to identify
-      the database server, such as the
-      postmaster host name,
-      may need to be specified
-      as described below.
-    
-    
-      When
-      psql
-      starts, it reads SQL commands from
-      /etc/psqlrc
-      and then from
-      $(HOME)/.psqlrc
-      This allows SQL commands like
-      SET
-      which can be used to set the date style to be run at the start of
-      every session.
-    
-
-    
-      
-   1998-09-26
-      
-      </div> <div class="diff rem">-   Connecting To A Database</div> <div class="diff rem">-      
-      
-   psql
-   attempts to make a connection to the database at the hostname and
-   port number specified on the command line.   If the connection could not
-   be made for any reason (e.g. insufficient privileges, postmaster is not
-   running on the server, etc)
-   .IR psql
-   will return an error that says
-   
-     Connection to database failed.
-   
-   The reason for the connection failure is not provided.
+     
+    
+
+    
+     
+      -f filename
+     
+     
+      
+       Use the file filename
+       as the source of queries instead of reading queries interactively.
+       This file must be specified for and visible to the client frontend.
       
-    
-
-    
-      
-   1998-09-26
-      
-      </div> <div class="diff rem">-   Entering Queries</div> <div class="diff rem">-      
-      
-   In normal operation, 
-   psql provides a prompt with the name of the
-   database that psql is current connected to 
-   followed by the string "=>".
-   For example,
-   
-     $ psql testdb
-     Welcome to the POSTGRESQL interactive sql monitor:
-     Please read the file COPYRIGHT for copyright terms of POSTGRESQL
-     
-     type \e? for help on slash commands
-     type \eq to quit
-     type \eg or terminate with semicolon to execute query
-     You are currently connected to the database: testdb
-     
-     testdb=>
-   
+     
+    
+
+    
+     
+      -F separator
+     
+     
+      
+       Use separator
+       as the field separator.
+       The default is an ASCII vertical bar ("|").
       
-      
-   At the prompt, the user may type in SQL queries.  
-   Unless the -S option
-   is set, input lines are sent to the backend when a query-terminating
-   semicolon is reached.
+     
+    
+
+    
+     
+      -h hostname
+     
+     
+      
+       Specifies the host name of the machine on which the
+       postmaster
+       is running.
+       Without this option, communication is performed using
+       local Unix domain sockets.
       
-      
-   Whenever a query is executed, 
-   psql also polls for asynchronous notification
-   events generated by LISTEN and NOTIFY.
+     
+    
+
+    
+     
+      -H
+     
+     
+      
+       Turns on
+       HTML 3.0
+       tabular output.
       
-      
-   psql
-   can be used in a pipe sequence, and automatically detects when it
-   is not listening or talking to a real tty.
+     
+    
+
+    
+     
+      -l
+     
+     
+      
+       Lists all available databases, then exit. Other non-connection options are ignored.
       
-    
-  
-
-  
-    
-      1998-09-26
-    
-    </div> <div class="diff rem">-      Command-line Options</div> <div class="diff rem">-    
-    
-      psql
-      understands the following command-line options:
-
-      
-   
-     
-       -A
-     
-     
-       
-         Turn off fill justification when printing out table elements.
-       
-     
-   
-   
-   
-     
-       -c query
-     
-     
-       
-         Specifies that
-         psql
-         is to execute one query string,
-         query,
-         and then exit.  This is useful for shell scripts, typically in
-         conjunction with the  option in shell scripts.
-       
-     
-   
-   
-   
-     
-       -d dbname
-     
-     
-       
-         Specifies the name of the database to connect to. This is equivalent to specifying
-         dbname as the last field in the
-         command line.
-       
-     
-   
-   
-   
-     
-       -e
-     
-     
-       
-         Echo the query sent to the backend
-       
-     
-   
-
-   
-     
-       -E
-     
-     
-       
-         Echo the actual query generated by \d and other backslash commands
-       
-     
-   
-
-   
-     
-       -f filename
-     
-     
-       
-         Use the file filename
-         as the source of queries instead of reading queries interactively.
-         This file must be specified for and visible to the client frontend.
-       
-     
-   
-   
-   
-     
-       -F separator
-     
-     
-       
-         Use separator
-         as the field separator.
-         The default is an ASCII vertical bar ("|").
-       
-     
-   
-
-   
-     
-       -h hostname
-     
-     
-       
-         Specifies the host name of the machine on which the
-         postmaster
-         is running.
-         Without this option, communication is performed using
-         local Unix domain sockets.
-       
-     
-   
-   
-   
-     
-       -H
-     
-     
-       
-         Turns on
-         HTML 3.0
-         tabular output.
-       
-     
-   
-   
-   
-     
-       -l
-     
-     
-       
-         Lists all available databases, then exit. Other non-connection options are ignored.
-       
-     
-   
-   
-   
-     
-       -n
-     
-     
-       
-         Do not use the readline library for input line editing and command history.
-       
-     
-   
-   
-   
-     
-       -o filename
-     
-     
-       
-         Put all output into file filename.
-         The path must be writable by the client.
-       
-     
-   
-   
-   
-     
-       -p port
-     
-     
-       
-         Specifies the TCP/IP port or, by omission, the local Unix domain socket file
-         extension on which the
-         postmaster
-         is listening for connections.  Defaults to the value of the
-         PGPORT
-         environment variable, if set, or to 5432.
-       
-     
-   
-   
-   
-     
-       -q
-     
-     
-       
-         Specifies that
-         psql
-         should do its work quietly.  By default, it
-         prints welcome and exit messages and prompts for each query, and prints
-         out the number of rows returned from a query.
-         If this option is used, none of this happens. This is useful with the
-          option.
-       
-     
-   
-   
-   
-     
-       -s
-     
-     
-       
-         Run in single-step mode where the user is prompted for each query before
-         it is sent to the backend.
-       
-     
-   
-   
-   
-     
-       -S
-     
-     
-       
-         Runs in single-line mode where each query is terminated by a newline,
-         instead of a semicolon.
-       
-     
-   
-   
-   
-     
-       -t
-     
-     
-       
-         Turn off printing of column names.
-         This is useful with the
-         
-         option in shell scripts.
-       
-     
-   
-   
-   
-     
-       -T table_options
-     
-     
-       
-         Allows you to specify options to be placed within the
-         table ... tag for HTML 3.0
-         tabular output.For example, border
-         will give you tables with borders.
-         This must be used in conjunction with the  option.
-       
-     
-   
-   
-   
-     
-       -u
-     
-     
-       
-         Asks the user for the user name and password before connecting to the database.
-         If the database does not require password authentication then these are
-         ignored.  If the option is not used (and the PGPASSWORD environment variable
-         is not set) and the database requires password authentication, then the
-         connection will fail.  The user name is ignored anyway.
-       
-     
-   
-
-   
-     
-       -x
-     
-     
-       
-         Turns on extended row format mode. When enabled each row will have its column
-         names printed on the left with the column values printed on the right.
-         This is useful for rows which are otherwise too long to fit into
-         one screen line. HTML row output supports this mode also.
-       
-     
-   
-      
-    
-    
-      You may set environment variables to avoid typing some of the above
-      options.  See the section on environment variables below.
-    
-  
-
-  
-    
-      1998-09-26
-    
-    </div> <div class="diff rem">-      <application>psql</application> Meta-Commands</div> <div class="diff rem">-    
-    
-      Anything you enter in psql 
-      that begins with an unquoted backslash is a psql
-      meta-command.  Anything else is SQL
-      and simply goes into the current query buffer
-      (and once you have at least one complete query, it gets automatically 
-      submitted to the backend).  
-      psql meta-commands are also called slash commands.
-    
-    
-      The format of a psql command is the backslash, 
-      followed immediately by
-      a command verb, then any arguments.  The arguments are separated from the
-      command verb and each other by any number of white space characters.
-    
-    
-      With single character command verbs, you don't actually need to separate the
-      command verb from the argument with white space, for historical reasons.
-      You should anyway.
-    
-    
-      The following meta-commands are defined:
-
-      
-   
-     
-       \a
-     
-     
-       
-         Toggle field alignment when printing out table elements.
-       
-     
-   
-
-   
-     
-       \C caption
-     
-     
-       
-         Set the HTML3.0 table caption to 
-         caption.
-       
-     
-   
-
-   
-     
-       \connect dbname [ username ]
-     
-     
-       
-         Establish a connection to a new database, using the default 
-         username if none is specified.
-         The previous connection is closed.
-       
-     
-   
-
-   
-     
-       \copy dbname { FROM | TO } filename
-     
-     
-       
-         Perform a frontend (client) copy.  This is an operation that runs a SQL COPY command,
-         but instead of the backend reading or writing the specified file, and 
-         consequently requiring backend access and special user privilege, 
-         psql reads or writes the 
-         file and routes the data to or from the backend.  The default tab
-         delimiter is used.
-       
-       
-         
-       This operation is not as efficient as the SQL 
-       COPY command because all data must pass through the
-       client/server IP or socket connection. For large amounts of data this other
-       technique may be preferable.
-         
-       
-     
-   
-
-   
-     
-       \d [ table ]
-     
-     
-       
-         List tables in the database, or if table
-         is specified, list the columns in that table.
-         If table name is specified as an asterisk (*),
-         list all tables and column information for each tables.
-       
-     
-   
-
-   
-     
-       \da
-     
-     
-       
-         List all available aggregates.
-       
-     
-   
-
-   
-     
-       \dd object
-     
-     
-       
-         List the description from pg_description
-         of the specified object, which can be a
-         table, table.column, type, operator, or aggregate.
-       
-       
-         
-       Not all objects have a description in pg_description.
-       This meta-command can be useful to get a quick description of a native
-       Postgres feature.
-         
-       
-     
-   
-
-   
-     
-       \df
-     
-     
-       
-         List functions.
-       
-     
-   
-
-   
-     
-       \di
-     
-     
-       
-         List only indexes.
-       
-     
-   
-
-   
-     
-       \do
-     
-     
-       
-         List only operators.
-       
-     
-   
-
-   
-     
-       \ds
-     
-     
-       
-         List only sequences.
-       
-     
-   
-   
-   
-     
-       \dS
-     
-     
-       
-         List system tables and indexes.
-       
-     
-   
-   
-   
-     
-       \dt
-     
-     
-       
-         List only non-system tables.
-       
-     
-   
-
-   
-     
-       \dT
-     
-     
-       
-         List types.
-       
-     
-   
-
-   
-     
-       \e [ filename ]
-     
-     
-       
-         Edit the current query buffer or the contents of the file
-         filename.
-       
-     
-   
-
-   
-     
-       \E [ filename ]
-     
-     
-       
-         Edit the current query buffer or the contents of the file
-         filename
-         and execute it upon editor exit.
-       
-     
-   
-
-   
-     
-       \f [ separator ]
-     
-     
-       
-         Set the field separator.  Default is a single blank space.
-       
-     
-   
-
-   
-     
-       \g [ { filename | |command } ]
-     
-     
-       
-         Send the current query input buffer to the backend and optionally
-         save the output in filename
-         or pipe the output into a separate Unix shell to execute
-         command.
-       
-     
-   
-
-   
-     
-       \h [ command ]
-     
-     
-       
-         Give syntax help on the specified SQL command.  
-         If command is not a defined SQL command
-         (or is not documented in psql), or if
-         command is not specified,
-         then psql will 
-         list all the commands for which syntax help is
-         available.  If command
-         is an asterisk (*), then
-         give syntax help on all SQL commands.
-       
-     
-   
-
-   
-     
-       \H
-     
-     
-       
-         Toggle HTML3 output. This is equivalent to the 
-         command-line option.
-       
-     
-   
-
-   
-     
-       \i filename
-     
-     
-       
-         Read queries from the file filename
-         into the query input buffer.
-       
-     
-   
-   
-   
-     
-       \l
-     
-     
-       
-         List all the databases in the server.
-       
-     
-   
-   
-   
-     
-       \m
-     
-     
-       
-         Toggle the old monitor-like table display, which includes border characters
-         surrounding the table.
-         This is standard SQL output.
-         By default, psql includes only field separators
-         between columns.
-       
-     
-   
-
-   
-     
-       \o [ { filename | |command } ]
-     
-     
-       
-         Save future query results to the file
-         filename or pipe future
-         results into a separate Unix shell to execute
-         command.
-         If no arguments are specified, send query results to
-         stdout.
-       
-     
-   
-
-   
-     
-       \p
-     
-     
-       
-         Print the current query buffer.
-       
-     
-   
-
-   
-     
-       \q
-     
-     
-       
-         Quit the psql program.
-       
-     
-   
-
-   
-     
-       \r
-     
-     
-       
-         Reset(clear) the query buffer.
-       
-     
-   
-   
-   
-     
-       \s [ filename ]
-     
-     
-       
-         Print or save the command line history to 
-         filename.
-         If filename is omitted,
-         do not save subsequent commands to a history file.
-         This option is only available if psql is
-         configured to use readline.
-       
-     
-   
-   
-   
-     
-       \t
-     
-     
-       
-         Toggle display of output column name headings and row count footer (defaults to on).
-       
-     
-   
-   
-   
-     
-       \T table_options
-     
-     
-       
-         Allows you to specify options to be placed within the
-         table ... tag
-         for HTML 3.0
-         tabular output.For example, border
-         will give you tables with borders.
-         This must be used in conjunction with the \H meta-command.
-       
-     
-   
-
-   
-     
-       \x
-     
-     
-       
-         Toggles extended row format mode. When enabled each row will have its column
-         names printed on the left with the column values printed on the right.
-         This is useful for rows which are otherwise too long to fit into
-         one screen line. HTML row output mode supports this flag too.
-       
-     
-   
-
-   
-     
-       \w filename
-     
-     
-       
-         Outputs the current query buffer to the file
-         filename.
-       
-     
-   
-   
-   
-     
-       \z
-     
-     
-       
-         Produces a list of all tables in the database with their appropriate ACLs
-         (grant/revoke permissions) listed.
-       
-     
-   
-
-   
-     
-       \! [ command ]
-     
-     
-       
-         Escape to a separate Unix shell or execute the Unix command
-         command.
-       
-     
-   
-
-   
-     
-       \?
-     
-     
-       
-         Get help information about the slash (\) commands.
-       
-     
-   
-      
-    
-  
+     
+    
+
+    
+     
+      -n
+     
+     
+      
+       Do not use the readline library for input line editing and command history.
+      
+     
+    
+
+    
+     
+      -o filename
+     
+     
+      
+       Put all output into file filename.
+       The path must be writable by the client.
+      
+     
+    
+
+    
+     
+      -p port
+     
+     
+      
+       Specifies the TCP/IP port or, by omission, the local Unix domain socket file
+       extension on which the
+       postmaster
+       is listening for connections.  Defaults to the value of the
+       PGPORT
+       environment variable, if set, or to 5432.
+      
+     
+    
+
+    
+     
+      -q
+     
+     
+      
+       Specifies that
+       psql
+       should do its work quietly.  By default, it
+       prints welcome and exit messages and prompts for each query, and prints
+       out the number of rows returned from a query.
+       If this option is used, none of this happens. This is useful with the
+        option.
+      
+     
+    
+
+    
+     
+      -s
+     
+     
+      
+       Run in single-step mode where the user is prompted for each query before
+       it is sent to the backend.
+      
+     
+    
+
+    
+     
+      -S
+     
+     
+      
+       Runs in single-line mode where each query is terminated by a newline,
+       instead of a semicolon.
+      
+     
+    
+
+    
+     
+      -t
+     
+     
+      
+       Turn off printing of column names.
+       This is useful with the
+       
+       option in shell scripts.
+      
+     
+    
+
+    
+     
+      -T table_options
+     
+     
+      
+       Allows you to specify options to be placed within the
+       table ... tag for HTML 3.0
+       tabular output.For example, border
+       will give you tables with borders.
+       This must be used in conjunction with the  option.
+      
+     
+    
+
+    
+     
+      -u
+     
+     
+      
+       Asks the user for the user name and password before connecting to the database.
+       If the database does not require password authentication then these are
+       ignored.  If the option is not used (and the PGPASSWORD environment variable
+       is not set) and the database requires password authentication, then the
+       connection will fail.  The user name is ignored anyway.
+      
+     
+    
+
+    
+     
+      -x
+     
+     
+      
+       Turns on extended row format mode. When enabled each row will have its column
+       names printed on the left with the column values printed on the right.
+       This is useful for rows which are otherwise too long to fit into
+       one screen line. HTML row output supports this mode also.
+      
+     
+    
+   
+  
+  
+   You may set environment variables to avoid typing some of the above
+   options.  See the section on environment variables below.
+  
+
+  
+   1998-09-26
+  
+  </div> <div class="diff add">+   <application>psql</application> Meta-Commands</div> <div class="diff add">+  
+  
+   Anything you enter in psql 
+   that begins with an unquoted backslash is a psql
+   meta-command.  Anything else is SQL
+   and simply goes into the current query buffer
+   (and once you have at least one complete query, it gets automatically 
+   submitted to the backend).  
+   psql meta-commands are also called slash commands.
+  
+  
+   The format of a psql command is the backslash, 
+   followed immediately by
+   a command verb, then any arguments.  The arguments are separated from the
+   command verb and each other by any number of white space characters.
+  
+  
+   With single character command verbs, you don't actually need to separate the
+   command verb from the argument with white space, for historical reasons.
+   You should anyway.
+  
+  
+   The following meta-commands are defined:
+
+   
+    
+     
+      \a
+     
+     
+      
+       Toggle field alignment when printing out table elements.
+      
+     
+    
+
+    
+     
+      \C caption
+     
+     
+      
+       Set the HTML3.0 table caption to 
+       caption.
+      
+     
+    
+
+    
+     
+      \connect dbname [ username ]
+     
+     
+      
+       Establish a connection to a new database, using the default 
+       username if none is specified.
+       The previous connection is closed.
+      
+     
+    
+
+    
+     
+      \copy dbname { FROM | TO } filename
+     
+     
+      
+       Perform a frontend (client) copy.  This is an operation that runs a SQL COPY command,
+       but instead of the backend reading or writing the specified file, and 
+       consequently requiring backend access and special user privilege, 
+       psql reads or writes the 
+       file and routes the data to or from the backend.  The default tab
+       delimiter is used.
+      
+      
+       
+   This operation is not as efficient as the SQL 
+   COPY command because all data must pass through the
+   client/server IP or socket connection. For large amounts of data this other
+   technique may be preferable.
+       
+      
+     
+    
+
+    
+     
+      \d [ table ]
+     
+     
+      
+       List tables in the database, or if table
+       is specified, list the columns in that table.
+       If table name is specified as an asterisk (*),
+       list all tables and column information for each tables.
+      
+     
+    
+
+    
+     
+      \da
+     
+     
+      
+       List all available aggregates.
+      
+     
+    
+
+    
+     
+      \dd object
+     
+     
+      
+       List the description from pg_description
+       of the specified object, which can be a
+       table, table.column, type, operator, or aggregate.
+      
+      
+       
+   Not all objects have a description in pg_description.
+   This meta-command can be useful to get a quick description of a native
+   Postgres feature.
+       
+      
+     
+    
+
+    
+     
+      \df
+     
+     
+      
+       List functions.
+      
+     
+    
+
+    
+     
+      \di
+     
+     
+      
+       List only indexes.
+      
+     
+    
+
+    
+     
+      \do
+     
+     
+      
+       List only operators.
+      
+     
+    
+
+    
+     
+      \ds
+     
+     
+      
+       List only sequences.
+      
+     
+    
+
+    
+     
+      \dS
+     
+     
+      
+       List system tables and indexes.
+      
+     
+    
+
+    
+     
+      \dt
+     
+     
+      
+       List only non-system tables.
+      
+     
+    
+
+    
+     
+      \dT
+     
+     
+      
+       List types.
+      
+     
+    
+
+    
+     
+      \e [ filename ]
+     
+     
+      
+       Edit the current query buffer or the contents of the file
+       filename.
+      
+     
+    
+
+    
+     
+      \E [ filename ]
+     
+     
+      
+       Edit the current query buffer or the contents of the file
+       filename
+       and execute it upon editor exit.
+      
+     
+    
+
+    
+     
+      \f [ separator ]
+     
+     
+      
+       Set the field separator.  Default is a single blank space.
+      
+     
+    
+
+    
+     
+      \g [ { filename | |command } ]
+     
+     
+      
+       Send the current query input buffer to the backend and optionally
+       save the output in filename
+       or pipe the output into a separate Unix shell to execute
+       command.
+      
+     
+    
+
+    
+     
+      \h [ command ]
+     
+     
+      
+       Give syntax help on the specified SQL command.  
+       If command is not a defined SQL command
+       (or is not documented in psql), or if
+       command is not specified,
+       then psql will 
+       list all the commands for which syntax help is
+       available.  If command
+       is an asterisk (*), then
+       give syntax help on all SQL commands.
+      
+     
+    
+
+    
+     
+      \H
+     
+     
+      
+       Toggle HTML3 output. This is equivalent to the 
+       command-line option.
+      
+     
+    
+
+    
+     
+      \i filename
+     
+     
+      
+       Read queries from the file filename
+       into the query input buffer.
+      
+     
+    
+
+    
+     
+      \l
+     
+     
+      
+       List all the databases in the server.
+      
+     
+    
+
+    
+     
+      \m
+     
+     
+      
+       Toggle the old monitor-like table display, which includes border characters
+       surrounding the table.
+       This is standard SQL output.
+       By default, psql includes only field separators
+       between columns.
+      
+     
+    
+
+    
+     
+      \o [ { filename | |command } ]
+     
+     
+      
+       Save future query results to the file
+       filename or pipe future
+       results into a separate Unix shell to execute
+       command.
+       If no arguments are specified, send query results to
+       stdout.
+      
+     
+    
+
+    
+     
+      \p
+     
+     
+      
+       Print the current query buffer.
+      
+     
+    
+
+    
+     
+      \q
+     
+     
+      
+       Quit the psql program.
+      
+     
+    
+
+    
+     
+      \r
+     
+     
+      
+       Reset(clear) the query buffer.
+      
+     
+    
+
+    
+     
+      \s [ filename ]
+     
+     
+      
+       Print or save the command line history to 
+       filename.
+       If filename is omitted,
+       do not save subsequent commands to a history file.
+       This option is only available if psql is
+       configured to use readline.
+      
+     
+    
+
+    
+     
+      \t
+     
+     
+      
+       Toggle display of output column name headings and row count footer (defaults to on).
+      
+     
+    
+
+    
+     
+      \T table_options
+     
+     
+      
+       Allows you to specify options to be placed within the
+       table ... tag
+       for HTML 3.0
+       tabular output.For example, border
+       will give you tables with borders.
+       This must be used in conjunction with the \H meta-command.
+      
+     
+    
+
+    
+     
+      \x
+     
+     
+      
+       Toggles extended row format mode. When enabled each row will have its column
+       names printed on the left with the column values printed on the right.
+       This is useful for rows which are otherwise too long to fit into
+       one screen line. HTML row output mode supports this flag too.
+      
+     
+    
+
+    
+     
+      \w filename
+     
+     
+      
+       Outputs the current query buffer to the file
+       filename.
+      
+     
+    
+
+    
+     
+      \z
+     
+     
+      
+       Produces a list of all tables in the database with their appropriate ACLs
+       (grant/revoke permissions) listed.
+      
+     
+    
+
+    
+     
+      \! [ command ]
+     
+     
+      
+       Escape to a separate Unix shell or execute the Unix command
+       command.
+      
+     
+    
+
+    
+     
+      \?
+     
+     
+      
+       Get help information about the slash (\) commands.
+      
+     
+    
+   
+  
 
+
+
index bac4c0691480152a1aefb2053a2dc767baaa1843..12c9e47fcc56a964139e9efb87b10561a3631ac4 100644 (file)
 
-
-
-SET
-
-SQL - Language Statements
-
-
-
-SET
-
-
+ 
+  
+   SET
+  
+  SQL - Language Statements
+ 
+ 
+  
+   SET
+  
+  
    Set run-time parameters for session
-
-  
-
-
-1998-09-24
-
-
-
-
+  
+  
+   1998-09-24
+  
+  
 SET variable { TO | = } { 'value' | DEFAULT }
 SET TIME ZONE { 'timezone' | LOCAL };
-
+  
 
-   
-     
-       1998-09-24
-     
-     </div> <div class="diff rem">-    <span class="marked">   </span>Inputs</div> <div class="diff rem">-   <span class="marked">  </span>
-     
+  
+   
+    1998-09-24
+   
+   </div> <div class="diff add">+    Inputs</div> <div class="diff add">+   
+   
        
-       
-         
-           
-             variable
-           
-           
-             
-               Settable global parameter.
-             
-           
-         
-         
-           
-             value
-           
-           
-             
-               New value of parameter.
-             
-           
-         
-       
-     
-     
-       The possible variables and allowed values are:
+    
+     
+      
+       variable
+      
+      
+       
+   Settable global parameter.
+       
+      
+     
+     
+      
+       value
+      
+      
+       
+   New value of parameter.
+       
+      
+     
+    
+   
+   
+    The possible variables and allowed values are:
        
-       
-         
-           
-             DateStyle
-           
-           
-             
+    
+     
+      
+       DateStyle
+      
+      
+       
+   
+   
+    
+     
+      ISO
+     
+     
+      
+       use ISO 8601-style dates and times
+      
+     
+    
+    
+     
+      SQL
+     
+     
+      
+       use Oracle/Ingres-style dates and times
+      
+     
+    
+    
+     
+      Postgres
+     
+     
+      
+       use traditional Postgres format
+      
+     
+    
+    
+     
+      European
+     
+     
+      
+       use dd/mm/yyyy for numeric date representations.
+      
+     
+    
+    
+     
+      NonEuropean
+     
+     
+      
+       use mm/dd/yyyy for numeric date representations.
+      
+     
+    
+    
+     
+      German
+     
+     
+      
+       use dd.mm.yyyy for numeric date representations.
+      
+     
+    
+    
+     
+      US
+     
+     
+      
+       same as 'NonEuropean'
+      
+     
+    
+    
+     
+      default
+     
+     
+      
+       restores the default values ('US,Postgres')
+      
+     
+    
+   
+       
+      
+     
+    
+   
+   
+    Date format initialization my be done by:
+    
+     
+      Setting PGDATESTYLE environment variable.
+     
+     
+      Running postmaster using -oe parameter to set
+      dates to the 'European' convention.
+      Note that this affects only the some combinations of date styles; for example
+      the ISO style is not affected by this parameter.
+     
+     
+      Changing variables in 
+      src/backend/utils/init/globals.c.
+     
+    
+   
+   
+    The variables in globals.c which can be changed are:
+    
+     
+      bool EuroDates = false | true
+     
+     
+      int  DateStyle = USE_ISO_DATES | USE_POSTGRES_DATES | USE_SQL_DATES | USE_GERMAN_DATES
+     
+    
+
+   
+   
+    
+     
+      
+       TIMEZONE
+      
+      
+       
+   The possible values for timezone depends on your operating
+   system. For example on Linux /usr/lib/zoneinfo contains the
+   database of timezones.
+       
+       
+   Here are some valid values for timezone:
                
-               
-                 
-                   
-                     ISO
-                   
-                   
-                     
-                       use ISO 8601-style dates and times
-                     
-                   
-                 
-                 
-                   
-                     SQL
-                   
-                   
-                     
-                       use Oracle/Ingres-style dates and times
-                     
-                   
-                 
-                 
-                   
-                     Postgres
-                   
-                   
-                     
-                       use traditional Postgres format
-                     
-                   
-                 
-                 
-                   
-                     European
-                   
-                   
-                     
-                       use dd/mm/yyyy for numeric date representations.
-                     
-                   
-                 
-                 
-                   
-                     NonEuropean
-                   
-                   
-                     
-                       use mm/dd/yyyy for numeric date representations.
-                     
-                   
-                 
-                 
-                   
-                     German
-                   
-                   
-                     
-                       use dd.mm.yyyy for numeric date representations.
-                     
-                   
-                 
-                 
-                   
-                     US
-                   
-                   
-                     
-                       same as 'NonEuropean'
-                     
-                   
-                 
-                 
-                   
-                     default
-                   
-                   
-                     
-                       restores the default values ('US,Postgres')
-                     
-                   
-                 
-               
-             
-           
-         
-       
-     
+   
+    
+     
+      'PST8PDT'
+     
+     
+      
+       set the timezone for California
+      
+     
+    
+    
+     
+      'Portugal'
+     
+     
+      
+       set time zone for Portugal.
+      
+     
+    
+    
+     
+      'Europe/Rome'
+     
+     
+      
+       set time zone for Italy.
+      
+     
+    
+    
+     
+      DEFAULT
+     
+     
+      
+       set time zone to your local timezone
+       (value of the TZ environment variable).
+      
+     
+    
+   
+       
+       
+   If an invalid time zone is specified, the time zone
+   becomes GMT (on most systems anyway).
+       
+       
+   A frontend which uses libpq may be initialized by setting the PGTZ
+   environment variable.
+       
+       
+   The second syntax shown above, allows one to set the timezone
+   with a syntax similar to SQL92 SET TIME ZONE.
+   The LOCAL keyword is just an alternate form
+   of DEFAULT for SQL92 compatibility.
+       
+      
+     
+    
+   
+   
+    There are also several internal or optimization
+    parameters which can be specified
+    by the SET command:
+    
+    
+     
+      
+       COST_HEAP
+      
+      
+       
+   Sets the default cost of a heap scan for use by the optimizer.
+   
+   
+    
+     
+      float4
+     
+     
+      
+       Set the cost of a heap scan to the specified floating point value.
+      
+     
+    
+    
+    
+     
+      DEFAULT
+     
+     
+      
+       Sets the cost of a heap scan to the default value.
+      
+     
+    
+   
+       
+       
+   The frontend may be initialized by setting the PGCOSTHEAP
+   environment variable.
+       
+       
+   
+    
+     COST_INDEX
+    
+    
      
-       Date format initialization my be done by:
-       
-         
-           Setting PGDATESTYLE environment variable.
-         
-         
-           Running postmaster using -oe parameter to set
-           dates to the 'European' convention.
-           Note that this affects only the some combinations of date styles; for example
-           the ISO style is not affected by this parameter.
-         
-         
-           Changing variables in 
-           src/backend/utils/init/globals.c.
-         
-       
+      Sets the default cost of an index scan for use by the optimizer.
      
+    
+   
+   
+   
+    
+     float4
+    
+    
      
-       The variables in globals.c which can be changed are:
-       
-         bool EuroDates = false
-         true
-         int  DateStyle = USE_ISO_DATES
-         USE_POSTGRES_DATES
-         USE_ISO_DATES
-         USE_SQL_DATES
-         USE_GERMAN_DATES
-       
+      Set the cost of an index scan to the specified floating point value.
      
+    
+   
+   
+   
+    
+     DEFAULT
+    
+    
      
-       
-         
-           
-             TIMEZONE
-           
-           
-             
-               The possible values for timezone depends on your operating
-               system. For example on Linux /usr/lib/zoneinfo contains the
-               database of timezones.
-             
-             
-               Here are some valid values for timezone:
-               
-               
-                 
-                   
-                     'PST8PDT'
-                   
-                   
-                     
-                       set the timezone for California
-                 
-                   
-                 
-                 
-                   
-                     'Portugal'
-                   
-                   
-                     
-                       set time zone for Portugal.
-                     
-                   
-                 
-                 
-                   
-                     'Europe/Rome'
-                   
-                   
-                     
-                       set time zone for Italy.
-                     
-                   
-                 
-                 
-                   
-                     DEFAULT
-                   
-                   
-                     
-                       set time zone to your local timezone
-                       (value of the TZ environment variable).
-                     
-                   
-                 
-               
-             
-             
-               If an invalid time zone is specified, the time zone
-               becomes GMT (on most systems anyway).
-             
-             
-               A frontend which uses libpq may be initialized by setting the PGTZ
-               environment variable.
-             
-             
-               The second syntax shown above, allows one to set the timezone
-               with a syntax similar to SQL92 SET TIME ZONE.
-               The LOCAL keyword is just an alternate form
-               of DEFAULT for SQL92 compatibility.
-             
-           
-         
-       
+      Sets the cost of an index scan to the default value.
      
+    
+   
+       
+      
+     
+    
+   
+   
+    The frontend may be initialized by setting the PGCOSTINDEX
+    environment variable.
+    
+    
+     
+      
+       GEQO
+      
+      
+       
+   Sets the threshold for using the genetic optimizer algorithm.
+       
+       
+       
+   
+    
+     On
+    
+    
      
-       There are also several internal or optimization
-       parameters which can be specified
-       by the SET command:
-       
-       
-         
-           
-             COST_HEAP
-           
-           
-             
-               Sets the default cost of a heap scan for use by the optimizer.
-               
-               
-                 
-                   
-                     float4
-                   
-                   
-                     
-                       Set the cost of a heap scan to the specified floating point value.
-                     
-                   
-                 
-                 
-                 
-                   
-                     DEFAULT
-                   
-                   
-                     
-                       Sets the cost of a heap scan to the default value.
-                     
-                   
-                 
-               
-             
-             
-               The frontend may be initialized by setting the PGCOSTHEAP
-               environment variable.
-             
-             
-               
-                 
-                   COST_INDEX
-                 
-                 
-                   
-                     Sets the default cost of an index scan for use by the optimizer.
-                   
-                 
-               
-               
-               
-                 
-                   float4
-                 
-                 
-                   
-                     Set the cost of an index scan to the specified floating point value.
-                   
-                 
-               
-               
-               
-                 
-                   DEFAULT
-                 
-                 
-                   
-                     Sets the cost of an index scan to the default value.
-                   
-                 
-               
-             
-           
-         
-       
+      enables the genetic optimizer algorithm
+      for statements with 6 or more tables.
      
+    
+   
+   
+    
+     On=#
+    
+    
      
-       The frontend may be initialized by setting the PGCOSTINDEX
-       environment variable.
-       
-       
-         
-           
-             GEQO
-           
-           
-             
-               Sets the threshold for using the genetic optimizer algorithm.
-             
-             
-             
-               
-                 
-                   On
-                 
-                 
-                   
-                     enables the genetic optimizer algorithm
-                     for statements with 6 or more tables.
-                   
-                 
-               
-               
-                 
-                   On=#
-                 
-                 
-                   
-                     Takes an integer argument to enable the genetic optimizer algorithm
-                     for statements with #
-                     or more tables in the query.
-                   
-                 
-               
-               
-                 
-                   Off
-                 
-                 
-                   
-                     disables the genetic optimizer algorithm.
-                   
-                 
-               
-               
-                 
-                   DEFAULT
-                 
-                 
-                   
-                     Equivalent to specifying SET GEQO='on'
-                   
-                 
-               
-             
-           
-         
-       
+      Takes an integer argument to enable the genetic optimizer algorithm
+      for statements with #
+      or more tables in the query.
      
+    
+   
+   
+    
+     Off
+    
+    
      
-       This algorithm is on by default, which used GEQO for
-       statements of eleven or more tables.
-       (See the chapter on GEQO in the Programmer's Guide
-       for more information).
+      disables the genetic optimizer algorithm.
      
+    
+   
+   
+    
+     DEFAULT
+    
+    
      
-       The frontend may be initialized by setting PGGEQO
-       environment variable.
+      Equivalent to specifying SET GEQO='on'
      
+    
+   
+       
+      
+     
+    
+   
+   
+    This algorithm is on by default, which used GEQO for
+    statements of eleven or more tables.
+    (See the chapter on GEQO in the Programmer's Guide
+    for more information).
+   
+   
+    The frontend may be initialized by setting PGGEQO
+    environment variable.
+   
+   
+    It may be useful when joining big relations with
+    small ones. This algorithm is off by default.
+    It's not used by GEQO anyway.
+    
+    
+     
+      
+       KSQO
+      
+      
+       
+   Key Set Query Optimizer forces the query optimizer
+   to optimize repetative OR clauses such as generated by
+   MicroSoft Access:
+       
+       
+       
+   
+    
+     On
+    
+    
      
-       It may be useful when joining big relations with
-       small ones. This algorithm is off by default.
-       It's not used by GEQO anyway.
-
-       
-         
-           
-             KSQO
-           
-           
-             
-               Key Set Query Optimizer forces the query optimizer
-               to optimize repetative OR clauses such as generated by
-               MicroSoft Access:
-             
-             
-             
-               
-                 
-                   On
-                 
-                 
-                   
-                     enables this optimization.
-                   
-                 
-               
-               
-               
-                 
-                   Off
-                 
-                 
-                   
-                     disables this optimization.
-                   
-                 
-               
-               
-               
-                 
-                   DEFAULT
-                 
-                 
-                   
-                     Equivalent to specifying SET KSQO='off'.
-                   
-                 
-               
-             
-           
-         
-       
+      enables this optimization.
      
+    
+   
+   
+   
+    
+     Off
+    
+    
      
-       It may be useful when joining big relations with
-       small ones. This algorithm is off by default.
-       It's not used by GEQO anyway.
+      disables this optimization.
      
+    
+   
+   
+   
+    
+     DEFAULT
+    
+    
      
-       The frontend may be initialized by setting the PGKSQO
-       environment variable.
-       
-         
-           
-             QUERY_LIMIT
-           
-           
-             
-               Sets the number of rows returned by a query.
-             
-             
-             
-               
-                 
-                   Value
-                 
-                 
-                   
-                     Maximum number of rows to return for a query.  The default is to allow
-                     an unlimited number of rows.
-                   
-                 
-               
-               
-                 
-                   #
-                 
-                 
-                   
-                     Sets the maximum number of rows returned by a
-                     query to #.
-                   
-                 
-               
-               
-                 
-                   DEFAULT
-                 
-                 
-                   
-                     Sets the maximum number of rows returned by a query to be unlimited.
-                   
-                 
-               
-             
-             
-               By default, there is no limit to the number of rows
-               returned by a query.
-             
-           
-         
-       
+      Equivalent to specifying SET KSQO='off'.
      
-   
-   
-   
-     
-       1998-09-24
-     
-     </div> <div class="diff rem">-       Outputs</div> <div class="diff rem">-     
-     
-       
-       
-         
-           
-             SET VARIABLE
-           
-           
-             
-               Message returned if successfully.
-             
-           
-         
-         
-         
-           
-             WARN:  Bad value for variable (value)
-           
-           
-             
-               If the command fails to set variable.
-             
-           
-         
-         
-       
+    
+   
+       
+      
+     
+    
+   
+   
+    It may be useful when joining big relations with
+    small ones. This algorithm is off by default.
+    It's not used by GEQO anyway.
+   
+   
+    The frontend may be initialized by setting the PGKSQO
+    environment variable.
+    
+     
+      
+       QUERY_LIMIT
+      
+      
+       
+   Sets the number of rows returned by a query.
+       
+       
+       
+   
+    
+     Value
+    
+    
+     
+      Maximum number of rows to return for a query.  The default is to allow
+      an unlimited number of rows.
      
-   
-  
-  
-  
-   
-     1998-09-24
-   
-   </div> <div class="diff rem">-     Description</div> <div class="diff rem">-   
-   
-     SET will modify configuration parameters for variable during
-   a session.
-   
-   
-     Current values can be obtained using SHOW, and values
-     can be restored to the defaults using RESET.
-     Parameters and values are case-insensitive. Note that the value
-     field is always specified as a string, so is enclosed in
-     single-quotes.
-   
-   
-     SET TIME ZONE changes the session's
-     default time zone offset.
-     A SQL-session always begins with an initial default time zone
-     offset.
-     The SET TIME ZONE statement is used to change the default
-     time zone offset for the current SQL session.
-   
-
-   
-     
-       1998-09-24
-     
-     </div> <div class="diff rem">-       Notes</div> <div class="diff rem">-     
-     
-       The SET variable
-       statement is a Postgres language extension.
+    
+   
+   
+    
+     #
+    
+    
+     
+      Sets the maximum number of rows returned by a
+      query to #.
      
+    
+   
+   
+    
+     DEFAULT
+    
+    
      
-       Refer to SHOW and RESET to 
-       display or reset the current values.
+      Sets the maximum number of rows returned by a query to be unlimited.
      
-   
-  
-
-  
-   </div> <div class="diff rem">-     Usage</div> <div class="diff rem">-   
-   
-   
-   
-     --Set the style of date to ISO:
-     --
-     SET DATESTYLE TO 'ISO';
-   
-    
-     --Enable GEQO for queries with 4 or more tables
-     --
-     SET GEQO ON=4;
-   
-    
-     --Set GEQO to default:
-     --
-     SET GEQO = DEFAULT;
-   
-    
-     --set the timezone for Berkeley, California:
-     SET TIME ZONE 'PST8PDT';
-     
-     SELECT CURRENT_TIMESTAMP AS today;
-     
-     today
-     ----------------------
-     1998-03-31 07:41:21-08
-   
-    
-     --set the timezone for Italy:
-     SET TIME ZONE 'Europe/Rome';
-     
-     SELECT CURRENT_TIMESTAMP AS today;
-     
-     today
-     ----------------------
-     1998-03-31 17:41:31+02
-   
-
-  
+    
+   
+       
+       
+   By default, there is no limit to the number of rows
+   returned by a query.
+       
+      
+     
+    
+   
+  
+  
+  
+   
+    1998-09-24
+   
+   </div> <div class="diff add">+    Outputs</div> <div class="diff add">+   
+   
+    
+    
+     
+      
+       SET VARIABLE
+      
+      
+       
+   Message returned if successfully.
+       
+      
+     
+     
+     
+      
+       WARN:  Bad value for variable (value)
+      
+      
+       
+   If the command fails to set variable.
+       
+      
+     
+     
+    
+   
+  
+  
+   1998-09-24
+  
+  </div> <div class="diff add">+   Description</div> <div class="diff add">+  
+  
+   SET will modify configuration parameters for variable during
+   a session.
+  
+  
+   Current values can be obtained using SHOW, and values
+   can be restored to the defaults using RESET.
+   Parameters and values are case-insensitive. Note that the value
+   field is always specified as a string, so is enclosed in
+   single-quotes.
+  
+  
+   SET TIME ZONE changes the session's
+   default time zone offset.
+   A SQL-session always begins with an initial default time zone
+   offset.
+   The SET TIME ZONE statement is used to change the default
+   time zone offset for the current SQL session.
+  
+  
+  
+   
+    1998-09-24
+   
+   </div> <div class="diff add">+    Notes</div> <div class="diff add">+   
+   
+    The SET variable
+    statement is a Postgres language extension.
+   
+   
+    Refer to SHOW and RESET to 
+    display or reset the current values.
+   
+  
+  </div> <div class="diff add">+   Usage</div> <div class="diff add">+  
+  
+  
+  
+   --Set the style of date to ISO:
+   --
+   SET DATESTYLE TO 'ISO';
+  
+   
+   --Enable GEQO for queries with 4 or more tables
+   --
+   SET GEQO ON=4;
+  
+   
+   --Set GEQO to default:
+   --
+   SET GEQO = DEFAULT;
+  
+   
+   --set the timezone for Berkeley, California:
+   SET TIME ZONE 'PST8PDT';
+   
+   SELECT CURRENT_TIMESTAMP AS today;
+   
+   today
+   ----------------------
+   1998-03-31 07:41:21-08
+  
+   
+   --set the timezone for Italy:
+   SET TIME ZONE 'Europe/Rome';
+   
+   SELECT CURRENT_TIMESTAMP AS today;
+   
+   today
+   ----------------------
+   1998-03-31 17:41:31+02
+  
+  
 
 
-   </div> <div class="diff rem">-   <span class="marked">  </span>Compatibility</div> <div class="diff rem">-  <span class="marked"> </span>
-   
-   
-   
-   
-     
-       1998-09-24
-     
-     </div> <div class="diff rem">-    <span class="marked">   </span>SQL92</div> <div class="diff rem">-   <span class="marked">  </span>
-     
-       There is no
-       SET variable
-       in SQL92.
-       
-       The SQL92 syntax for SET TIME ZONE
-       is slightly different,
-       allowing only a single integer value for time zone specification:
-       
-       
-         SET TIME ZONE { interval_value_expression | LOCAL }
-       
-     
-   
 
+  </div> <div class="diff add">+   Compatibility</div> <div class="diff add">+  
+  
+  
+  
+  
+   
+    1998-09-24
+   
+   </div> <div class="diff add">+    SQL92</div> <div class="diff add">+   
+   
+    There is no
+    SET variable
+    in SQL92.
+    
+    The SQL92 syntax for SET TIME ZONE
+    is slightly different,
+    allowing only a single integer value for time zone specification:
+    
+    
+     SET TIME ZONE { interval_value_expression | LOCAL }
+    
+   
+  
 
+
+