</para>
<refentry id="CONTRIB-DBLINK-CONNECT">
+ <indexterm>
+ <primary>dblink_connect</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_connect</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>opens a persistent connection to a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_connect</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_connect(text connstr) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-CONNECT-U">
+ <indexterm>
+ <primary>dblink_connect_u</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_connect_u</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>opens a persistent connection to a remote database, insecurely</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_connect_u</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_connect_u(text connstr) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-DISCONNECT">
+ <indexterm>
+ <primary>dblink_disconnect</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_disconnect</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>closes a persistent connection to a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_disconnect</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_disconnect() returns text
</refentry>
<refentry id="CONTRIB-DBLINK-FUNCTION">
+ <indexterm>
+ <primary>dblink</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>executes a query in a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink(text connname, text sql [, bool fail_on_error]) returns setof record
</refentry>
<refentry id="CONTRIB-DBLINK-EXEC">
+ <indexterm>
+ <primary>dblink_exec</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_exec</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>executes a command in a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_exec</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_exec(text connname, text sql [, bool fail_on_error]) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-OPEN">
+ <indexterm>
+ <primary>dblink_open</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_open</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>opens a cursor in a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_open</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_open(text cursorname, text sql [, bool fail_on_error]) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-FETCH">
+ <indexterm>
+ <primary>dblink_fetch</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_fetch</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>returns rows from an open cursor in a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_fetch</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_fetch(text cursorname, int howmany [, bool fail_on_error]) returns setof record
</refentry>
<refentry id="CONTRIB-DBLINK-CLOSE">
+ <indexterm>
+ <primary>dblink_close</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_close</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>closes a cursor in a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_close</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_close(text cursorname [, bool fail_on_error]) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-GET-CONNECTIONS">
+ <indexterm>
+ <primary>dblink_get_connections</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_get_connections</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>returns the names of all open named dblink connections</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_get_connections</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_get_connections() returns text[]
</refentry>
<refentry id="CONTRIB-DBLINK-ERROR-MESSAGE">
+ <indexterm>
+ <primary>dblink_error_message</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_error_message</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>gets last error message on the named connection</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_error_message</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_error_message(text connname) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-SEND-QUERY">
+ <indexterm>
+ <primary>dblink_send_query</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_send_query</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>sends an async query to a remote database</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_send_query</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_send_query(text connname, text sql) returns int
</refentry>
<refentry id="CONTRIB-DBLINK-IS-BUSY">
+ <indexterm>
+ <primary>dblink_is_busy</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_is_busy</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>checks if connection is busy with an async query</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_is_busy</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_is_busy(text connname) returns int
</refentry>
<refentry id="CONTRIB-DBLINK-GET-NOTIFY">
+ <indexterm>
+ <primary>dblink_get_notify</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_get_notify</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>retrieve async notifications on a connection</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_get_notify</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_get_notify() returns setof (notify_name text, be_pid int, extra text)
</refentry>
<refentry id="CONTRIB-DBLINK-GET-RESULT">
+ <indexterm>
+ <primary>dblink_get_result</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_get_result</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>gets an async query result</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_get_result</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_get_result(text connname [, bool fail_on_error]) returns setof record
</refentry>
<refentry id="CONTRIB-DBLINK-CANCEL-QUERY">
+ <indexterm>
+ <primary>dblink_cancel_query</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_cancel_query</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>cancels any active query on the named connection</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_cancel_query</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_cancel_query(text connname) returns text
</refentry>
<refentry id="CONTRIB-DBLINK-GET-PKEY">
+ <indexterm>
+ <primary>dblink_get_pkey</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_get_pkey</refentrytitle>
<manvolnum>3</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_get_pkey</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_get_pkey(text relname) returns setof dblink_pkey_results
</refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-INSERT">
+ <indexterm>
+ <primary>dblink_build_sql_insert</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_build_sql_insert</refentrytitle>
<manvolnum>3</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_build_sql_insert</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_build_sql_insert(text relname,
</refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-DELETE">
+ <indexterm>
+ <primary>dblink_build_sql_delete</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_build_sql_delete</refentrytitle>
<manvolnum>3</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_build_sql_delete</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_build_sql_delete(text relname,
</refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-UPDATE">
+ <indexterm>
+ <primary>dblink_build_sql_update</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>dblink_build_sql_update</refentrytitle>
<manvolnum>3</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm>
- <primary>dblink_build_sql_update</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
dblink_build_sql_update(text relname,
<!-- doc/src/sgml/oid2name.sgml -->
<refentry id="oid2name">
+ <indexterm zone="oid2name">
+ <primary>oid2name</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>oid2name</refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>resolve OIDs and file nodes in a <productname>PostgreSQL</productname> data directory</refpurpose>
</refnamediv>
- <indexterm zone="oid2name">
- <primary>oid2name</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>oid2name</command>
-->
<refentry id="pgxlogdump">
+ <indexterm zone="pgxlogdump">
+ <primary>pg_xlogdump</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_xlogdump</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>Display a human-readable rendering of the write-ahead log of a <productname>PostgreSQL</productname> database cluster</refpurpose>
</refnamediv>
- <indexterm zone="pgxlogdump">
- <primary>pg_xlogdump</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_xlogdump</command>
<!-- doc/src/sgml/pgarchivecleanup.sgml -->
<refentry id="pgarchivecleanup">
+ <indexterm zone="pgarchivecleanup">
+ <primary>pg_archivecleanup</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_archivecleanup</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>clean up <productname>PostgreSQL</productname> WAL archive files</refpurpose>
</refnamediv>
- <indexterm zone="pgarchivecleanup">
- <primary>pg_archivecleanup</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_archivecleanup</command>
<!-- doc/src/sgml/pgbench.sgml -->
<refentry id="pgbench">
+ <indexterm zone="pgbench">
+ <primary>pgbench</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pgbench</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>run a benchmark test on <productname>PostgreSQL</productname></refpurpose>
</refnamediv>
- <indexterm zone="pgbench">
- <primary>pgbench</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pgbench</command>
<!-- doc/src/sgml/pgstandby.sgml -->
<refentry id="pgstandby">
+ <indexterm zone="pgstandby">
+ <primary>pg_standby</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_standby</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>supports the creation of a <productname>PostgreSQL</productname> warm standby server</refpurpose>
</refnamediv>
- <indexterm zone="pgstandby">
- <primary>pg_standby</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_standby</command>
<!-- doc/src/sgml/pgtestfsync.sgml -->
<refentry id="pgtestfsync">
+ <indexterm zone="pgtestfsync">
+ <primary>pg_test_fsync</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_test_fsync</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>determine fastest wal_sync_method for <productname>PostgreSQL</productname></refpurpose>
</refnamediv>
- <indexterm zone="pgtestfsync">
- <primary>pg_test_fsync</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_test_fsync</command>
<!-- doc/src/sgml/pgtesttiming.sgml -->
<refentry id="pgtesttiming">
+ <indexterm zone="pgtesttiming">
+ <primary>pg_test_timing</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_test_timing</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>measure timing overhead</refpurpose>
</refnamediv>
- <indexterm zone="pgtesttiming">
- <primary>pg_test_timing</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_test_timing</command>
<!-- doc/src/sgml/pgupgrade.sgml -->
<refentry id="pgupgrade">
+ <indexterm zone="pgupgrade">
+ <primary>pg_upgrade</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_upgrade</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>upgrade a <productname>PostgreSQL</productname> server instance</refpurpose>
</refnamediv>
- <indexterm zone="pgupgrade">
- <primary>pg_upgrade</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_upgrade</command>
-->
<refentry id="SQL-ABORT">
+ <indexterm zone="sql-abort">
+ <primary>ABORT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ABORT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>abort the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-abort">
- <primary>ABORT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ABORT [ WORK | TRANSACTION ]
-->
<refentry id="SQL-ALTERAGGREGATE">
+ <indexterm zone="sql-alteraggregate">
+ <primary>ALTER AGGREGATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER AGGREGATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an aggregate function</refpurpose>
</refnamediv>
- <indexterm zone="sql-alteraggregate">
- <primary>ALTER AGGREGATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER AGGREGATE <replaceable>name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERCOLLATION">
+ <indexterm zone="sql-altercollation">
+ <primary>ALTER COLLATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER COLLATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a collation</refpurpose>
</refnamediv>
- <indexterm zone="sql-altercollation">
- <primary>ALTER COLLATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER COLLATION <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERCONVERSION">
+ <indexterm zone="sql-alterconversion">
+ <primary>ALTER CONVERSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER CONVERSION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a conversion</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterconversion">
- <primary>ALTER CONVERSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER CONVERSION <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERDATABASE">
+ <indexterm zone="sql-alterdatabase">
+ <primary>ALTER DATABASE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER DATABASE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change a database</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterdatabase">
- <primary>ALTER DATABASE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-ALTERDEFAULTPRIVILEGES">
+ <indexterm zone="sql-alterdefaultprivileges">
+ <primary>ALTER DEFAULT PRIVILEGES</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER DEFAULT PRIVILEGES</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define default access privileges</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterdefaultprivileges">
- <primary>ALTER DEFAULT PRIVILEGES</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER DEFAULT PRIVILEGES
-->
<refentry id="SQL-ALTERDOMAIN">
+ <indexterm zone="sql-alterdomain">
+ <primary>ALTER DOMAIN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER DOMAIN</refentrytitle>
<manvolnum>7</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterdomain">
- <primary>ALTER DOMAIN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-ALTEREVENTTRIGGER">
+ <indexterm zone="sql-altereventtrigger">
+ <primary>ALTER EVENT TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER EVENT TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an event trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-altereventtrigger">
- <primary>ALTER EVENT TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> DISABLE
-->
<refentry id="SQL-ALTEREXTENSION">
+ <indexterm zone="sql-alterextension">
+ <primary>ALTER EXTENSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER EXTENSION</refentrytitle>
<manvolnum>7</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterextension">
- <primary>ALTER EXTENSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> UPDATE [ TO <replaceable class="PARAMETER">new_version</replaceable> ]
-->
<refentry id="SQL-ALTERFOREIGNDATAWRAPPER">
+ <indexterm zone="sql-alterforeigndatawrapper">
+ <primary>ALTER FOREIGN DATA WRAPPER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER FOREIGN DATA WRAPPER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a foreign-data wrapper</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterforeigndatawrapper">
- <primary>ALTER FOREIGN DATA WRAPPER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
-->
<refentry id="SQL-ALTERFOREIGNTABLE">
+ <indexterm zone="sql-alterforeigntable">
+ <primary>ALTER FOREIGN TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER FOREIGN TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a foreign table</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterforeigntable">
- <primary>ALTER FOREIGN TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-ALTERFUNCTION">
+ <indexterm zone="sql-alterfunction">
+ <primary>ALTER FUNCTION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER FUNCTION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a function</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterfunction">
- <primary>ALTER FUNCTION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] )
-->
<refentry id="SQL-ALTERGROUP">
+ <indexterm zone="sql-altergroup">
+ <primary>ALTER GROUP</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER GROUP</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change role name or membership</refpurpose>
</refnamediv>
- <indexterm zone="sql-altergroup">
- <primary>ALTER GROUP</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> ADD USER <replaceable class="PARAMETER">user_name</replaceable> [, ... ]
-->
<refentry id="SQL-ALTERINDEX">
+ <indexterm zone="sql-alterindex">
+ <primary>ALTER INDEX</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER INDEX</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an index</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterindex">
- <primary>ALTER INDEX</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable>
-->
<refentry id="SQL-ALTERLANGUAGE">
+ <indexterm zone="sql-alterlanguage">
+ <primary>ALTER LANGUAGE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER LANGUAGE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a procedural language</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterlanguage">
- <primary>ALTER LANGUAGE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER [ PROCEDURAL ] LANGUAGE <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERLARGEOBJECT">
+ <indexterm zone="sql-alterlargeobject">
+ <primary>ALTER LARGE OBJECT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER LARGE OBJECT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a large object</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterlargeobject">
- <primary>ALTER LARGE OBJECT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> OWNER TO <replaceable>new_owner</replaceable>
-->
<refentry id="SQL-ALTERMATERIALIZEDVIEW">
+ <indexterm zone="sql-altermaterializedview">
+ <primary>ALTER MATERIALIZED VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER MATERIALIZED VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a materialized view</refpurpose>
</refnamediv>
- <indexterm zone="sql-altermaterializedview">
- <primary>ALTER MATERIALIZED VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-ALTEROPCLASS">
+ <indexterm zone="sql-alteropclass">
+ <primary>ALTER OPERATOR CLASS</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER OPERATOR CLASS</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an operator class</refpurpose>
</refnamediv>
- <indexterm zone="sql-alteropclass">
- <primary>ALTER OPERATOR CLASS</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER OPERATOR CLASS <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTEROPERATOR">
+ <indexterm zone="sql-alteroperator">
+ <primary>ALTER OPERATOR</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER OPERATOR</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an operator</refpurpose>
</refnamediv>
- <indexterm zone="sql-alteroperator">
- <primary>ALTER OPERATOR</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER OPERATOR <replaceable>name</replaceable> ( { <replaceable>left_type</replaceable> | NONE } , { <replaceable>right_type</replaceable> | NONE } ) OWNER TO <replaceable>new_owner</replaceable>
-->
<refentry id="SQL-ALTEROPFAMILY">
+ <indexterm zone="sql-alteropfamily">
+ <primary>ALTER OPERATOR FAMILY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER OPERATOR FAMILY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of an operator family</refpurpose>
</refnamediv>
- <indexterm zone="sql-alteropfamily">
- <primary>ALTER OPERATOR FAMILY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable> ADD
-->
<refentry id="SQL-ALTERROLE">
+ <indexterm zone="sql-alterrole">
+ <primary>ALTER ROLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER ROLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterrole">
- <primary>ALTER ROLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-ALTERRULE">
+ <indexterm zone="sql-alterrule">
+ <primary>ALTER RULE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER RULE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a rule</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterrule">
- <primary>ALTER RULE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable>
-->
<refentry id="SQL-ALTERSCHEMA">
+ <indexterm zone="sql-alterschema">
+ <primary>ALTER SCHEMA</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER SCHEMA</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a schema</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterschema">
- <primary>ALTER SCHEMA</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER SCHEMA <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERSEQUENCE">
+ <indexterm zone="sql-altersequence">
+ <primary>ALTER SEQUENCE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER SEQUENCE</refentrytitle>
<manvolnum>7</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="sql-altersequence">
- <primary>ALTER SEQUENCE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ INCREMENT [ BY ] <replaceable class="parameter">increment</replaceable> ]
-->
<refentry id="SQL-ALTERSERVER">
+ <indexterm zone="sql-alterserver">
+ <primary>ALTER SERVER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER SERVER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a foreign server</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterserver">
- <primary>ALTER SERVER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER SERVER <replaceable class="parameter">name</replaceable> [ VERSION '<replaceable class="parameter">new_version</replaceable>' ]
-->
<refentry id="SQL-ALTERSYSTEM">
+ <indexterm zone="sql-altersystem">
+ <primary>ALTER SYSTEM</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER SYSTEM</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change a server configuration parameter</refpurpose>
</refnamediv>
- <indexterm zone="sql-altersystem">
- <primary>ALTER SYSTEM</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER SYSTEM SET <replaceable class="PARAMETER">configuration_parameter</replaceable> { TO | = } { <replaceable class="PARAMETER">value</replaceable> | '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT }
-->
<refentry id="SQL-ALTERTABLE">
+ <indexterm zone="sql-altertable">
+ <primary>ALTER TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertable">
- <primary>ALTER TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ]
-->
<refentry id="SQL-ALTERTABLESPACE">
+ <indexterm zone="sql-altertablespace">
+ <primary>ALTER TABLESPACE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TABLESPACE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a tablespace or affect objects of a tablespace</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertablespace">
- <primary>ALTER TABLESPACE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TABLESPACE <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERTRIGGER">
+ <indexterm zone="sql-altertrigger">
+ <primary>ALTER TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertrigger">
- <primary>ALTER TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable>
-->
<refentry id="SQL-ALTERTSCONFIG">
+ <indexterm zone="sql-altertsconfig">
+ <primary>ALTER TEXT SEARCH CONFIGURATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TEXT SEARCH CONFIGURATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a text search configuration</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertsconfig">
- <primary>ALTER TEXT SEARCH CONFIGURATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TEXT SEARCH CONFIGURATION <replaceable>name</replaceable>
-->
<refentry id="SQL-ALTERTSDICTIONARY">
+ <indexterm zone="sql-altertsdictionary">
+ <primary>ALTER TEXT SEARCH DICTIONARY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TEXT SEARCH DICTIONARY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a text search dictionary</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertsdictionary">
- <primary>ALTER TEXT SEARCH DICTIONARY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TEXT SEARCH DICTIONARY <replaceable>name</replaceable> (
-->
<refentry id="SQL-ALTERTSPARSER">
+ <indexterm zone="sql-altertsparser">
+ <primary>ALTER TEXT SEARCH PARSER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TEXT SEARCH PARSER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a text search parser</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertsparser">
- <primary>ALTER TEXT SEARCH PARSER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TEXT SEARCH PARSER <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERTSTEMPLATE">
+ <indexterm zone="sql-altertstemplate">
+ <primary>ALTER TEXT SEARCH TEMPLATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TEXT SEARCH TEMPLATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a text search template</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertstemplate">
- <primary>ALTER TEXT SEARCH TEMPLATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TEXT SEARCH TEMPLATE <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
-->
<refentry id="SQL-ALTERTYPE">
+ <indexterm zone="sql-altertype">
+ <primary>ALTER TYPE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER TYPE</refentrytitle>
<manvolnum>7</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="sql-altertype">
- <primary>ALTER TYPE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> <replaceable class="PARAMETER">action</replaceable> [, ... ]
-->
<refentry id="SQL-ALTERUSER">
+ <indexterm zone="sql-alteruser">
+ <primary>ALTER USER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER USER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-alteruser">
- <primary>ALTER USER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-ALTERUSERMAPPING">
+ <indexterm zone="sql-alterusermapping">
+ <primary>ALTER USER MAPPING</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER USER MAPPING</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a user mapping</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterusermapping">
- <primary>ALTER USER MAPPING</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | PUBLIC }
-->
<refentry id="SQL-ALTERVIEW">
+ <indexterm zone="sql-alterview">
+ <primary>ALTER VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ALTER VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the definition of a view</refpurpose>
</refnamediv>
- <indexterm zone="sql-alterview">
- <primary>ALTER VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET DEFAULT <replaceable class="PARAMETER">expression</replaceable>
-->
<refentry id="SQL-ANALYZE">
+ <indexterm zone="sql-analyze">
+ <primary>ANALYZE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ANALYZE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>collect statistics about a database</refpurpose>
</refnamediv>
- <indexterm zone="sql-analyze">
- <primary>ANALYZE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_name</replaceable> [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] ]
-->
<refentry id="SQL-BEGIN">
+ <indexterm zone="sql-begin">
+ <primary>BEGIN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>BEGIN</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>start a transaction block</refpurpose>
</refnamediv>
- <indexterm zone="sql-begin">
- <primary>BEGIN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</replaceable> [, ...] ]
<!-- doc/src/sgml/ref/checkpoint.sgml -->
<refentry id="sql-checkpoint">
+ <indexterm zone="sql-checkpoint">
+ <primary>CHECKPOINT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CHECKPOINT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>force a transaction log checkpoint</refpurpose>
</refnamediv>
- <indexterm zone="sql-checkpoint">
- <primary>CHECKPOINT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CHECKPOINT
-->
<refentry id="SQL-CLOSE">
+ <indexterm zone="sql-close">
+ <primary>CLOSE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-close">
+ <primary>cursor</primary>
+ <secondary>CLOSE</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CLOSE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>close a cursor</refpurpose>
</refnamediv>
- <indexterm zone="sql-close">
- <primary>CLOSE</primary>
- </indexterm>
-
- <indexterm zone="sql-close">
- <primary>cursor</primary>
- <secondary>CLOSE</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
-->
<refentry id="SQL-CLUSTER">
+ <indexterm zone="sql-cluster">
+ <primary>CLUSTER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CLUSTER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>cluster a table according to an index</refpurpose>
</refnamediv>
- <indexterm zone="sql-cluster">
- <primary>CLUSTER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CLUSTER [VERBOSE] <replaceable class="PARAMETER">table_name</replaceable> [ USING <replaceable class="PARAMETER">index_name</replaceable> ]
-->
<refentry id="APP-CLUSTERDB">
+ <indexterm zone="app-clusterdb">
+ <primary>clusterdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>clusterdb</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>cluster a <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="app-clusterdb">
- <primary>clusterdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>clusterdb</command>
-->
<refentry id="SQL-COMMENT">
+ <indexterm zone="sql-comment">
+ <primary>COMMENT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>COMMENT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define or change the comment of an object</refpurpose>
</refnamediv>
- <indexterm zone="sql-comment">
- <primary>COMMENT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
COMMENT ON
-->
<refentry id="SQL-COMMIT">
+ <indexterm zone="sql-commit">
+ <primary>COMMIT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>COMMIT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>commit the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-commit">
- <primary>COMMIT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
COMMIT [ WORK | TRANSACTION ]
-->
<refentry id="SQL-COMMIT-PREPARED">
+ <indexterm zone="sql-commit-prepared">
+ <primary>COMMIT PREPARED</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>COMMIT PREPARED</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>commit a transaction that was earlier prepared for two-phase commit</refpurpose>
</refnamediv>
- <indexterm zone="sql-commit-prepared">
- <primary>COMMIT PREPARED</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
COMMIT PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
<refentry id="SQL-COPY">
+ <indexterm zone="sql-copy">
+ <primary>COPY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>COPY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>copy data between a file and a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-copy">
- <primary>COPY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
COPY <replaceable class="parameter">table_name</replaceable> [ ( <replaceable class="parameter">column_name</replaceable> [, ...] ) ]
-->
<refentry id="SQL-CREATEAGGREGATE">
+ <indexterm zone="sql-createaggregate">
+ <primary>CREATE AGGREGATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE AGGREGATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new aggregate function</refpurpose>
</refnamediv>
- <indexterm zone="sql-createaggregate">
- <primary>CREATE AGGREGATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE AGGREGATE <replaceable class="parameter">name</replaceable> ( [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ) (
<!-- doc/src/sgml/ref/create_cast.sgml -->
<refentry id="SQL-CREATECAST">
+ <indexterm zone="sql-createcast">
+ <primary>CREATE CAST</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE CAST</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new cast</refpurpose>
</refnamediv>
- <indexterm zone="sql-createcast">
- <primary>CREATE CAST</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE CAST (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>)
<!-- doc/src/sgml/ref/create_collation.sgml -->
<refentry id="SQL-CREATECOLLATION">
+ <indexterm zone="sql-createcollation">
+ <primary>CREATE COLLATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE COLLATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new collation</refpurpose>
</refnamediv>
- <indexterm zone="sql-createcollation">
- <primary>CREATE COLLATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE COLLATION <replaceable>name</replaceable> (
<!-- doc/src/sgml/ref/create_conversion.sgml -->
<refentry id="SQL-CREATECONVERSION">
+ <indexterm zone="sql-createconversion">
+ <primary>CREATE CONVERSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE CONVERSION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new encoding conversion</refpurpose>
</refnamediv>
- <indexterm zone="sql-createconversion">
- <primary>CREATE CONVERSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ DEFAULT ] CONVERSION <replaceable>name</replaceable>
-->
<refentry id="SQL-CREATEDATABASE">
+ <indexterm zone="sql-createdatabase">
+ <primary>CREATE DATABASE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE DATABASE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>create a new database</refpurpose>
</refnamediv>
- <indexterm zone="sql-createdatabase">
- <primary>CREATE DATABASE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-CREATEDOMAIN">
+ <indexterm zone="sql-createdomain">
+ <primary>CREATE DOMAIN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE DOMAIN</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new domain</refpurpose>
</refnamediv>
- <indexterm zone="sql-createdomain">
- <primary>CREATE DOMAIN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replaceable class="parameter">data_type</replaceable>
-->
<refentry id="SQL-CREATEEVENTTRIGGER">
+ <indexterm zone="sql-createeventtrigger">
+ <primary>CREATE EVENT TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE EVENT TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new event trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-createeventtrigger">
- <primary>CREATE EVENT TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-CREATEEXTENSION">
+ <indexterm zone="sql-createextension">
+ <primary>CREATE EXTENSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE EXTENSION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>install an extension</refpurpose>
</refnamediv>
- <indexterm zone="sql-createextension">
- <primary>CREATE EXTENSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE EXTENSION [ IF NOT EXISTS ] <replaceable class="parameter">extension_name</replaceable>
-->
<refentry id="SQL-CREATEFOREIGNDATAWRAPPER">
+ <indexterm zone="sql-createforeigndatawrapper">
+ <primary>CREATE FOREIGN DATA WRAPPER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE FOREIGN DATA WRAPPER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new foreign-data wrapper</refpurpose>
</refnamediv>
- <indexterm zone="sql-createforeigndatawrapper">
- <primary>CREATE FOREIGN DATA WRAPPER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
<!-- doc/src/sgml/ref/create_foreign_table.sgml -->
<refentry id="SQL-CREATEFOREIGNTABLE">
+ <indexterm zone="sql-createforeigntable">
+ <primary>CREATE FOREIGN TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE FOREIGN TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new foreign table</refpurpose>
</refnamediv>
- <indexterm zone="sql-createforeigntable">
- <primary>CREATE FOREIGN TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> ( [
-->
<refentry id="SQL-CREATEFUNCTION">
+ <indexterm zone="sql-createfunction">
+ <primary>CREATE FUNCTION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE FUNCTION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new function</refpurpose>
</refnamediv>
- <indexterm zone="sql-createfunction">
- <primary>CREATE FUNCTION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ OR REPLACE ] FUNCTION
-->
<refentry id="SQL-CREATEGROUP">
+ <indexterm zone="sql-creategroup">
+ <primary>CREATE GROUP</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE GROUP</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-creategroup">
- <primary>CREATE GROUP</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE GROUP <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-CREATEINDEX">
+ <indexterm zone="sql-createindex">
+ <primary>CREATE INDEX</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE INDEX</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new index</refpurpose>
</refnamediv>
- <indexterm zone="sql-createindex">
- <primary>CREATE INDEX</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ <replaceable class="parameter">name</replaceable> ] ON <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">method</replaceable> ]
-->
<refentry id="SQL-CREATELANGUAGE">
+ <indexterm zone="sql-createlanguage">
+ <primary>CREATE LANGUAGE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE LANGUAGE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new procedural language</refpurpose>
</refnamediv>
- <indexterm zone="sql-createlanguage">
- <primary>CREATE LANGUAGE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ OR REPLACE ] [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">name</replaceable>
-->
<refentry id="SQL-CREATEMATERIALIZEDVIEW">
+ <indexterm zone="sql-creatematerializedview">
+ <primary>CREATE MATERIALIZED VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE MATERIALIZED VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new materialized view</refpurpose>
</refnamediv>
- <indexterm zone="sql-creatematerializedview">
- <primary>CREATE MATERIALIZED VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE MATERIALIZED VIEW <replaceable>table_name</replaceable>
-->
<refentry id="SQL-CREATEOPCLASS">
+ <indexterm zone="sql-createopclass">
+ <primary>CREATE OPERATOR CLASS</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE OPERATOR CLASS</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new operator class</refpurpose>
</refnamediv>
- <indexterm zone="sql-createopclass">
- <primary>CREATE OPERATOR CLASS</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE OPERATOR CLASS <replaceable class="parameter">name</replaceable> [ DEFAULT ] FOR TYPE <replaceable class="parameter">data_type</replaceable>
-->
<refentry id="SQL-CREATEOPERATOR">
+ <indexterm zone="sql-createoperator">
+ <primary>CREATE OPERATOR</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE OPERATOR</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new operator</refpurpose>
</refnamediv>
- <indexterm zone="sql-createoperator">
- <primary>CREATE OPERATOR</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE OPERATOR <replaceable>name</replaceable> (
-->
<refentry id="SQL-CREATEOPFAMILY">
+ <indexterm zone="sql-createopfamily">
+ <primary>CREATE OPERATOR FAMILY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE OPERATOR FAMILY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new operator family</refpurpose>
</refnamediv>
- <indexterm zone="sql-createopfamily">
- <primary>CREATE OPERATOR FAMILY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE OPERATOR FAMILY <replaceable class="parameter">name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
-->
<refentry id="SQL-CREATEROLE">
+ <indexterm zone="sql-createrole">
+ <primary>CREATE ROLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE ROLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-createrole">
- <primary>CREATE ROLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-CREATERULE">
+ <indexterm zone="sql-createrule">
+ <primary>CREATE RULE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE RULE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new rewrite rule</refpurpose>
</refnamediv>
- <indexterm zone="sql-createrule">
- <primary>CREATE RULE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS ON <replaceable class="parameter">event</replaceable>
-->
<refentry id="SQL-CREATESCHEMA">
+ <indexterm zone="sql-createschema">
+ <primary>CREATE SCHEMA</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE SCHEMA</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new schema</refpurpose>
</refnamediv>
- <indexterm zone="sql-createschema">
- <primary>CREATE SCHEMA</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE SCHEMA <replaceable class="parameter">schema_name</replaceable> [ AUTHORIZATION <replaceable class="parameter">user_name</replaceable> ] [ <replaceable class="parameter">schema_element</replaceable> [ ... ] ]
-->
<refentry id="SQL-CREATESEQUENCE">
+ <indexterm zone="sql-createsequence">
+ <primary>CREATE SEQUENCE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE SEQUENCE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new sequence generator</refpurpose>
</refnamediv>
- <indexterm zone="sql-createsequence">
- <primary>CREATE SEQUENCE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ TEMPORARY | TEMP ] SEQUENCE <replaceable class="parameter">name</replaceable> [ INCREMENT [ BY ] <replaceable class="parameter">increment</replaceable> ]
-->
<refentry id="SQL-CREATESERVER">
+ <indexterm zone="sql-createserver">
+ <primary>CREATE SERVER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE SERVER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new foreign server</refpurpose>
</refnamediv>
- <indexterm zone="sql-createserver">
- <primary>CREATE SERVER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE SERVER <replaceable class="parameter">server_name</replaceable> [ TYPE '<replaceable class="parameter">server_type</replaceable>' ] [ VERSION '<replaceable class="parameter">server_version</replaceable>' ]
-->
<refentry id="SQL-CREATETABLE">
+ <indexterm zone="sql-createtable">
+ <primary>CREATE TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new table</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtable">
- <primary>CREATE TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> ( [
-->
<refentry id="SQL-CREATETABLEAS">
+ <indexterm zone="sql-createtableas">
+ <primary>CREATE TABLE AS</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TABLE AS</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new table from the results of a query</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtableas">
- <primary>CREATE TABLE AS</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE <replaceable>table_name</replaceable>
-->
<refentry id="SQL-CREATETABLESPACE">
+ <indexterm zone="sql-createtablespace">
+ <primary>CREATE TABLESPACE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TABLESPACE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new tablespace</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtablespace">
- <primary>CREATE TABLESPACE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TABLESPACE <replaceable class="parameter">tablespace_name</replaceable>
-->
<refentry id="SQL-CREATETRIGGER">
+ <indexterm zone="sql-createtrigger">
+ <primary>CREATE TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtrigger">
- <primary>CREATE TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ CONSTRAINT ] TRIGGER <replaceable class="PARAMETER">name</replaceable> { BEFORE | AFTER | INSTEAD OF } { <replaceable class="PARAMETER">event</replaceable> [ OR ... ] }
-->
<refentry id="SQL-CREATETSCONFIG">
+ <indexterm zone="sql-createtsconfig">
+ <primary>CREATE TEXT SEARCH CONFIGURATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TEXT SEARCH CONFIGURATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new text search configuration</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtsconfig">
- <primary>CREATE TEXT SEARCH CONFIGURATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TEXT SEARCH CONFIGURATION <replaceable class="parameter">name</replaceable> (
-->
<refentry id="SQL-CREATETSDICTIONARY">
+ <indexterm zone="sql-createtsdictionary">
+ <primary>CREATE TEXT SEARCH DICTIONARY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TEXT SEARCH DICTIONARY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new text search dictionary</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtsdictionary">
- <primary>CREATE TEXT SEARCH DICTIONARY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TEXT SEARCH DICTIONARY <replaceable class="parameter">name</replaceable> (
-->
<refentry id="SQL-CREATETSPARSER">
+ <indexterm zone="sql-createtsparser">
+ <primary>CREATE TEXT SEARCH PARSER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TEXT SEARCH PARSER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new text search parser</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtsparser">
- <primary>CREATE TEXT SEARCH PARSER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TEXT SEARCH PARSER <replaceable class="parameter">name</replaceable> (
-->
<refentry id="SQL-CREATETSTEMPLATE">
+ <indexterm zone="sql-createtstemplate">
+ <primary>CREATE TEXT SEARCH TEMPLATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TEXT SEARCH TEMPLATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new text search template</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtstemplate">
- <primary>CREATE TEXT SEARCH TEMPLATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TEXT SEARCH TEMPLATE <replaceable class="parameter">name</replaceable> (
-->
<refentry id="SQL-CREATETYPE">
+ <indexterm zone="sql-createtype">
+ <primary>CREATE TYPE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE TYPE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new data type</refpurpose>
</refnamediv>
- <indexterm zone="sql-createtype">
- <primary>CREATE TYPE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE TYPE <replaceable class="parameter">name</replaceable> AS
-->
<refentry id="SQL-CREATEUSER">
+ <indexterm zone="sql-createuser">
+ <primary>CREATE USER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE USER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-createuser">
- <primary>CREATE USER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ]
-->
<refentry id="SQL-CREATEUSERMAPPING">
+ <indexterm zone="sql-createusermapping">
+ <primary>CREATE USER MAPPING</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE USER MAPPING</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new mapping of a user to a foreign server</refpurpose>
</refnamediv>
- <indexterm zone="sql-createusermapping">
- <primary>CREATE USER MAPPING</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | PUBLIC }
-->
<refentry id="SQL-CREATEVIEW">
+ <indexterm zone="sql-createview">
+ <primary>CREATE VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>CREATE VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new view</refpurpose>
</refnamediv>
- <indexterm zone="sql-createview">
- <primary>CREATE VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ]
-->
<refentry id="APP-CREATEDB">
+ <indexterm zone="app-createdb">
+ <primary>createdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>createdb</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>create a new <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="app-createdb">
- <primary>createdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>createdb</command>
-->
<refentry id="APP-CREATELANG">
+ <indexterm zone="app-createlang">
+ <primary>createlang</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>createlang</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>install a <productname>PostgreSQL</productname> procedural language</refpurpose>
</refnamediv>
- <indexterm zone="app-createlang">
- <primary>createlang</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>createlang</command>
-->
<refentry id="APP-CREATEUSER">
+ <indexterm zone="app-createuser">
+ <primary>createuser</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>createuser</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>define a new <productname>PostgreSQL</productname> user account</refpurpose>
</refnamediv>
- <indexterm zone="app-createuser">
- <primary>createuser</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>createuser</command>
-->
<refentry id="SQL-DEALLOCATE">
+ <indexterm zone="sql-deallocate">
+ <primary>DEALLOCATE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-deallocate">
+ <primary>prepared statements</primary>
+ <secondary>removing</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DEALLOCATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>deallocate a prepared statement</refpurpose>
</refnamediv>
- <indexterm zone="sql-deallocate">
- <primary>DEALLOCATE</primary>
- </indexterm>
-
- <indexterm zone="sql-deallocate">
- <primary>prepared statements</primary>
- <secondary>removing</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DEALLOCATE [ PREPARE ] { <replaceable class="parameter">name</replaceable> | ALL }
-->
<refentry id="SQL-DECLARE">
+ <indexterm zone="sql-declare">
+ <primary>DECLARE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-declare">
+ <primary>cursor</primary>
+ <secondary>DECLARE</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DECLARE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a cursor</refpurpose>
</refnamediv>
- <indexterm zone="sql-declare">
- <primary>DECLARE</primary>
- </indexterm>
-
- <indexterm zone="sql-declare">
- <primary>cursor</primary>
- <secondary>DECLARE</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DECLARE <replaceable class="parameter">name</replaceable> [ BINARY ] [ INSENSITIVE ] [ [ NO ] SCROLL ]
-->
<refentry id="SQL-DELETE">
+ <indexterm zone="sql-delete">
+ <primary>DELETE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DELETE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>delete rows of a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-delete">
- <primary>DELETE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
-->
<refentry id="SQL-DISCARD">
+ <indexterm zone="sql-discard">
+ <primary>DISCARD</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DISCARD</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>discard session state</refpurpose>
</refnamediv>
- <indexterm zone="sql-discard">
- <primary>DISCARD</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DISCARD { ALL | PLANS | SEQUENCES | TEMPORARY | TEMP }
-->
<refentry id="SQL-DO">
+ <indexterm zone="sql-do">
+ <primary>DO</primary>
+ </indexterm>
+
+ <indexterm zone="sql-do">
+ <primary>anonymous code blocks</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DO</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>execute an anonymous code block</refpurpose>
</refnamediv>
- <indexterm zone="sql-do">
- <primary>DO</primary>
- </indexterm>
-
- <indexterm zone="sql-do">
- <primary>anonymous code blocks</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replaceable class="PARAMETER">code</replaceable>
-->
<refentry id="SQL-DROPAGGREGATE">
+ <indexterm zone="sql-dropaggregate">
+ <primary>DROP AGGREGATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP AGGREGATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an aggregate function</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropaggregate">
- <primary>DROP AGGREGATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP AGGREGATE [ IF EXISTS ] <replaceable>name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) [ CASCADE | RESTRICT ]
<!-- doc/src/sgml/ref/drop_cast.sgml -->
<refentry id="SQL-DROPCAST">
+ <indexterm zone="sql-dropcast">
+ <primary>DROP CAST</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP CAST</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a cast</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropcast">
- <primary>DROP CAST</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP CAST [ IF EXISTS ] (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>) [ CASCADE | RESTRICT ]
<!-- doc/src/sgml/ref/drop_collation.sgml -->
<refentry id="SQL-DROPCOLLATION">
+ <indexterm zone="sql-dropcollation">
+ <primary>DROP COLLATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP COLLATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a collation</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropcollation">
- <primary>DROP COLLATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP COLLATION [ IF EXISTS ] <replaceable>name</replaceable> [ CASCADE | RESTRICT ]
<!-- doc/src/sgml/ref/drop_conversion.sgml -->
<refentry id="SQL-DROPCONVERSION">
+ <indexterm zone="sql-dropconversion">
+ <primary>DROP CONVERSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP CONVERSION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a conversion</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropconversion">
- <primary>DROP CONVERSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP CONVERSION [ IF EXISTS ] <replaceable>name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPDATABASE">
+ <indexterm zone="sql-dropdatabase">
+ <primary>DROP DATABASE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP DATABASE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a database</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropdatabase">
- <primary>DROP DATABASE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP DATABASE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-DROPDOMAIN">
+ <indexterm zone="sql-dropdomain">
+ <primary>DROP DOMAIN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP DOMAIN</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a domain</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropdomain">
- <primary>DROP DOMAIN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP DOMAIN [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPEVENTTRIGGER">
+ <indexterm zone="sql-dropeventtrigger">
+ <primary>DROP EVENT TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP EVENT TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an event trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropeventtrigger">
- <primary>DROP EVENT TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP EVENT TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPEXTENSION">
+ <indexterm zone="sql-dropextension">
+ <primary>DROP EXTENSION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP EXTENSION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an extension</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropextension">
- <primary>DROP EXTENSION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPFOREIGNDATAWRAPPER">
+ <indexterm zone="sql-dropforeigndatawrapper">
+ <primary>DROP FOREIGN DATA WRAPPER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP FOREIGN DATA WRAPPER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a foreign-data wrapper</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropforeigndatawrapper">
- <primary>DROP FOREIGN DATA WRAPPER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP FOREIGN DATA WRAPPER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
<!-- doc/src/sggml/ref/drop_foreign_table.sgml -->
<refentry id="SQL-DROPFOREIGNTABLE">
+ <indexterm zone="sql-dropforeigntable">
+ <primary>DROP FOREIGN TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP FOREIGN TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a foreign table</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropforeigntable">
- <primary>DROP FOREIGN TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPFUNCTION">
+ <indexterm zone="sql-dropfunction">
+ <primary>DROP FUNCTION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP FUNCTION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a function</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropfunction">
- <primary>DROP FUNCTION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP FUNCTION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] )
-->
<refentry id="SQL-DROPGROUP">
+ <indexterm zone="sql-dropgroup">
+ <primary>DROP GROUP</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP GROUP</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropgroup">
- <primary>DROP GROUP</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP GROUP [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...]
-->
<refentry id="SQL-DROPINDEX">
+ <indexterm zone="sql-dropindex">
+ <primary>DROP INDEX</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP INDEX</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an index</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropindex">
- <primary>DROP INDEX</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPLANGUAGE">
+ <indexterm zone="sql-droplanguage">
+ <primary>DROP LANGUAGE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP LANGUAGE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a procedural language</refpurpose>
</refnamediv>
- <indexterm zone="sql-droplanguage">
- <primary>DROP LANGUAGE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPMATERIALIZEDVIEW">
+ <indexterm zone="sql-dropmaterializedview">
+ <primary>DROP MATERIALIZED VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP MATERIALIZED VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a materialized view</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropmaterializedview">
- <primary>DROP MATERIALIZED VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPOPCLASS">
+ <indexterm zone="sql-dropopclass">
+ <primary>DROP OPERATOR CLASS</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP OPERATOR CLASS</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an operator class</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropopclass">
- <primary>DROP OPERATOR CLASS</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP OPERATOR CLASS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> USING <replaceable class="PARAMETER">index_method</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPOPERATOR">
+ <indexterm zone="sql-dropoperator">
+ <primary>DROP OPERATOR</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP OPERATOR</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an operator</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropoperator">
- <primary>DROP OPERATOR</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP OPERATOR [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ( { <replaceable class="PARAMETER">left_type</replaceable> | NONE } , { <replaceable class="PARAMETER">right_type</replaceable> | NONE } ) [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPOPFAMILY">
+ <indexterm zone="sql-dropopfamily">
+ <primary>DROP OPERATOR FAMILY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP OPERATOR FAMILY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove an operator family</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropopfamily">
- <primary>DROP OPERATOR FAMILY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP OPERATOR FAMILY [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> USING <replaceable class="PARAMETER">index_method</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROP-OWNED">
+ <indexterm zone="sql-drop-owned">
+ <primary>DROP OWNED</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP OWNED</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove database objects owned by a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-drop-owned">
- <primary>DROP OWNED</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP OWNED BY <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPROLE">
+ <indexterm zone="sql-droprole">
+ <primary>DROP ROLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP ROLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-droprole">
- <primary>DROP ROLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP ROLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...]
-->
<refentry id="SQL-DROPRULE">
+ <indexterm zone="sql-droprule">
+ <primary>DROP RULE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP RULE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a rewrite rule</refpurpose>
</refnamediv>
- <indexterm zone="sql-droprule">
- <primary>DROP RULE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP RULE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPSCHEMA">
+ <indexterm zone="sql-dropschema">
+ <primary>DROP SCHEMA</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP SCHEMA</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a schema</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropschema">
- <primary>DROP SCHEMA</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP SCHEMA [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPSEQUENCE">
+ <indexterm zone="sql-dropsequence">
+ <primary>DROP SEQUENCE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP SEQUENCE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a sequence</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropsequence">
- <primary>DROP SEQUENCE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP SEQUENCE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPSERVER">
+ <indexterm zone="sql-dropserver">
+ <primary>DROP SERVER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP SERVER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a foreign server descriptor</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropserver">
- <primary>DROP SERVER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP SERVER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTABLE">
+ <indexterm zone="sql-droptable">
+ <primary>DROP TABLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TABLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptable">
- <primary>DROP TABLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTABLESPACE">
+ <indexterm zone="sql-droptablespace">
+ <primary>DROP TABLESPACE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TABLESPACE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a tablespace</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptablespace">
- <primary>DROP TABLESPACE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TABLESPACE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-DROPTRIGGER">
+ <indexterm zone="sql-droptrigger">
+ <primary>DROP TRIGGER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TRIGGER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a trigger</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptrigger">
- <primary>DROP TRIGGER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTSCONFIG">
+ <indexterm zone="sql-droptsconfig">
+ <primary>DROP TEXT SEARCH CONFIGURATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TEXT SEARCH CONFIGURATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a text search configuration</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptsconfig">
- <primary>DROP TEXT SEARCH CONFIGURATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTSDICTIONARY">
+ <indexterm zone="sql-droptsdictionary">
+ <primary>DROP TEXT SEARCH DICTIONARY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TEXT SEARCH DICTIONARY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a text search dictionary</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptsdictionary">
- <primary>DROP TEXT SEARCH DICTIONARY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTSPARSER">
+ <indexterm zone="sql-droptsparser">
+ <primary>DROP TEXT SEARCH PARSER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TEXT SEARCH PARSER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a text search parser</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptsparser">
- <primary>DROP TEXT SEARCH PARSER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TEXT SEARCH PARSER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTSTEMPLATE">
+ <indexterm zone="sql-droptstemplate">
+ <primary>DROP TEXT SEARCH TEMPLATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TEXT SEARCH TEMPLATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a text search template</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptstemplate">
- <primary>DROP TEXT SEARCH TEMPLATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPTYPE">
+ <indexterm zone="sql-droptype">
+ <primary>DROP TYPE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP TYPE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a data type</refpurpose>
</refnamediv>
- <indexterm zone="sql-droptype">
- <primary>DROP TYPE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP TYPE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="SQL-DROPUSER">
+ <indexterm zone="sql-dropuser">
+ <primary>DROP USER</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP USER</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropuser">
- <primary>DROP USER</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP USER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...]
-->
<refentry id="SQL-DROPUSERMAPPING">
+ <indexterm zone="sql-dropusermapping">
+ <primary>DROP USER MAPPING</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP USER MAPPING</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a user mapping for a foreign server</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropusermapping">
- <primary>DROP USER MAPPING</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP USER MAPPING [ IF EXISTS ] FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | PUBLIC } SERVER <replaceable class="parameter">server_name</replaceable>
-->
<refentry id="SQL-DROPVIEW">
+ <indexterm zone="sql-dropview">
+ <primary>DROP VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>DROP VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove a view</refpurpose>
</refnamediv>
- <indexterm zone="sql-dropview">
- <primary>DROP VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
DROP VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
-->
<refentry id="APP-DROPDB">
+ <indexterm zone="app-dropdb">
+ <primary>dropdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>dropdb</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>remove a <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="app-dropdb">
- <primary>dropdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>dropdb</command>
-->
<refentry id="APP-DROPLANG">
+ <indexterm zone="app-droplang">
+ <primary>droplang</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>droplang</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>remove a <productname>PostgreSQL</productname> procedural language</refpurpose>
</refnamediv>
- <indexterm zone="app-droplang">
- <primary>droplang</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>droplang</command>
-->
<refentry id="APP-DROPUSER">
+ <indexterm zone="app-dropuser">
+ <primary>dropuser</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>dropuser</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>remove a <productname>PostgreSQL</productname> user account</refpurpose>
</refnamediv>
- <indexterm zone="app-dropuser">
- <primary>dropuser</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>dropuser</command>
-->
<refentry id="APP-ECPG">
+ <indexterm zone="app-ecpg">
+ <primary>ecpg</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>ecpg</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>embedded SQL C preprocessor</refpurpose>
</refnamediv>
- <indexterm zone="app-ecpg">
- <primary>ecpg</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>ecpg</command>
-->
<refentry id="SQL-END">
+ <indexterm zone="sql-end">
+ <primary>END</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>END</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>commit the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-end">
- <primary>END</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
END [ WORK | TRANSACTION ]
-->
<refentry id="SQL-EXECUTE">
+ <indexterm zone="sql-execute">
+ <primary>EXECUTE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-execute">
+ <primary>prepared statements</primary>
+ <secondary>executing</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>EXECUTE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>execute a prepared statement</refpurpose>
</refnamediv>
- <indexterm zone="sql-execute">
- <primary>EXECUTE</primary>
- </indexterm>
-
- <indexterm zone="sql-execute">
- <primary>prepared statements</primary>
- <secondary>executing</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">parameter</replaceable> [, ...] ) ]
-->
<refentry id="SQL-EXPLAIN">
- <refmeta>
- <refentrytitle>EXPLAIN</refentrytitle>
- <manvolnum>7</manvolnum>
- <refmiscinfo>SQL - Language Statements</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>EXPLAIN</refname>
- <refpurpose>show the execution plan of a statement</refpurpose>
- </refnamediv>
-
<indexterm zone="sql-explain">
<primary>EXPLAIN</primary>
</indexterm>
<secondary>showing the query plan</secondary>
</indexterm>
+ <refmeta>
+ <refentrytitle>EXPLAIN</refentrytitle>
+ <manvolnum>7</manvolnum>
+ <refmiscinfo>SQL - Language Statements</refmiscinfo>
+ </refmeta>
+
+ <refnamediv>
+ <refname>EXPLAIN</refname>
+ <refpurpose>show the execution plan of a statement</refpurpose>
+ </refnamediv>
+
<refsynopsisdiv>
<synopsis>
EXPLAIN [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] <replaceable class="parameter">statement</replaceable>
-->
<refentry id="SQL-FETCH">
+
+ <indexterm zone="sql-fetch">
+ <primary>FETCH</primary>
+ </indexterm>
+
+ <indexterm zone="sql-fetch">
+ <primary>cursor</primary>
+ <secondary>FETCH</secondary>
+ </indexterm>
<refmeta>
<refentrytitle>FETCH</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>retrieve rows from a query using a cursor</refpurpose>
</refnamediv>
- <indexterm zone="sql-fetch">
- <primary>FETCH</primary>
- </indexterm>
-
- <indexterm zone="sql-fetch">
- <primary>cursor</primary>
- <secondary>FETCH</secondary>
- </indexterm>
-
<refsynopsisdiv>
<!-- Note the "direction" bit is also in ref/move.sgml -->
<synopsis>
-->
<refentry id="SQL-GRANT">
+ <indexterm zone="sql-grant">
+ <primary>GRANT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>GRANT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define access privileges</refpurpose>
</refnamediv>
- <indexterm zone="sql-grant">
- <primary>GRANT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
-->
<refentry id="APP-INITDB">
+ <indexterm zone="app-initdb">
+ <primary>initdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>initdb</refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>create a new <productname>PostgreSQL</productname> database cluster</refpurpose>
</refnamediv>
- <indexterm zone="app-initdb">
- <primary>initdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>initdb</command>
-->
<refentry id="SQL-INSERT">
+ <indexterm zone="sql-insert">
+ <primary>INSERT</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>INSERT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>create new rows in a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-insert">
- <primary>INSERT</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
-->
<refentry id="SQL-LISTEN">
+ <indexterm zone="sql-listen">
+ <primary>LISTEN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>LISTEN</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>listen for a notification</refpurpose>
</refnamediv>
- <indexterm zone="sql-listen">
- <primary>LISTEN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
LISTEN <replaceable class="PARAMETER">channel</replaceable>
-->
<refentry id="SQL-LOAD">
+ <indexterm zone="sql-load">
+ <primary>LOAD</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>LOAD</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>load a shared library file</refpurpose>
</refnamediv>
- <indexterm zone="sql-load">
- <primary>LOAD</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
LOAD '<replaceable class="PARAMETER">filename</replaceable>'
-->
<refentry id="SQL-LOCK">
+ <indexterm zone="sql-lock">
+ <primary>LOCK</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>LOCK</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>lock a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-lock">
- <primary>LOCK</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] [, ...] [ IN <replaceable class="PARAMETER">lockmode</replaceable> MODE ] [ NOWAIT ]
-->
<refentry id="SQL-MOVE">
+ <indexterm zone="sql-move">
+ <primary>MOVE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-move">
+ <primary>cursor</primary>
+ <secondary>MOVE</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>MOVE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>position a cursor</refpurpose>
</refnamediv>
- <indexterm zone="sql-move">
- <primary>MOVE</primary>
- </indexterm>
-
- <indexterm zone="sql-move">
- <primary>cursor</primary>
- <secondary>MOVE</secondary>
- </indexterm>
-
<refsynopsisdiv>
<!-- Note the "direction" bit is also in ref/fetch.sgml -->
<synopsis>
-->
<refentry id="SQL-NOTIFY">
+ <indexterm zone="sql-notify">
+ <primary>NOTIFY</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>NOTIFY</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>generate a notification</refpurpose>
</refnamediv>
- <indexterm zone="sql-notify">
- <primary>NOTIFY</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable class="PARAMETER">payload</replaceable> ]
-->
<refentry id="app-pgbasebackup">
+ <indexterm zone="app-pgbasebackup">
+ <primary>pg_basebackup</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>pg_basebackup</refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>take a base backup of a <productname>PostgreSQL</productname> cluster</refpurpose>
</refnamediv>
- <indexterm zone="app-pgbasebackup">
- <primary>pg_basebackup</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_basebackup</command>
<!-- doc/src/sgml/ref/pg_config-ref.sgml -->
<refentry id="app-pgconfig">
+ <indexterm zone="app-pgconfig">
+ <primary>pg_config</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>pg_config</refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>retrieve information about the installed version of <productname>PostgreSQL</></refpurpose>
</refnamediv>
- <indexterm zone="app-pgconfig">
- <primary>pg_config</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_config</command>
-->
<refentry id="APP-PGCONTROLDATA">
+ <indexterm zone="app-pgcontroldata">
+ <primary>pg_controldata</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_controldata</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>display control information of a <productname>PostgreSQL</productname> database cluster</refpurpose>
</refnamediv>
- <indexterm zone="app-pgcontroldata">
- <primary>pg_controldata</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_controldata</command>
-->
<refentry id="app-pg-ctl">
+ <indexterm zone="app-pg-ctl">
+ <primary>pg_ctl</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_ctl</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>initialize, start, stop, or control a <productname>PostgreSQL</productname> server</refpurpose>
</refnamediv>
- <indexterm zone="app-pg-ctl">
- <primary>pg_ctl</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_ctl</command>
-->
<refentry id="APP-PGDUMP">
+ <indexterm zone="app-pgdump">
+ <primary>pg_dump</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>pg_dump</refentrytitle>
<manvolnum>1</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="app-pgdump">
- <primary>pg_dump</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_dump</command>
-->
<refentry id="APP-PG-DUMPALL">
+ <indexterm zone="app-pg-dumpall">
+ <primary>pg_dumpall</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_dumpall</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>extract a <productname>PostgreSQL</productname> database cluster into a script file</refpurpose>
</refnamediv>
- <indexterm zone="app-pg-dumpall">
- <primary>pg_dumpall</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_dumpall</command>
-->
<refentry id="app-pg-isready">
+ <indexterm zone="app-pg-isready">
+ <primary>pg_isready</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_isready</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>check the connection status of a <productname>PostgreSQL</productname> server</refpurpose>
</refnamediv>
- <indexterm zone="app-pg-isready">
- <primary>pg_isready</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_isready</command>
-->
<refentry id="app-pgreceivexlog">
+ <indexterm zone="app-pgreceivexlog">
+ <primary>pg_receivexlog</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>pg_receivexlog</refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>streams transaction logs from a <productname>PostgreSQL</productname> cluster</refpurpose>
</refnamediv>
- <indexterm zone="app-pgreceivexlog">
- <primary>pg_receivexlog</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_receivexlog</command>
-->
<refentry id="APP-PGRESETXLOG">
+ <indexterm zone="app-pgresetxlog">
+ <primary>pg_resetxlog</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>pg_resetxlog</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>reset the write-ahead log and other control information of a <productname>PostgreSQL</productname> database cluster</refpurpose>
</refnamediv>
- <indexterm zone="app-pgresetxlog">
- <primary>pg_resetxlog</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_resetxlog</command>
<!-- doc/src/sgml/ref/pg_restore.sgml -->
<refentry id="APP-PGRESTORE">
+ <indexterm zone="app-pgrestore">
+ <primary>pg_restore</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>pg_restore</refentrytitle>
<manvolnum>1</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="app-pgrestore">
- <primary>pg_restore</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>pg_restore</command>
-->
<refentry id="app-postgres">
+ <indexterm zone="app-postgres">
+ <primary>postgres</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>postgres</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose><productname>PostgreSQL</productname> database server</refpurpose>
</refnamediv>
- <indexterm zone="app-postgres">
- <primary>postgres</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>postgres</command>
-->
<refentry id="app-postmaster">
+ <indexterm zone="app-postmaster">
+ <primary>postmaster</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>postmaster</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose><productname>PostgreSQL</productname> database server</refpurpose>
</refnamediv>
- <indexterm zone="app-postmaster">
- <primary>postmaster</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>postmaster</command>
-->
<refentry id="SQL-PREPARE">
+ <indexterm zone="sql-prepare">
+ <primary>PREPARE</primary>
+ </indexterm>
+
+ <indexterm zone="sql-prepare">
+ <primary>prepared statements</primary>
+ <secondary>creating</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>PREPARE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>prepare a statement for execution</refpurpose>
</refnamediv>
- <indexterm zone="sql-prepare">
- <primary>PREPARE</primary>
- </indexterm>
-
- <indexterm zone="sql-prepare">
- <primary>prepared statements</primary>
- <secondary>creating</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">data_type</replaceable> [, ...] ) ] AS <replaceable class="PARAMETER">statement</replaceable>
-->
<refentry id="SQL-PREPARE-TRANSACTION">
+ <indexterm zone="sql-prepare-transaction">
+ <primary>PREPARE TRANSACTION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>PREPARE TRANSACTION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>prepare the current transaction for two-phase commit</refpurpose>
</refnamediv>
- <indexterm zone="sql-prepare-transaction">
- <primary>PREPARE TRANSACTION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
-->
<refentry id="APP-PSQL">
+ <indexterm zone="app-psql">
+ <primary>psql</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>psql</application></refentrytitle>
<manvolnum>1</manvolnum>
</refpurpose>
</refnamediv>
- <indexterm zone="app-psql">
- <primary>psql</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>psql</command>
-->
<refentry id="SQL-REASSIGN-OWNED">
+ <indexterm zone="sql-reassign-owned">
+ <primary>REASSIGN OWNED</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>REASSIGN OWNED</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change the ownership of database objects owned by a database role</refpurpose>
</refnamediv>
- <indexterm zone="sql-reassign-owned">
- <primary>REASSIGN OWNED</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
REASSIGN OWNED BY <replaceable class="PARAMETER">old_role</replaceable> [, ...] TO <replaceable class="PARAMETER">new_role</replaceable>
-->
<refentry id="SQL-REFRESHMATERIALIZEDVIEW">
+ <indexterm zone="sql-refreshmaterializedview">
+ <primary>REFRESH MATERIALIZED VIEW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>REFRESH MATERIALIZED VIEW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>replace the contents of a materialized view</refpurpose>
</refnamediv>
- <indexterm zone="sql-refreshmaterializedview">
- <primary>REFRESH MATERIALIZED VIEW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-REINDEX">
+ <indexterm zone="sql-reindex">
+ <primary>REINDEX</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>REINDEX</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>rebuild indexes</refpurpose>
</refnamediv>
- <indexterm zone="sql-reindex">
- <primary>REINDEX</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
REINDEX { INDEX | TABLE | DATABASE | SYSTEM } <replaceable class="PARAMETER">name</replaceable> [ FORCE ]
-->
<refentry id="APP-REINDEXDB">
+ <indexterm zone="app-reindexdb">
+ <primary>reindexdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>reindexdb</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>reindex a <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="app-reindexdb">
- <primary>reindexdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>reindexdb</command>
-->
<refentry id="SQL-RELEASE-SAVEPOINT">
+ <indexterm zone="sql-release-savepoint">
+ <primary>RELEASE SAVEPOINT</primary>
+ </indexterm>
+
+ <indexterm zone="sql-release-savepoint">
+ <primary>savepoints</primary>
+ <secondary>releasing</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>RELEASE SAVEPOINT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>destroy a previously defined savepoint</refpurpose>
</refnamediv>
- <indexterm zone="sql-release-savepoint">
- <primary>RELEASE SAVEPOINT</primary>
- </indexterm>
-
- <indexterm zone="sql-release-savepoint">
- <primary>savepoints</primary>
- <secondary>releasing</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable>
-->
<refentry id="SQL-RESET">
+ <indexterm zone="sql-reset">
+ <primary>RESET</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>RESET</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>restore the value of a run-time parameter to the default value</refpurpose>
</refnamediv>
- <indexterm zone="sql-reset">
- <primary>RESET</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
RESET <replaceable class="PARAMETER">configuration_parameter</replaceable>
-->
<refentry id="SQL-REVOKE">
+ <indexterm zone="sql-revoke">
+ <primary>REVOKE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>REVOKE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>remove access privileges</refpurpose>
</refnamediv>
- <indexterm zone="sql-revoke">
- <primary>REVOKE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
REVOKE [ GRANT OPTION FOR ]
-->
<refentry id="SQL-ROLLBACK">
+ <indexterm zone="sql-rollback">
+ <primary>ROLLBACK</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ROLLBACK</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>abort the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-rollback">
- <primary>ROLLBACK</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ROLLBACK [ WORK | TRANSACTION ]
-->
<refentry id="SQL-ROLLBACK-PREPARED">
+ <indexterm zone="sql-rollback-prepared">
+ <primary>ROLLBACK PREPARED</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ROLLBACK PREPARED</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>cancel a transaction that was earlier prepared for two-phase commit</refpurpose>
</refnamediv>
- <indexterm zone="sql-rollback-prepared">
- <primary>ROLLBACK PREPARED</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ROLLBACK PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
-->
<refentry id="SQL-ROLLBACK-TO">
+ <indexterm zone="sql-rollback-to">
+ <primary>ROLLBACK TO SAVEPOINT</primary>
+ </indexterm>
+
+ <indexterm zone="sql-rollback-to">
+ <primary>savepoints</primary>
+ <secondary>rolling back</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>ROLLBACK TO SAVEPOINT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>roll back to a savepoint</refpurpose>
</refnamediv>
- <indexterm zone="sql-rollback-to">
- <primary>ROLLBACK TO SAVEPOINT</primary>
- </indexterm>
-
- <indexterm zone="sql-rollback-to">
- <primary>savepoints</primary>
- <secondary>rolling back</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
ROLLBACK [ WORK | TRANSACTION ] TO [ SAVEPOINT ] <replaceable>savepoint_name</replaceable>
-->
<refentry id="SQL-SAVEPOINT">
+ <indexterm zone="sql-savepoint">
+ <primary>SAVEPOINT</primary>
+ </indexterm>
+
+ <indexterm zone="sql-savepoint">
+ <primary>savepoints</primary>
+ <secondary>defining</secondary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SAVEPOINT</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new savepoint within the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-savepoint">
- <primary>SAVEPOINT</primary>
- </indexterm>
-
- <indexterm zone="sql-savepoint">
- <primary>savepoints</primary>
- <secondary>defining</secondary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SAVEPOINT <replaceable>savepoint_name</replaceable>
-->
<refentry id="SQL-SECURITY-LABEL">
+ <indexterm zone="sql-security-label">
+ <primary>SECURITY LABEL</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SECURITY LABEL</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define or change a security label applied to an object</refpurpose>
</refnamediv>
- <indexterm zone="sql-security-label">
- <primary>SECURITY LABEL</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SECURITY LABEL [ FOR <replaceable class="PARAMETER">provider</replaceable> ] ON
-->
<refentry id="SQL-SELECT">
- <refmeta>
- <refentrytitle>SELECT</refentrytitle>
- <manvolnum>7</manvolnum>
- <refmiscinfo>SQL - Language Statements</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>SELECT</refname>
- <refname>TABLE</refname>
- <refname>WITH</refname>
- <refpurpose>retrieve rows from a table or view</refpurpose>
- </refnamediv>
-
<indexterm zone="sql-select">
<primary>SELECT</primary>
</indexterm>
<secondary>in SELECT</secondary>
</indexterm>
+ <refmeta>
+ <refentrytitle>SELECT</refentrytitle>
+ <manvolnum>7</manvolnum>
+ <refmiscinfo>SQL - Language Statements</refmiscinfo>
+ </refmeta>
+
+ <refnamediv>
+ <refname>SELECT</refname>
+ <refname>TABLE</refname>
+ <refname>WITH</refname>
+ <refpurpose>retrieve rows from a table or view</refpurpose>
+ </refnamediv>
+
<refsynopsisdiv>
<synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
-->
<refentry id="SQL-SELECTINTO">
+ <indexterm zone="sql-selectinto">
+ <primary>SELECT INTO</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SELECT INTO</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>define a new table from the results of a query</refpurpose>
</refnamediv>
- <indexterm zone="sql-selectinto">
- <primary>SELECT INTO</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
-->
<refentry id="SQL-SET">
+ <indexterm zone="sql-set">
+ <primary>SET</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SET</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>change a run-time parameter</refpurpose>
</refnamediv>
- <indexterm zone="sql-set">
- <primary>SET</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SET [ SESSION | LOCAL ] <replaceable class="PARAMETER">configuration_parameter</replaceable> { TO | = } { <replaceable class="PARAMETER">value</replaceable> | '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT }
<!-- doc/src/sgml/ref/set_constraints.sgml -->
<refentry id="SQL-SET-CONSTRAINTS">
+ <indexterm zone="sql-set-constraints">
+ <primary>SET CONSTRAINTS</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SET CONSTRAINTS</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>set constraint check timing for the current transaction</refpurpose>
</refnamediv>
- <indexterm zone="sql-set-constraints">
- <primary>SET CONSTRAINTS</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SET CONSTRAINTS { ALL | <replaceable class="parameter">name</replaceable> [, ...] } { DEFERRED | IMMEDIATE }
-->
<refentry id="SQL-SET-ROLE">
+ <indexterm zone="sql-set-role">
+ <primary>SET ROLE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SET ROLE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>set the current user identifier of the current session</refpurpose>
</refnamediv>
- <indexterm zone="sql-set-role">
- <primary>SET ROLE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SET [ SESSION | LOCAL ] ROLE <replaceable class="parameter">role_name</replaceable>
<!-- doc/src/sgml/ref/set_session_auth.sgml -->
<refentry id="SQL-SET-SESSION-AUTHORIZATION">
+ <indexterm zone="sql-set-session-authorization">
+ <primary>SET SESSION AUTHORIZATION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SET SESSION AUTHORIZATION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>set the session user identifier and the current user identifier of the current session</refpurpose>
</refnamediv>
- <indexterm zone="sql-set-session-authorization">
- <primary>SET SESSION AUTHORIZATION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SET [ SESSION | LOCAL ] SESSION AUTHORIZATION <replaceable class="parameter">user_name</replaceable>
<!-- doc/src/sgml/ref/set_transaction.sgml -->
<refentry id="SQL-SET-TRANSACTION">
- <refmeta>
- <refentrytitle>SET TRANSACTION</refentrytitle>
- <manvolnum>7</manvolnum>
- <refmiscinfo>SQL - Language Statements</refmiscinfo>
- </refmeta>
-
- <refnamediv>
- <refname>SET TRANSACTION</refname>
- <refpurpose>set the characteristics of the current transaction</refpurpose>
- </refnamediv>
-
<indexterm zone="sql-set-transaction">
<primary>SET TRANSACTION</primary>
</indexterm>
<secondary>setting</secondary>
</indexterm>
+ <refmeta>
+ <refentrytitle>SET TRANSACTION</refentrytitle>
+ <manvolnum>7</manvolnum>
+ <refmiscinfo>SQL - Language Statements</refmiscinfo>
+ </refmeta>
+
+ <refnamediv>
+ <refname>SET TRANSACTION</refname>
+ <refpurpose>set the characteristics of the current transaction</refpurpose>
+ </refnamediv>
+
<refsynopsisdiv>
<synopsis>
SET TRANSACTION <replaceable class="parameter">transaction_mode</replaceable> [, ...]
-->
<refentry id="SQL-SHOW">
+ <indexterm zone="sql-show">
+ <primary>SHOW</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>SHOW</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>show the value of a run-time parameter</refpurpose>
</refnamediv>
- <indexterm zone="sql-show">
- <primary>SHOW</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
SHOW <replaceable class="PARAMETER">name</replaceable>
-->
<refentry id="SQL-START-TRANSACTION">
+ <indexterm zone="sql-start-transaction">
+ <primary>START TRANSACTION</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>START TRANSACTION</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>start a transaction block</refpurpose>
</refnamediv>
- <indexterm zone="sql-start-transaction">
- <primary>START TRANSACTION</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
START TRANSACTION [ <replaceable class="parameter">transaction_mode</replaceable> [, ...] ]
-->
<refentry id="SQL-TRUNCATE">
+ <indexterm zone="sql-truncate">
+ <primary>TRUNCATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>TRUNCATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>empty a table or set of tables</refpurpose>
</refnamediv>
- <indexterm zone="sql-truncate">
- <primary>TRUNCATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] [, ... ]
-->
<refentry id="SQL-UNLISTEN">
+ <indexterm zone="sql-unlisten">
+ <primary>UNLISTEN</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>UNLISTEN</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>stop listening for a notification</refpurpose>
</refnamediv>
- <indexterm zone="sql-unlisten">
- <primary>UNLISTEN</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * }
-->
<refentry id="SQL-UPDATE">
+ <indexterm zone="sql-update">
+ <primary>UPDATE</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>UPDATE</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>update rows of a table</refpurpose>
</refnamediv>
- <indexterm zone="sql-update">
- <primary>UPDATE</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
-->
<refentry id="SQL-VACUUM">
+ <indexterm zone="sql-vacuum">
+ <primary>VACUUM</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>VACUUM</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>garbage-collect and optionally analyze a database</refpurpose>
</refnamediv>
- <indexterm zone="sql-vacuum">
- <primary>VACUUM</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
VACUUM [ ( { FULL | FREEZE | VERBOSE | ANALYZE } [, ...] ) ] [ <replaceable class="PARAMETER">table_name</replaceable> [ (<replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] ]
-->
<refentry id="APP-VACUUMDB">
+ <indexterm zone="app-vacuumdb">
+ <primary>vacuumdb</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>vacuumdb</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>garbage-collect and analyze a <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="app-vacuumdb">
- <primary>vacuumdb</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>vacuumdb</command>
-->
<refentry id="SQL-VALUES">
+ <indexterm zone="sql-values">
+ <primary>VALUES</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle>VALUES</refentrytitle>
<manvolnum>7</manvolnum>
<refpurpose>compute a set of rows</refpurpose>
</refnamediv>
- <indexterm zone="sql-values">
- <primary>VALUES</primary>
- </indexterm>
-
<refsynopsisdiv>
<synopsis>
VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, ...]
<title>Interface Functions</title>
<refentry id="spi-spi-connect">
+ <indexterm><primary>SPI_connect</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_connect</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>connect a procedure to the SPI manager</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_connect</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_connect(void)
<!-- *********************************************** -->
<refentry id="spi-spi-finish">
+ <indexterm><primary>SPI_finish</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_finish</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>disconnect a procedure from the SPI manager</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_finish</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_finish(void)
<!-- *********************************************** -->
<refentry id="spi-spi-push">
+ <indexterm><primary>SPI_push</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_push</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>push SPI stack to allow recursive SPI usage</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_push</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_push(void)
<!-- *********************************************** -->
<refentry id="spi-spi-pop">
+ <indexterm><primary>SPI_pop</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_pop</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>pop SPI stack to return from recursive SPI usage</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_pop</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_pop(void)
<!-- *********************************************** -->
<refentry id="spi-spi-execute">
+ <indexterm><primary>SPI_execute</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_execute</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a command</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_execute</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_execute(const char * <parameter>command</parameter>, bool <parameter>read_only</parameter>, long <parameter>count</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-exec">
+ <indexterm><primary>SPI_exec</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_exec</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a read/write command</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_exec</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_exec(const char * <parameter>command</parameter>, long <parameter>count</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-execute-with-args">
+ <indexterm><primary>SPI_execute_with_args</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_execute_with_args</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a command with out-of-line parameters</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_execute_with_args</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_execute_with_args(const char *<parameter>command</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-prepare">
+ <indexterm><primary>SPI_prepare</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_prepare</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>prepare a statement, without executing it yet</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_prepare</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <parameter>nargs</parameter>, Oid * <parameter>argtypes</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-prepare-cursor">
+ <indexterm><primary>SPI_prepare_cursor</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_prepare_cursor</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>prepare a statement, without executing it yet</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_prepare_cursor</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <parameter>nargs</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-prepare-params">
+ <indexterm><primary>SPI_prepare_params</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_prepare_params</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>prepare a statement, without executing it yet</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_prepare_params</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
SPIPlanPtr SPI_prepare_params(const char * <parameter>command</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-getargcount">
+ <indexterm><primary>SPI_getargcount</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getargcount</refentrytitle>
<manvolnum>3</manvolnum>
prepared by <function>SPI_prepare</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getargcount</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_getargcount(SPIPlanPtr <parameter>plan</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-getargtypeid">
+ <indexterm><primary>SPI_getargtypeid</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getargtypeid</refentrytitle>
<manvolnum>3</manvolnum>
a statement prepared by <function>SPI_prepare</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getargtypeid</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argIndex</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-is-cursor-plan">
+ <indexterm><primary>SPI_is_cursor_plan</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_is_cursor_plan</refentrytitle>
<manvolnum>3</manvolnum>
<function>SPI_cursor_open</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_is_cursor_plan</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
bool SPI_is_cursor_plan(SPIPlanPtr <parameter>plan</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-execute-plan">
+ <indexterm><primary>SPI_execute_plan</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_execute_plan</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a statement prepared by <function>SPI_prepare</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_execute_plan</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_execute_plan(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values</parameter>, const char * <parameter>nulls</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-execute-plan-with-paramlist">
+ <indexterm><primary>SPI_execute_plan_with_paramlist</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_execute_plan_with_paramlist</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a statement prepared by <function>SPI_prepare</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_execute_plan_with_paramlist</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_execute_plan_with_paramlist(SPIPlanPtr <parameter>plan</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-execp">
+ <indexterm><primary>SPI_execp</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_execp</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>execute a statement in read/write mode</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_execp</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_execp(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values</parameter>, const char * <parameter>nulls</parameter>, long <parameter>count</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-open">
+ <indexterm><primary>SPI_cursor_open</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_open</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>set up a cursor using a statement created with <function>SPI_prepare</function></refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_open</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Portal SPI_cursor_open(const char * <parameter>name</parameter>, SPIPlanPtr <parameter>plan</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-open-with-args">
+ <indexterm><primary>SPI_cursor_open_with_args</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_open_with_args</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>set up a cursor using a query and parameters</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_open_with_args</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Portal SPI_cursor_open_with_args(const char *<parameter>name</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-open-with-paramlist">
+ <indexterm><primary>SPI_cursor_open_with_paramlist</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_open_with_paramlist</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>set up a cursor using parameters</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_open_with_paramlist</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Portal SPI_cursor_open_with_paramlist(const char *<parameter>name</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-find">
+ <indexterm><primary>SPI_cursor_find</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_find</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>find an existing cursor by name</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_find</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Portal SPI_cursor_find(const char * <parameter>name</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-fetch">
+ <indexterm><primary>SPI_cursor_fetch</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_fetch</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>fetch some rows from a cursor</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_fetch</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_cursor_fetch(Portal <parameter>portal</parameter>, bool <parameter>forward</parameter>, long <parameter>count</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-move">
+ <indexterm><primary>SPI_cursor_move</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_move</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>move a cursor</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_move</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forward</parameter>, long <parameter>count</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-scroll-cursor-fetch">
+ <indexterm><primary>SPI_scroll_cursor_fetch</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_scroll_cursor_fetch</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>fetch some rows from a cursor</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_scroll_cursor_fetch</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-scroll-cursor-move">
+ <indexterm><primary>SPI_scroll_cursor_move</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_scroll_cursor_move</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>move a cursor</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_scroll_cursor_move</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection <parameter>direction</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-cursor-close">
+ <indexterm><primary>SPI_cursor_close</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_cursor_close</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>close a cursor</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_cursor_close</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_cursor_close(Portal <parameter>portal</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-keepplan">
+ <indexterm><primary>SPI_keepplan</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_keepplan</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>save a prepared statement</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_keepplan</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_keepplan(SPIPlanPtr <parameter>plan</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-saveplan">
+ <indexterm><primary>SPI_saveplan</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_saveplan</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>save a prepared statement</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_saveplan</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
SPIPlanPtr SPI_saveplan(SPIPlanPtr <parameter>plan</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-fname">
+ <indexterm><primary>SPI_fname</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_fname</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>determine the column name for the specified column number</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_fname</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
char * SPI_fname(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-fnumber">
+ <indexterm><primary>SPI_fnumber</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_fnumber</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>determine the column number for the specified column name</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_fnumber</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_fnumber(TupleDesc <parameter>rowdesc</parameter>, const char * <parameter>colname</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-getvalue">
+ <indexterm><primary>SPI_getvalue</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getvalue</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the string value of the specified column</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getvalue</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-getbinval">
+ <indexterm><primary>SPI_getbinval</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getbinval</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the binary value of the specified column</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getbinval</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-gettype">
+ <indexterm><primary>SPI_gettype</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_gettype</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the data type name of the specified column</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_gettype</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
char * SPI_gettype(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-gettypeid">
+ <indexterm><primary>SPI_gettypeid</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_gettypeid</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the data type <acronym>OID</acronym> of the specified column</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_gettypeid</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
Oid SPI_gettypeid(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnumber</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-getrelname">
+ <indexterm><primary>SPI_getrelname</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getrelname</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the name of the specified relation</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getrelname</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
char * SPI_getrelname(Relation <parameter>rel</parameter>)
</refentry>
<refentry id="spi-spi-getnspname">
+ <indexterm><primary>SPI_getnspname</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_getnspname</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>return the namespace of the specified relation</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_getnspname</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
char * SPI_getnspname(Relation <parameter>rel</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-palloc">
+ <indexterm><primary>SPI_palloc</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_palloc</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>allocate memory in the upper executor context</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_palloc</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void * SPI_palloc(Size <parameter>size</parameter>)
<!-- *********************************************** -->
<refentry id="spi-realloc">
+ <indexterm><primary>SPI_repalloc</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_repalloc</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>reallocate memory in the upper executor context</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_repalloc</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void * SPI_repalloc(void * <parameter>pointer</parameter>, Size <parameter>size</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-pfree">
+ <indexterm><primary>SPI_pfree</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_pfree</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>free memory in the upper executor context</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_pfree</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_pfree(void * <parameter>pointer</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-copytuple">
+ <indexterm><primary>SPI_copytuple</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_copytuple</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>make a copy of a row in the upper executor context</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_copytuple</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
HeapTuple SPI_copytuple(HeapTuple <parameter>row</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-returntuple">
+ <indexterm><primary>SPI_returntuple</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_returntuple</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>prepare to return a tuple as a Datum</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_returntuple</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>rowdesc</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-modifytuple">
+ <indexterm><primary>SPI_modifytuple</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_modifytuple</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>create a row by replacing selected fields of a given row</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_modifytuple</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parameter>row</parameter>, int <parameter>ncols</parameter>,
<!-- *********************************************** -->
<refentry id="spi-spi-freetuple">
+ <indexterm><primary>SPI_freetuple</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_freetuple</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>free a row allocated in the upper executor context</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_freetuple</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_freetuple(HeapTuple <parameter>row</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-freetupletable">
+ <indexterm><primary>SPI_freetuptable</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_freetuptable</refentrytitle>
<manvolnum>3</manvolnum>
function</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_freetuptable</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
void SPI_freetuptable(SPITupleTable * <parameter>tuptable</parameter>)
<!-- *********************************************** -->
<refentry id="spi-spi-freeplan">
+ <indexterm><primary>SPI_freeplan</primary></indexterm>
+
<refmeta>
<refentrytitle>SPI_freeplan</refentrytitle>
<manvolnum>3</manvolnum>
<refpurpose>free a previously saved prepared statement</refpurpose>
</refnamediv>
- <indexterm><primary>SPI_freeplan</primary></indexterm>
-
<refsynopsisdiv>
<synopsis>
int SPI_freeplan(SPIPlanPtr <parameter>plan</parameter>)
<!-- doc/src/sgml/vacuumlo.sgml -->
<refentry id="vacuumlo">
+ <indexterm zone="vacuumlo">
+ <primary>vacuumlo</primary>
+ </indexterm>
+
<refmeta>
<refentrytitle><application>vacuumlo</application></refentrytitle>
<manvolnum>1</manvolnum>
<refpurpose>remove orphaned large objects from a <productname>PostgreSQL</productname> database</refpurpose>
</refnamediv>
- <indexterm zone="vacuumlo">
- <primary>vacuumlo</primary>
- </indexterm>
-
<refsynopsisdiv>
<cmdsynopsis>
<command>vacuumlo</command>