mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
bit on the indexes. I also attach clusterdb and clusterdb.sgml; both of them are blatant rips of vacuumdb and vacuumdb.sgml, but get the job done. Please review them, as I'm probably making a lot of mistakes with SGML and I can't compile it here. vacuumdb itself is not very comfortable to use when the databases have passwords, because it has to connect once for each table (I can probably make it connect only once for each database; should I?). Because of this I added a mention of PGPASSWORDFILE in the documentation, but I don't know if that is the correct place for that. Alvaro Herrera
229 lines
4.8 KiB
Text
229 lines
4.8 KiB
Text
<!-- reference.sgml
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.36 2002/08/27 03:38:27 momjian Exp $
|
|
|
|
PostgreSQL Reference Manual
|
|
-->
|
|
|
|
<book id="reference">
|
|
|
|
<title>PostgreSQL &version; Reference Manual</title>
|
|
<bookinfo>
|
|
<corpauthor>The PostgreSQL Global Development Group</corpauthor>
|
|
&legal;
|
|
</bookinfo>
|
|
|
|
<preface id="reference-preface">
|
|
<title>Preface</title>
|
|
|
|
<para>
|
|
The entries in this <citetitle>Reference Manual</citetitle> are
|
|
meant to provide in reasonable length an authoritative, complete, and
|
|
formal summary about their respective subjects. More information
|
|
about the use of <productname>PostgreSQL</productname>, in
|
|
narrative, tutorial, or example form, may be found in other parts
|
|
of the <productname>PostgreSQL</productname> documentation set.
|
|
See the cross-references listed on each reference page.
|
|
</para>
|
|
|
|
<para>
|
|
The <citetitle>Reference Manual</citetitle> entries are also
|
|
available as traditional <quote>man</quote> pages.
|
|
</para>
|
|
</preface>
|
|
|
|
<reference id="sql-commands">
|
|
<title>SQL Commands</title>
|
|
|
|
<partintro>
|
|
<para>
|
|
This part contains reference information for the
|
|
<acronym>SQL</acronym> commands supported by
|
|
<productname>PostgreSQL</productname>. By <quote>SQL</quote> the
|
|
language in general is meant; information about the standards
|
|
conformance and compatibility of each command can be found on the
|
|
respective reference page.
|
|
</para>
|
|
</partintro>
|
|
|
|
&abort;
|
|
&alterDatabase;
|
|
&alterGroup;
|
|
&alterTable;
|
|
&alterTrigger;
|
|
&alterUser;
|
|
&analyze;
|
|
&begin;
|
|
&checkpoint;
|
|
&close;
|
|
&cluster;
|
|
&commentOn;
|
|
&commit;
|
|
©Table;
|
|
&createAggregate;
|
|
&createCast;
|
|
&createConstraint;
|
|
&createConversion;
|
|
&createDatabase;
|
|
&createDomain;
|
|
&createFunction;
|
|
&createGroup;
|
|
&createIndex;
|
|
&createLanguage;
|
|
&createOperator;
|
|
&createOperatorClass;
|
|
&createRule;
|
|
&createSchema;
|
|
&createSequence;
|
|
&createTable;
|
|
&createTableAs;
|
|
&createTrigger;
|
|
&createType;
|
|
&createUser;
|
|
&createView;
|
|
&declare;
|
|
&delete;
|
|
&dropAggregate;
|
|
&dropCast;
|
|
&dropConversion;
|
|
&dropDatabase;
|
|
&dropDomain;
|
|
&dropFunction;
|
|
&dropGroup;
|
|
&dropIndex;
|
|
&dropLanguage;
|
|
&dropOperator;
|
|
&dropOperatorClass;
|
|
&dropRule;
|
|
&dropSchema;
|
|
&dropSequence;
|
|
&dropTable;
|
|
&dropTrigger;
|
|
&dropType
|
|
&dropUser;
|
|
&dropView;
|
|
&end;
|
|
&explain;
|
|
&fetch;
|
|
&grant;
|
|
&insert;
|
|
&listen;
|
|
&load;
|
|
&lock;
|
|
&move;
|
|
¬ify;
|
|
&reindex;
|
|
&reset;
|
|
&revoke;
|
|
&rollback;
|
|
&select;
|
|
&selectInto;
|
|
&set;
|
|
&setConstraints;
|
|
&setSessionAuth;
|
|
&setTransaction;
|
|
&show;
|
|
&startTransaction;
|
|
&truncate;
|
|
&unlisten;
|
|
&update;
|
|
&vacuum;
|
|
|
|
</reference>
|
|
|
|
<!--
|
|
Disable this chapter until we have more functions documented.
|
|
- thomas 1998-10-27
|
|
|
|
<reference id="sql-functions">
|
|
<title>SQL Functions</title>
|
|
|
|
<partintro>
|
|
<para>
|
|
This part provides reference information for the
|
|
<acronym>SQL</acronym> functions supported by
|
|
<productname>PostgreSQL</productname>.
|
|
</para>
|
|
|
|
¤tDate;
|
|
¤tTime;
|
|
¤tTimestamp;
|
|
¤tUser;
|
|
</reference>
|
|
-->
|
|
|
|
<reference id="reference-client">
|
|
<title>PostgreSQL Client Applications</title>
|
|
|
|
<partintro>
|
|
<para>
|
|
This part contains reference information for
|
|
<productname>PostgreSQL</productname> client applications and
|
|
utilities. Not all of these commands are of general utility, some
|
|
may require special privileges. The common feature of these
|
|
applications is that they can be run on any host, independent of
|
|
where the database server resides.
|
|
</para>
|
|
</partintro>
|
|
|
|
&clusterdb;
|
|
&createdb;
|
|
&createlang;
|
|
&createuser;
|
|
&dropdb;
|
|
&droplang;
|
|
&dropuser;
|
|
&ecpgRef;
|
|
&pgAccess;
|
|
&pgConfig;
|
|
&pgDump;
|
|
&pgDumpall;
|
|
&pgRestore;
|
|
&psqlRef;
|
|
&pgTclSh;
|
|
&pgTkSh;
|
|
&vacuumdb;
|
|
|
|
</reference>
|
|
|
|
<reference id="reference-server">
|
|
<title>PostgreSQL Server Applications</title>
|
|
|
|
<partintro>
|
|
<para>
|
|
This part contains reference information for
|
|
<productname>PostgreSQL</productname> server applications and
|
|
support utilities. These commands can only be run usefully on the
|
|
host where the database server resides. Other utility programs
|
|
are listed in <xref linkend="reference-client">.
|
|
</para>
|
|
</partintro>
|
|
|
|
&initdb;
|
|
&initlocation;
|
|
&ipcclean;
|
|
&pgCtl;
|
|
&pgControldata;
|
|
&pgResetxlog;
|
|
&postgres;
|
|
&postmaster;
|
|
|
|
</reference>
|
|
|
|
</book>
|
|
|
|
<!-- 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:
|
|
-->
|