mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 00:02:53 -04:00
Add reference pages on user interface applications.
This commit is contained in:
parent
32cfa65e49
commit
165b830ea5
@ -62,7 +62,7 @@
|
|||||||
<!entity close system "close.sgml">
|
<!entity close system "close.sgml">
|
||||||
<!entity cluster system "cluster.sgml">
|
<!entity cluster system "cluster.sgml">
|
||||||
<!entity commit system "commit.sgml">
|
<!entity commit system "commit.sgml">
|
||||||
<!entity copy system "copy.sgml">
|
<!entity copyTable system "copy.sgml">
|
||||||
<!entity createAggregate system "create_aggregate.sgml">
|
<!entity createAggregate system "create_aggregate.sgml">
|
||||||
<!entity createDatabase system "create_database.sgml">
|
<!entity createDatabase system "create_database.sgml">
|
||||||
<!entity createFunction system "create_function.sgml">
|
<!entity createFunction system "create_function.sgml">
|
||||||
@ -117,6 +117,8 @@
|
|||||||
<!entity destroyuser system "destroyuser.sgml">
|
<!entity destroyuser system "destroyuser.sgml">
|
||||||
<!entity initdb system "initdb.sgml">
|
<!entity initdb system "initdb.sgml">
|
||||||
<!entity initlocation system "initlocation.sgml">
|
<!entity initlocation system "initlocation.sgml">
|
||||||
|
<!entity pgAccess system "pgaccess-ref.sgml">
|
||||||
|
<!entity pgAdmin system "pgadmin-ref.sgml">
|
||||||
<!entity pgDump system "pg_dump.sgml">
|
<!entity pgDump system "pg_dump.sgml">
|
||||||
<!entity pgDumpall system "pg_dumpall.sgml">
|
<!entity pgDumpall system "pg_dumpall.sgml">
|
||||||
<!entity pgUpgrade system "pg_upgrade.sgml">
|
<!entity pgUpgrade system "pg_upgrade.sgml">
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
<chapter id="sql-commands">
|
<chapter id="sql-commands">
|
||||||
<Title>SQL Commands</Title>
|
<Title>SQL Commands</Title>
|
||||||
|
|
||||||
|
<abstract>
|
||||||
<Para>
|
<Para>
|
||||||
This is reference information for the <acronym>SQL</acronym>
|
This is reference information for the <acronym>SQL</acronym>
|
||||||
commands supported by <productname>Postgres</productname>.
|
commands supported by <productname>Postgres</productname>.
|
||||||
</Para>
|
</Para>
|
||||||
|
</abstract>
|
||||||
|
|
||||||
&abort;
|
&abort;
|
||||||
&alterTable;
|
&alterTable;
|
||||||
@ -13,7 +15,7 @@ commands supported by <productname>Postgres</productname>.
|
|||||||
&close;
|
&close;
|
||||||
&cluster;
|
&cluster;
|
||||||
&commit;
|
&commit;
|
||||||
©
|
©Table;
|
||||||
&createAggregate;
|
&createAggregate;
|
||||||
&createDatabase;
|
&createDatabase;
|
||||||
&createFunction;
|
&createFunction;
|
||||||
@ -87,10 +89,12 @@ functions supported by <productname>Postgres</productname>.
|
|||||||
<chapter Id="utilities">
|
<chapter Id="utilities">
|
||||||
<title>Utility Applications</title>
|
<title>Utility Applications</title>
|
||||||
|
|
||||||
|
<abstract>
|
||||||
<para>
|
<para>
|
||||||
This is reference information for the
|
This is reference information for the
|
||||||
<productname>Postgres</productname> support utilities.
|
<productname>Postgres</productname> support utilities.
|
||||||
</para>
|
</para>
|
||||||
|
</abstract>
|
||||||
|
|
||||||
&createdb;
|
&createdb;
|
||||||
&createuser;
|
&createuser;
|
||||||
@ -98,6 +102,8 @@ This is reference information for the
|
|||||||
&destroyuser;
|
&destroyuser;
|
||||||
&initdb;
|
&initdb;
|
||||||
&initlocation;
|
&initlocation;
|
||||||
|
&pgAccess;
|
||||||
|
&pgAdmin;
|
||||||
&pgDump;
|
&pgDump;
|
||||||
&pgDumpall;
|
&pgDumpall;
|
||||||
&psqlRef;
|
&psqlRef;
|
||||||
@ -108,7 +114,7 @@ This is reference information for the
|
|||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
mode: sgml
|
mode: sgml
|
||||||
sgml-omittag:t
|
sgml-omittag:nil
|
||||||
sgml-shorttag:t
|
sgml-shorttag:t
|
||||||
sgml-minimize-attributes:nil
|
sgml-minimize-attributes:nil
|
||||||
sgml-always-quote-attributes:t
|
sgml-always-quote-attributes:t
|
||||||
|
@ -188,3 +188,20 @@ LOCK [ TABLE ] <REPLACEABLE CLASS="PARAMETER">table</REPLACEABLE>
|
|||||||
</refsect2>
|
</refsect2>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</REFENTRY>
|
</REFENTRY>
|
||||||
|
|
||||||
|
<!-- Keep this comment at the end of the file
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-omittag:nil
|
||||||
|
sgml-shorttag:t
|
||||||
|
sgml-minimize-attributes:nil
|
||||||
|
sgml-always-quote-attributes:t
|
||||||
|
sgml-indent-step:1
|
||||||
|
sgml-indent-data:t
|
||||||
|
sgml-parent-document:nil
|
||||||
|
sgml-default-dtd-file:"../reference.ced"
|
||||||
|
sgml-exposed-tags:nil
|
||||||
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
|
||||||
|
sgml-local-ecat-files:nil
|
||||||
|
End:
|
||||||
|
-->
|
||||||
|
74
doc/src/sgml/ref/pgaccess-ref.sgml
Normal file
74
doc/src/sgml/ref/pgaccess-ref.sgml
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
<REFENTRY ID="APP-PGACCESS">
|
||||||
|
<REFMETA>
|
||||||
|
<REFENTRYTITLE id="pgaccess-ref">
|
||||||
|
<application>pgaccess</application>
|
||||||
|
</REFENTRYTITLE>
|
||||||
|
<REFMISCINFO>Application</REFMISCINFO>
|
||||||
|
</REFMETA>
|
||||||
|
<REFNAMEDIV>
|
||||||
|
<REFNAME>
|
||||||
|
<application>pgaccess</application>
|
||||||
|
</REFNAME>
|
||||||
|
<REFPURPOSE>
|
||||||
|
<productname>Postgres</productname> graphical interactive client
|
||||||
|
</REFPURPOSE>
|
||||||
|
</refnamediv>
|
||||||
|
<REFSYNOPSISDIV>
|
||||||
|
<REFSYNOPSISDIVINFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSYNOPSISDIVINFO>
|
||||||
|
<SYNOPSIS>
|
||||||
|
pgaccess [ <replaceable class="parameter">dbname</replaceable> ]
|
||||||
|
</SYNOPSIS>
|
||||||
|
|
||||||
|
<REFSECT2 ID="R2-APP-PGACCESS-1">
|
||||||
|
<REFSECT2INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT2INFO>
|
||||||
|
<TITLE>
|
||||||
|
Inputs
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect2>
|
||||||
|
|
||||||
|
<REFSECT2 ID="R2-APP-PGACCESS-2">
|
||||||
|
<REFSECT2INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT2INFO>
|
||||||
|
<TITLE>
|
||||||
|
Outputs
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect2>
|
||||||
|
</refsynopsisdiv>
|
||||||
|
|
||||||
|
<REFSECT1 ID="R1-APP-PGACCESS-1">
|
||||||
|
<REFSECT1INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT1INFO>
|
||||||
|
<TITLE>
|
||||||
|
Description
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect1>
|
||||||
|
</refentry>
|
||||||
|
|
||||||
|
<!-- Keep this comment at the end of the file
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-omittag:nil
|
||||||
|
sgml-shorttag:t
|
||||||
|
sgml-minimize-attributes:nil
|
||||||
|
sgml-always-quote-attributes:t
|
||||||
|
sgml-indent-step:1
|
||||||
|
sgml-indent-data:t
|
||||||
|
sgml-parent-document:nil
|
||||||
|
sgml-default-dtd-file:"../reference.ced"
|
||||||
|
sgml-exposed-tags:nil
|
||||||
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
|
||||||
|
sgml-local-ecat-files:nil
|
||||||
|
End:
|
||||||
|
-->
|
74
doc/src/sgml/ref/pgadmin-ref.sgml
Normal file
74
doc/src/sgml/ref/pgadmin-ref.sgml
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
<REFENTRY ID="APP-PGADMIN">
|
||||||
|
<REFMETA>
|
||||||
|
<REFENTRYTITLE id="pgadmin-ref">
|
||||||
|
<application>pgadmin</application>
|
||||||
|
</REFENTRYTITLE>
|
||||||
|
<REFMISCINFO>Application</REFMISCINFO>
|
||||||
|
</REFMETA>
|
||||||
|
<REFNAMEDIV>
|
||||||
|
<REFNAME>
|
||||||
|
<application>pgadmin</application>
|
||||||
|
</REFNAME>
|
||||||
|
<REFPURPOSE>
|
||||||
|
<productname>Postgres</productname> graphical interactive client
|
||||||
|
</REFPURPOSE>
|
||||||
|
</refnamediv>
|
||||||
|
<REFSYNOPSISDIV>
|
||||||
|
<REFSYNOPSISDIVINFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSYNOPSISDIVINFO>
|
||||||
|
<SYNOPSIS>
|
||||||
|
pgadmin [ <replaceable class="parameter">dbname</replaceable> ]
|
||||||
|
</SYNOPSIS>
|
||||||
|
|
||||||
|
<REFSECT2 ID="R2-APP-PGADMIN-1">
|
||||||
|
<REFSECT2INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT2INFO>
|
||||||
|
<TITLE>
|
||||||
|
Inputs
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect2>
|
||||||
|
|
||||||
|
<REFSECT2 ID="R2-APP-PGADMIN-2">
|
||||||
|
<REFSECT2INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT2INFO>
|
||||||
|
<TITLE>
|
||||||
|
Outputs
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect2>
|
||||||
|
</refsynopsisdiv>
|
||||||
|
|
||||||
|
<REFSECT1 ID="R1-APP-PGADMIN-1">
|
||||||
|
<REFSECT1INFO>
|
||||||
|
<DATE>1999-05-19</DATE>
|
||||||
|
</REFSECT1INFO>
|
||||||
|
<TITLE>
|
||||||
|
Description
|
||||||
|
</TITLE>
|
||||||
|
<PARA>
|
||||||
|
</para>
|
||||||
|
</refsect1>
|
||||||
|
</refentry>
|
||||||
|
|
||||||
|
<!-- Keep this comment at the end of the file
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-omittag:nil
|
||||||
|
sgml-shorttag:t
|
||||||
|
sgml-minimize-attributes:nil
|
||||||
|
sgml-always-quote-attributes:t
|
||||||
|
sgml-indent-step:1
|
||||||
|
sgml-indent-data:t
|
||||||
|
sgml-parent-document:nil
|
||||||
|
sgml-default-dtd-file:"../reference.ced"
|
||||||
|
sgml-exposed-tags:nil
|
||||||
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
|
||||||
|
sgml-local-ecat-files:nil
|
||||||
|
End:
|
||||||
|
-->
|
@ -50,7 +50,6 @@ psql -A [ -c <replaceable class="parameter">query</replaceable> ] [ -d <replacea
|
|||||||
<envar>USER</envar>
|
<envar>USER</envar>
|
||||||
environment variable or, if that's not set, to the Unix account name of the
|
environment variable or, if that's not set, to the Unix account name of the
|
||||||
current user.
|
current user.
|
||||||
|
|
||||||
</PARA>
|
</PARA>
|
||||||
</LISTITEM>
|
</LISTITEM>
|
||||||
</VARLISTENTRY>
|
</VARLISTENTRY>
|
||||||
@ -170,7 +169,6 @@ psql -A [ -c <replaceable class="parameter">query</replaceable> ] [ -d <replacea
|
|||||||
Outputs
|
Outputs
|
||||||
</TITLE>
|
</TITLE>
|
||||||
<PARA>
|
<PARA>
|
||||||
|
|
||||||
<application>psql</application>
|
<application>psql</application>
|
||||||
returns 0 to the shell on successful completion of all queries,
|
returns 0 to the shell on successful completion of all queries,
|
||||||
1 for errors, 2 for abrupt disconnection from the backend.
|
1 for errors, 2 for abrupt disconnection from the backend.
|
||||||
@ -261,10 +259,11 @@ psql -A [ -c <replaceable class="parameter">query</replaceable> ] [ -d <replacea
|
|||||||
$ <userinput>psql testdb</userinput>
|
$ <userinput>psql testdb</userinput>
|
||||||
Welcome to the POSTGRESQL interactive sql monitor:
|
Welcome to the POSTGRESQL interactive sql monitor:
|
||||||
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
|
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 \e? for help on slash commands
|
type \? for help on slash commands
|
||||||
type \eq to quit
|
type \q to quit
|
||||||
type \eg or terminate with semicolon to execute query
|
type \g or terminate with semicolon to execute query
|
||||||
You are currently connected to the database: testdb
|
You are currently connected to the database: testdb
|
||||||
|
|
||||||
testdb=>
|
testdb=>
|
||||||
@ -287,6 +286,38 @@ psql -A [ -c <replaceable class="parameter">query</replaceable> ] [ -d <replacea
|
|||||||
is not listening or talking to a real tty.
|
is not listening or talking to a real tty.
|
||||||
</para>
|
</para>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
|
<refsect2 id="R2-APP-PSQL-5">
|
||||||
|
<Title>Paging To Screen</Title>
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
<Title>Author</Title>
|
||||||
|
<Para>
|
||||||
|
From Brett McCormick on the mailing list 1998-04-04.
|
||||||
|
</Para>
|
||||||
|
</Note>
|
||||||
|
|
||||||
|
<Para>
|
||||||
|
To affect the paging behavior of your <Command>psql</Command> 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.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<Para>
|
||||||
|
In csh/tcsh or other C shells:
|
||||||
|
|
||||||
|
<ProgramListing>
|
||||||
|
% unsetenv PAGER
|
||||||
|
</ProgramListing>
|
||||||
|
|
||||||
|
while in sh/bash or other Bourne shells:
|
||||||
|
|
||||||
|
<ProgramListing>
|
||||||
|
% unset PAGER
|
||||||
|
</ProgramListing>
|
||||||
|
</para>
|
||||||
|
</refsect2>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<REFSECT1 ID="R1-APP-PSQL-2">
|
<REFSECT1 ID="R1-APP-PSQL-2">
|
||||||
@ -1061,3 +1092,20 @@ psql -A [ -c <replaceable class="parameter">query</replaceable> ] [ -d <replacea
|
|||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</refentry>
|
</refentry>
|
||||||
|
|
||||||
|
<!-- Keep this comment at the end of the file
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-omittag:nil
|
||||||
|
sgml-shorttag:t
|
||||||
|
sgml-minimize-attributes:nil
|
||||||
|
sgml-always-quote-attributes:t
|
||||||
|
sgml-indent-step:1
|
||||||
|
sgml-indent-data:t
|
||||||
|
sgml-parent-document:nil
|
||||||
|
sgml-default-dtd-file:"../reference.ced"
|
||||||
|
sgml-exposed-tags:nil
|
||||||
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
|
||||||
|
sgml-local-ecat-files:nil
|
||||||
|
End:
|
||||||
|
-->
|
||||||
|
@ -18,8 +18,6 @@ SET
|
|||||||
<DATE>1998-09-24</DATE>
|
<DATE>1998-09-24</DATE>
|
||||||
</REFSYNOPSISDIVINFO>
|
</REFSYNOPSISDIVINFO>
|
||||||
<SYNOPSIS>
|
<SYNOPSIS>
|
||||||
<REPLACEABLE CLASS="PARAMETER">
|
|
||||||
</REPLACEABLE>
|
|
||||||
SET <REPLACEABLE CLASS="PARAMETER">variable</REPLACEABLE> { TO | = } { '<REPLACEABLE CLASS="PARAMETER">value</REPLACEABLE>' | DEFAULT }
|
SET <REPLACEABLE CLASS="PARAMETER">variable</REPLACEABLE> { TO | = } { '<REPLACEABLE CLASS="PARAMETER">value</REPLACEABLE>' | DEFAULT }
|
||||||
SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL };
|
SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL };
|
||||||
</SYNOPSIS>
|
</SYNOPSIS>
|
||||||
@ -174,15 +172,15 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The variables in <filename>globals.c</filename> which can be changed are:
|
The variables in <filename>globals.c</filename> which can be changed are:
|
||||||
<programlisting>
|
<simplelist>
|
||||||
bool EuroDates = false
|
<member>
|
||||||
true
|
bool EuroDates = false | true
|
||||||
int DateStyle = USE_ISO_DATES
|
</member>
|
||||||
USE_POSTGRES_DATES
|
<member>
|
||||||
USE_ISO_DATES
|
int DateStyle = USE_ISO_DATES | USE_POSTGRES_DATES | USE_SQL_DATES | USE_GERMAN_DATES
|
||||||
USE_SQL_DATES
|
</member>
|
||||||
USE_GERMAN_DATES
|
</simplelist>
|
||||||
</programlisting>
|
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
@ -687,3 +685,20 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
|
|||||||
</refsect2>
|
</refsect2>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</REFENTRY>
|
</REFENTRY>
|
||||||
|
|
||||||
|
<!-- Keep this comment at the end of the file
|
||||||
|
Local variables:
|
||||||
|
mode: sgml
|
||||||
|
sgml-omittag:nil
|
||||||
|
sgml-shorttag:t
|
||||||
|
sgml-minimize-attributes:nil
|
||||||
|
sgml-always-quote-attributes:t
|
||||||
|
sgml-indent-step:1
|
||||||
|
sgml-indent-data:t
|
||||||
|
sgml-parent-document:nil
|
||||||
|
sgml-default-dtd-file:"../reference.ced"
|
||||||
|
sgml-exposed-tags:nil
|
||||||
|
sgml-local-catalogs:"/usr/lib/sgml/CATALOG"
|
||||||
|
sgml-local-ecat-files:nil
|
||||||
|
End:
|
||||||
|
-->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user