2006-09-18 15:54:01 -04:00
|
|
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/reference.sgml,v 1.60 2006/09/18 19:54:01 tgl Exp $ -->
|
1998-10-31 04:36:38 -05:00
|
|
|
|
2003-03-25 11:15:44 -05:00
|
|
|
<part id="reference">
|
|
|
|
|
<title>Reference</title>
|
2001-09-03 08:57:50 -04:00
|
|
|
|
2003-03-25 11:15:44 -05:00
|
|
|
<partintro>
|
2001-09-03 08:57:50 -04:00
|
|
|
<para>
|
2003-03-25 11:15:44 -05:00
|
|
|
The entries in this Reference 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 this book. See the
|
|
|
|
|
cross-references listed on each reference page.
|
2001-09-03 08:57:50 -04:00
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
2003-03-25 11:15:44 -05:00
|
|
|
The reference entries are also available as traditional
|
|
|
|
|
<quote>man</quote> pages.
|
2001-09-03 08:57:50 -04:00
|
|
|
</para>
|
2003-03-25 11:15:44 -05:00
|
|
|
</partintro>
|
2001-09-03 08:57:50 -04:00
|
|
|
|
2000-11-24 12:44:22 -05:00
|
|
|
<reference id="sql-commands">
|
|
|
|
|
<title>SQL Commands</title>
|
1998-05-13 01:34:39 -04:00
|
|
|
|
2000-11-24 12:44:22 -05:00
|
|
|
<partintro>
|
|
|
|
|
<para>
|
2001-09-03 08:57:50 -04:00
|
|
|
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.
|
2000-11-24 12:44:22 -05:00
|
|
|
</para>
|
|
|
|
|
</partintro>
|
|
|
|
|
|
|
|
|
|
&abort;
|
2003-06-27 10:45:32 -04:00
|
|
|
&alterAggregate;
|
|
|
|
|
&alterConversion;
|
2002-03-01 17:45:19 -05:00
|
|
|
&alterDatabase;
|
2002-12-06 00:00:34 -05:00
|
|
|
&alterDomain;
|
2003-06-27 10:45:32 -04:00
|
|
|
&alterFunction;
|
2000-11-24 12:44:22 -05:00
|
|
|
&alterGroup;
|
2004-08-21 12:16:04 -04:00
|
|
|
&alterIndex;
|
2003-06-27 10:45:32 -04:00
|
|
|
&alterLanguage;
|
2004-06-25 17:55:59 -04:00
|
|
|
&alterOperator;
|
2003-06-27 10:45:32 -04:00
|
|
|
&alterOperatorClass;
|
2005-07-26 19:24:02 -04:00
|
|
|
&alterRole;
|
2003-06-27 10:45:32 -04:00
|
|
|
&alterSchema;
|
2003-03-20 02:02:11 -05:00
|
|
|
&alterSequence;
|
2000-11-24 12:44:22 -05:00
|
|
|
&alterTable;
|
2004-06-25 17:55:59 -04:00
|
|
|
&alterTableSpace;
|
2002-04-23 22:49:50 -04:00
|
|
|
&alterTrigger;
|
2004-06-25 17:55:59 -04:00
|
|
|
&alterType;
|
2000-11-24 12:44:22 -05:00
|
|
|
&alterUser;
|
2001-05-06 20:43:27 -04:00
|
|
|
&analyze;
|
2000-11-24 12:44:22 -05:00
|
|
|
&begin;
|
2001-01-12 22:11:12 -05:00
|
|
|
&checkpoint;
|
2000-11-24 12:44:22 -05:00
|
|
|
&close;
|
|
|
|
|
&cluster;
|
|
|
|
|
&commentOn;
|
|
|
|
|
&commit;
|
2005-06-17 18:32:51 -04:00
|
|
|
&commitPrepared;
|
2000-11-24 12:44:22 -05:00
|
|
|
©Table;
|
|
|
|
|
&createAggregate;
|
2002-07-18 19:11:32 -04:00
|
|
|
&createCast;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createConstraint;
|
2002-07-22 04:57:15 -04:00
|
|
|
&createConversion;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createDatabase;
|
2002-03-18 21:18:25 -05:00
|
|
|
&createDomain;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createFunction;
|
|
|
|
|
&createGroup;
|
|
|
|
|
&createIndex;
|
|
|
|
|
&createLanguage;
|
|
|
|
|
&createOperator;
|
2002-07-29 18:14:11 -04:00
|
|
|
&createOperatorClass;
|
2005-07-26 19:24:02 -04:00
|
|
|
&createRole;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createRule;
|
2002-04-25 17:47:07 -04:00
|
|
|
&createSchema;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createSequence;
|
|
|
|
|
&createTable;
|
|
|
|
|
&createTableAs;
|
2004-06-18 02:14:31 -04:00
|
|
|
&createTableSpace;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createTrigger;
|
|
|
|
|
&createType;
|
|
|
|
|
&createUser;
|
|
|
|
|
&createView;
|
2002-08-27 00:55:12 -04:00
|
|
|
&deallocate;
|
2000-11-24 12:44:22 -05:00
|
|
|
&declare;
|
|
|
|
|
&delete;
|
|
|
|
|
&dropAggregate;
|
2002-07-18 19:11:32 -04:00
|
|
|
&dropCast;
|
2002-07-22 04:57:15 -04:00
|
|
|
&dropConversion;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropDatabase;
|
2002-03-18 21:18:25 -05:00
|
|
|
&dropDomain;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropFunction;
|
|
|
|
|
&dropGroup;
|
|
|
|
|
&dropIndex;
|
|
|
|
|
&dropLanguage;
|
|
|
|
|
&dropOperator;
|
2002-07-29 18:14:11 -04:00
|
|
|
&dropOperatorClass;
|
2005-11-21 07:49:33 -05:00
|
|
|
&dropOwned;
|
2005-07-26 19:24:02 -04:00
|
|
|
&dropRole;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropRule;
|
2002-07-18 12:47:26 -04:00
|
|
|
&dropSchema;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropSequence;
|
|
|
|
|
&dropTable;
|
2004-06-18 02:14:31 -04:00
|
|
|
&dropTableSpace;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropTrigger;
|
2002-08-27 00:55:12 -04:00
|
|
|
&dropType;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropUser;
|
|
|
|
|
&dropView;
|
|
|
|
|
&end;
|
2002-08-27 00:55:12 -04:00
|
|
|
&execute;
|
2000-11-24 12:44:22 -05:00
|
|
|
&explain;
|
|
|
|
|
&fetch;
|
|
|
|
|
&grant;
|
|
|
|
|
&insert;
|
|
|
|
|
&listen;
|
|
|
|
|
&load;
|
|
|
|
|
&lock;
|
|
|
|
|
&move;
|
|
|
|
|
¬ify;
|
2002-08-27 00:55:12 -04:00
|
|
|
&prepare;
|
2005-06-17 18:32:51 -04:00
|
|
|
&prepareTransaction;
|
2005-11-21 07:49:33 -05:00
|
|
|
&reassignOwned;
|
2000-11-24 12:44:22 -05:00
|
|
|
&reindex;
|
2004-08-01 13:32:22 -04:00
|
|
|
&releaseSavepoint;
|
2000-11-24 12:44:22 -05:00
|
|
|
&reset;
|
|
|
|
|
&revoke;
|
|
|
|
|
&rollback;
|
2005-06-17 18:32:51 -04:00
|
|
|
&rollbackPrepared;
|
2004-08-01 13:32:22 -04:00
|
|
|
&rollbackTo;
|
|
|
|
|
&savepoint;
|
2000-11-24 12:44:22 -05:00
|
|
|
&select;
|
|
|
|
|
&selectInto;
|
|
|
|
|
&set;
|
|
|
|
|
&setConstraints;
|
2005-07-25 18:12:34 -04:00
|
|
|
&setRole;
|
2001-05-08 17:06:43 -04:00
|
|
|
&setSessionAuth;
|
2000-11-24 12:44:22 -05:00
|
|
|
&setTransaction;
|
|
|
|
|
&show;
|
2002-08-04 00:31:44 -04:00
|
|
|
&startTransaction;
|
2000-11-24 12:44:22 -05:00
|
|
|
&truncate;
|
|
|
|
|
&unlisten;
|
|
|
|
|
&update;
|
|
|
|
|
&vacuum;
|
2006-09-18 15:54:01 -04:00
|
|
|
&values;
|
2002-03-18 21:18:25 -05:00
|
|
|
|
2000-11-24 12:44:22 -05:00
|
|
|
</reference>
|
1998-05-13 01:34:39 -04:00
|
|
|
|
2000-11-24 12:44:22 -05:00
|
|
|
<reference id="reference-client">
|
2000-12-25 18:15:27 -05:00
|
|
|
<title>PostgreSQL Client Applications</title>
|
1998-05-13 01:34:39 -04:00
|
|
|
|
2000-11-24 12:44:22 -05:00
|
|
|
<partintro>
|
|
|
|
|
<para>
|
2001-09-03 08:57:50 -04:00
|
|
|
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.
|
2000-11-24 12:44:22 -05:00
|
|
|
</para>
|
|
|
|
|
</partintro>
|
|
|
|
|
|
2002-08-26 23:38:28 -04:00
|
|
|
&clusterdb;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createdb;
|
2001-09-03 08:57:50 -04:00
|
|
|
&createlang;
|
2000-11-24 12:44:22 -05:00
|
|
|
&createuser;
|
|
|
|
|
&dropdb;
|
2001-09-03 08:57:50 -04:00
|
|
|
&droplang;
|
2000-11-24 12:44:22 -05:00
|
|
|
&dropuser;
|
|
|
|
|
&ecpgRef;
|
|
|
|
|
&pgConfig;
|
|
|
|
|
&pgDump;
|
|
|
|
|
&pgDumpall;
|
|
|
|
|
&pgRestore;
|
2003-03-24 09:32:51 -05:00
|
|
|
&psqlRef;
|
2005-07-29 11:13:11 -04:00
|
|
|
&reindexdb;
|
2000-11-24 12:44:22 -05:00
|
|
|
&vacuumdb;
|
|
|
|
|
|
|
|
|
|
</reference>
|
|
|
|
|
|
|
|
|
|
<reference id="reference-server">
|
2000-12-25 18:15:27 -05:00
|
|
|
<title>PostgreSQL Server Applications</title>
|
2000-11-24 12:44:22 -05:00
|
|
|
|
|
|
|
|
<partintro>
|
|
|
|
|
<para>
|
2001-09-03 08:57:50 -04:00
|
|
|
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">.
|
2000-11-24 12:44:22 -05:00
|
|
|
</para>
|
|
|
|
|
</partintro>
|
|
|
|
|
|
|
|
|
|
&initdb;
|
|
|
|
|
&ipcclean;
|
2002-08-16 16:34:06 -04:00
|
|
|
&pgControldata;
|
2003-03-24 09:32:51 -05:00
|
|
|
&pgCtl;
|
2002-08-16 23:38:43 -04:00
|
|
|
&pgResetxlog;
|
2000-11-24 12:44:22 -05:00
|
|
|
&postgres;
|
|
|
|
|
&postmaster;
|
|
|
|
|
|
|
|
|
|
</reference>
|
1998-05-13 01:34:39 -04:00
|
|
|
|
2003-03-25 11:15:44 -05:00
|
|
|
</part>
|