]> granicus.if.org Git - postgresql/commitdiff
doc: Improve DocBook XML validity
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 24 Feb 2014 02:25:35 +0000 (21:25 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 24 Feb 2014 02:31:08 +0000 (21:31 -0500)
DocBook XML is superficially compatible with DocBook SGML but has a
slightly stricter DTD that we have been violating in a few cases.
Although XSLT doesn't care whether the document is valid, the style
sheets don't necessarily process invalid documents correctly, so we need
to work toward fixing this.

This first commit moves the indexterms in refentry elements to an
allowed position.  It has no impact on the output.

194 files changed:
doc/src/sgml/dblink.sgml
doc/src/sgml/oid2name.sgml
doc/src/sgml/pg_xlogdump.sgml
doc/src/sgml/pgarchivecleanup.sgml
doc/src/sgml/pgbench.sgml
doc/src/sgml/pgstandby.sgml
doc/src/sgml/pgtestfsync.sgml
doc/src/sgml/pgtesttiming.sgml
doc/src/sgml/pgupgrade.sgml
doc/src/sgml/ref/abort.sgml
doc/src/sgml/ref/alter_aggregate.sgml
doc/src/sgml/ref/alter_collation.sgml
doc/src/sgml/ref/alter_conversion.sgml
doc/src/sgml/ref/alter_database.sgml
doc/src/sgml/ref/alter_default_privileges.sgml
doc/src/sgml/ref/alter_domain.sgml
doc/src/sgml/ref/alter_event_trigger.sgml
doc/src/sgml/ref/alter_extension.sgml
doc/src/sgml/ref/alter_foreign_data_wrapper.sgml
doc/src/sgml/ref/alter_foreign_table.sgml
doc/src/sgml/ref/alter_function.sgml
doc/src/sgml/ref/alter_group.sgml
doc/src/sgml/ref/alter_index.sgml
doc/src/sgml/ref/alter_language.sgml
doc/src/sgml/ref/alter_large_object.sgml
doc/src/sgml/ref/alter_materialized_view.sgml
doc/src/sgml/ref/alter_opclass.sgml
doc/src/sgml/ref/alter_operator.sgml
doc/src/sgml/ref/alter_opfamily.sgml
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/alter_rule.sgml
doc/src/sgml/ref/alter_schema.sgml
doc/src/sgml/ref/alter_sequence.sgml
doc/src/sgml/ref/alter_server.sgml
doc/src/sgml/ref/alter_system.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/alter_tablespace.sgml
doc/src/sgml/ref/alter_trigger.sgml
doc/src/sgml/ref/alter_tsconfig.sgml
doc/src/sgml/ref/alter_tsdictionary.sgml
doc/src/sgml/ref/alter_tsparser.sgml
doc/src/sgml/ref/alter_tstemplate.sgml
doc/src/sgml/ref/alter_type.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/alter_user_mapping.sgml
doc/src/sgml/ref/alter_view.sgml
doc/src/sgml/ref/analyze.sgml
doc/src/sgml/ref/begin.sgml
doc/src/sgml/ref/checkpoint.sgml
doc/src/sgml/ref/close.sgml
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/clusterdb.sgml
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/commit.sgml
doc/src/sgml/ref/commit_prepared.sgml
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/create_aggregate.sgml
doc/src/sgml/ref/create_cast.sgml
doc/src/sgml/ref/create_collation.sgml
doc/src/sgml/ref/create_conversion.sgml
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_domain.sgml
doc/src/sgml/ref/create_event_trigger.sgml
doc/src/sgml/ref/create_extension.sgml
doc/src/sgml/ref/create_foreign_data_wrapper.sgml
doc/src/sgml/ref/create_foreign_table.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_group.sgml
doc/src/sgml/ref/create_index.sgml
doc/src/sgml/ref/create_language.sgml
doc/src/sgml/ref/create_materialized_view.sgml
doc/src/sgml/ref/create_opclass.sgml
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/ref/create_opfamily.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/create_rule.sgml
doc/src/sgml/ref/create_schema.sgml
doc/src/sgml/ref/create_sequence.sgml
doc/src/sgml/ref/create_server.sgml
doc/src/sgml/ref/create_table.sgml
doc/src/sgml/ref/create_table_as.sgml
doc/src/sgml/ref/create_tablespace.sgml
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/ref/create_tsconfig.sgml
doc/src/sgml/ref/create_tsdictionary.sgml
doc/src/sgml/ref/create_tsparser.sgml
doc/src/sgml/ref/create_tstemplate.sgml
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/ref/create_user.sgml
doc/src/sgml/ref/create_user_mapping.sgml
doc/src/sgml/ref/create_view.sgml
doc/src/sgml/ref/createdb.sgml
doc/src/sgml/ref/createlang.sgml
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/ref/deallocate.sgml
doc/src/sgml/ref/declare.sgml
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/discard.sgml
doc/src/sgml/ref/do.sgml
doc/src/sgml/ref/drop_aggregate.sgml
doc/src/sgml/ref/drop_cast.sgml
doc/src/sgml/ref/drop_collation.sgml
doc/src/sgml/ref/drop_conversion.sgml
doc/src/sgml/ref/drop_database.sgml
doc/src/sgml/ref/drop_domain.sgml
doc/src/sgml/ref/drop_event_trigger.sgml
doc/src/sgml/ref/drop_extension.sgml
doc/src/sgml/ref/drop_foreign_data_wrapper.sgml
doc/src/sgml/ref/drop_foreign_table.sgml
doc/src/sgml/ref/drop_function.sgml
doc/src/sgml/ref/drop_group.sgml
doc/src/sgml/ref/drop_index.sgml
doc/src/sgml/ref/drop_language.sgml
doc/src/sgml/ref/drop_materialized_view.sgml
doc/src/sgml/ref/drop_opclass.sgml
doc/src/sgml/ref/drop_operator.sgml
doc/src/sgml/ref/drop_opfamily.sgml
doc/src/sgml/ref/drop_owned.sgml
doc/src/sgml/ref/drop_role.sgml
doc/src/sgml/ref/drop_rule.sgml
doc/src/sgml/ref/drop_schema.sgml
doc/src/sgml/ref/drop_sequence.sgml
doc/src/sgml/ref/drop_server.sgml
doc/src/sgml/ref/drop_table.sgml
doc/src/sgml/ref/drop_tablespace.sgml
doc/src/sgml/ref/drop_trigger.sgml
doc/src/sgml/ref/drop_tsconfig.sgml
doc/src/sgml/ref/drop_tsdictionary.sgml
doc/src/sgml/ref/drop_tsparser.sgml
doc/src/sgml/ref/drop_tstemplate.sgml
doc/src/sgml/ref/drop_type.sgml
doc/src/sgml/ref/drop_user.sgml
doc/src/sgml/ref/drop_user_mapping.sgml
doc/src/sgml/ref/drop_view.sgml
doc/src/sgml/ref/dropdb.sgml
doc/src/sgml/ref/droplang.sgml
doc/src/sgml/ref/dropuser.sgml
doc/src/sgml/ref/ecpg-ref.sgml
doc/src/sgml/ref/end.sgml
doc/src/sgml/ref/execute.sgml
doc/src/sgml/ref/explain.sgml
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/initdb.sgml
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/listen.sgml
doc/src/sgml/ref/load.sgml
doc/src/sgml/ref/lock.sgml
doc/src/sgml/ref/move.sgml
doc/src/sgml/ref/notify.sgml
doc/src/sgml/ref/pg_basebackup.sgml
doc/src/sgml/ref/pg_config-ref.sgml
doc/src/sgml/ref/pg_controldata.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_isready.sgml
doc/src/sgml/ref/pg_receivexlog.sgml
doc/src/sgml/ref/pg_resetxlog.sgml
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/postgres-ref.sgml
doc/src/sgml/ref/postmaster.sgml
doc/src/sgml/ref/prepare.sgml
doc/src/sgml/ref/prepare_transaction.sgml
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/reassign_owned.sgml
doc/src/sgml/ref/refresh_materialized_view.sgml
doc/src/sgml/ref/reindex.sgml
doc/src/sgml/ref/reindexdb.sgml
doc/src/sgml/ref/release_savepoint.sgml
doc/src/sgml/ref/reset.sgml
doc/src/sgml/ref/revoke.sgml
doc/src/sgml/ref/rollback.sgml
doc/src/sgml/ref/rollback_prepared.sgml
doc/src/sgml/ref/rollback_to.sgml
doc/src/sgml/ref/savepoint.sgml
doc/src/sgml/ref/security_label.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/ref/select_into.sgml
doc/src/sgml/ref/set.sgml
doc/src/sgml/ref/set_constraints.sgml
doc/src/sgml/ref/set_role.sgml
doc/src/sgml/ref/set_session_auth.sgml
doc/src/sgml/ref/set_transaction.sgml
doc/src/sgml/ref/show.sgml
doc/src/sgml/ref/start_transaction.sgml
doc/src/sgml/ref/truncate.sgml
doc/src/sgml/ref/unlisten.sgml
doc/src/sgml/ref/update.sgml
doc/src/sgml/ref/vacuum.sgml
doc/src/sgml/ref/vacuumdb.sgml
doc/src/sgml/ref/values.sgml
doc/src/sgml/spi.sgml
doc/src/sgml/vacuumlo.sgml

index a26e3786782bd85b0873766a1a6576dbc35d4b94..b07ac48c005b4ec9845e1c22d0283ee835887dad 100644 (file)
  </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
@@ -183,6 +183,10 @@ DROP SERVER fdtest;
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-CONNECT-U">
+  <indexterm>
+   <primary>dblink_connect_u</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_connect_u</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -193,10 +197,6 @@ DROP SERVER fdtest;
    <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
@@ -240,6 +240,10 @@ dblink_connect_u(text connname, text connstr) returns text
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-DISCONNECT">
+  <indexterm>
+   <primary>dblink_disconnect</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_disconnect</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -250,10 +254,6 @@ dblink_connect_u(text connname, text connstr) returns text
    <refpurpose>closes a persistent connection to a remote database</refpurpose>
   </refnamediv>
 
-  <indexterm>
-   <primary>dblink_disconnect</primary>
-  </indexterm>
-
   <refsynopsisdiv>
 <synopsis>
 dblink_disconnect() returns text
@@ -315,6 +315,10 @@ SELECT dblink_disconnect('myconn');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-FUNCTION">
+  <indexterm>
+   <primary>dblink</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -325,10 +329,6 @@ SELECT dblink_disconnect('myconn');
    <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
@@ -533,6 +533,10 @@ SELECT * FROM dblink('myconn', 'select proname, prosrc from pg_proc')
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-EXEC">
+  <indexterm>
+   <primary>dblink_exec</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_exec</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -543,10 +547,6 @@ SELECT * FROM dblink('myconn', 'select proname, prosrc from pg_proc')
    <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
@@ -670,6 +670,10 @@ DETAIL:  ERROR:  null value in column "relnamespace" violates not-null constrain
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-OPEN">
+  <indexterm>
+   <primary>dblink_open</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_open</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -680,10 +684,6 @@ DETAIL:  ERROR:  null value in column "relnamespace" violates not-null constrain
    <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
@@ -794,6 +794,10 @@ SELECT dblink_open('foo', 'select proname, prosrc from pg_proc');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-FETCH">
+  <indexterm>
+   <primary>dblink_fetch</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_fetch</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -804,10 +808,6 @@ SELECT dblink_open('foo', 'select proname, prosrc from pg_proc');
    <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
@@ -947,6 +947,10 @@ SELECT * FROM dblink_fetch('foo', 5) AS (funcname name, source text);
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-CLOSE">
+  <indexterm>
+   <primary>dblink_close</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_close</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -957,10 +961,6 @@ SELECT * FROM dblink_fetch('foo', 5) AS (funcname name, source text);
    <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
@@ -1058,6 +1058,10 @@ SELECT dblink_close('foo');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-GET-CONNECTIONS">
+  <indexterm>
+   <primary>dblink_get_connections</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_get_connections</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1068,10 +1072,6 @@ SELECT dblink_close('foo');
    <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[]
@@ -1103,6 +1103,10 @@ SELECT dblink_get_connections();
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-ERROR-MESSAGE">
+  <indexterm>
+   <primary>dblink_error_message</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_error_message</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1113,10 +1117,6 @@ SELECT dblink_get_connections();
    <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
@@ -1166,6 +1166,10 @@ SELECT dblink_error_message('dtest1');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-SEND-QUERY">
+  <indexterm>
+   <primary>dblink_send_query</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_send_query</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1176,10 +1180,6 @@ SELECT dblink_error_message('dtest1');
    <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
@@ -1248,6 +1248,10 @@ SELECT dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 &lt; 3');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-IS-BUSY">
+  <indexterm>
+   <primary>dblink_is_busy</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_is_busy</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1258,10 +1262,6 @@ SELECT dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 &lt; 3');
    <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
@@ -1311,6 +1311,10 @@ SELECT dblink_is_busy('dtest1');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-GET-NOTIFY">
+  <indexterm>
+   <primary>dblink_get_notify</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_get_notify</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1321,10 +1325,6 @@ SELECT dblink_is_busy('dtest1');
    <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)
@@ -1393,6 +1393,10 @@ SELECT * FROM dblink_get_notify();
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-GET-RESULT">
+  <indexterm>
+   <primary>dblink_get_result</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_get_result</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1403,10 +1407,6 @@ SELECT * FROM dblink_get_notify();
    <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
@@ -1557,6 +1557,10 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-CANCEL-QUERY">
+  <indexterm>
+   <primary>dblink_cancel_query</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_cancel_query</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1567,10 +1571,6 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2
    <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
@@ -1625,6 +1625,10 @@ SELECT dblink_cancel_query('dtest1');
  </refentry>
 
  <refentry id="CONTRIB-DBLINK-GET-PKEY">
+  <indexterm>
+   <primary>dblink_get_pkey</primary>
+  </indexterm>
+
   <refmeta>
    <refentrytitle>dblink_get_pkey</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -1637,10 +1641,6 @@ SELECT dblink_cancel_query('dtest1');
    </refpurpose>
   </refnamediv>
 
-  <indexterm>
-   <primary>dblink_get_pkey</primary>
-  </indexterm>
-
   <refsynopsisdiv>
 <synopsis>
 dblink_get_pkey(text relname) returns setof dblink_pkey_results
@@ -1717,6 +1717,10 @@ SELECT * FROM dblink_get_pkey('foobar');
  </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>
@@ -1730,10 +1734,6 @@ SELECT * FROM dblink_get_pkey('foobar');
    </refpurpose>
   </refnamediv>
 
-  <indexterm>
-   <primary>dblink_build_sql_insert</primary>
-  </indexterm>
-
   <refsynopsisdiv>
 <synopsis>
 dblink_build_sql_insert(text relname,
@@ -1852,6 +1852,10 @@ SELECT dblink_build_sql_insert('foo', '1 2', 2, '{"1", "a"}', '{"1", "b''a"}');
  </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>
@@ -1864,10 +1868,6 @@ SELECT dblink_build_sql_insert('foo', '1 2', 2, '{"1", "a"}', '{"1", "b''a"}');
    </refpurpose>
   </refnamediv>
 
-  <indexterm>
-   <primary>dblink_build_sql_delete</primary>
-  </indexterm>
-
   <refsynopsisdiv>
 <synopsis>
 dblink_build_sql_delete(text relname,
@@ -1970,6 +1970,10 @@ SELECT dblink_build_sql_delete('"MyFoo"', '1 2', 2, '{"1", "b"}');
  </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>
@@ -1982,10 +1986,6 @@ SELECT dblink_build_sql_delete('"MyFoo"', '1 2', 2, '{"1", "b"}');
    </refpurpose>
   </refnamediv>
 
-  <indexterm>
-   <primary>dblink_build_sql_update</primary>
-  </indexterm>
-
   <refsynopsisdiv>
 <synopsis>
 dblink_build_sql_update(text relname,
index 5e39677496b5fab6a63bfe04912491b9af3e4c99..97b170a23f7f5bf87b2985628d66ce8d2e99d015 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 0f291413428830c226c8bac54a725a4dd0cad0f2..173962211981acadadf7c26d39422af441eb271b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="pgxlogdump">
+ <indexterm zone="pgxlogdump">
+  <primary>pg_xlogdump</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>pg_xlogdump</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 932914bc2f890de845917cc2ee1d6838b6a11aeb..fdf0cbb9d1be5ad48d3343d8f56d9b40d99cf6ad 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 05ca9b76abcda6ebb3ae313e516159290481f35d..4367563a3796f4ea9168efdb979b17c53a93ae57 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index ca2b5c078dc81237e55d2b65c22dc540ed27c5d4..fb3f32eaaa40e0d788184fe96cf42f0693f818d4 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 45f09191253410b19f6b91c69f3e9a48d4897d2c..c4b4014b1a0a72a49d8824a8a269f5139d99e548 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index a2581d269c6c6903a2817fa90073ce6cf29951df..a6ab9b114bb1bd5e3b2b360fe3faf15ead618e82 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 3da451cca224ccbdafc8bd82fe9007d7295541fd..4d03b12f11945ce303e6b4911f7a7be00bd1051d 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index e9138d5702b4257d008e6a9bf4b5e2c83209b6ec..ed9332c395bb6ecd001e3eb9f3faae7d64bcac19 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ABORT">
+ <indexterm zone="sql-abort">
+  <primary>ABORT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ABORT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>abort the current transaction</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-abort">
-  <primary>ABORT</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 ABORT [ WORK | TRANSACTION ]
index 641d19ccebe4eeab50acdfe6f2eabf2d8791ed0c..f92b8e5da379e348b21e9d78e66fa6f9b3c27155 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERAGGREGATE">
+ <indexterm zone="sql-alteraggregate">
+  <primary>ALTER AGGREGATE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER AGGREGATE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index ebb30b88607d268f907f88ecc2568eeb2eb9da23..11ecd93c205f145a6bd62ef01fec071788eb38cc 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERCOLLATION">
+ <indexterm zone="sql-altercollation">
+  <primary>ALTER COLLATION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER COLLATION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 4cc335b18e05b1f4d9cb8773f33e00b5d94cb66a..a3f68975bfeffbd73745a76a81fe86a9e0d0bda9 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERCONVERSION">
+ <indexterm zone="sql-alterconversion">
+  <primary>ALTER CONVERSION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER CONVERSION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 360732fd358be35cd8fca69a624e31a77546d71e..23ef75512f14f4e4f90018ebfd009fb86e6c94e5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERDATABASE">
+ <indexterm zone="sql-alterdatabase">
+  <primary>ALTER DATABASE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER DATABASE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index fdd9c83800eaa2617c0dd61a6fce52e07d4b2bb0..04064d399cb312a30b915d7c14867891fd1221bc 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERDEFAULTPRIVILEGES">
+ <indexterm zone="sql-alterdefaultprivileges">
+  <primary>ALTER DEFAULT PRIVILEGES</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER DEFAULT PRIVILEGES</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>define default access privileges</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-alterdefaultprivileges">
-  <primary>ALTER DEFAULT PRIVILEGES</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 ALTER DEFAULT PRIVILEGES
index c59975af033391d6d11e3b14bd5fb1542eb9d8f8..db7b8198350dfa847e2e87ea8eba28ec03a8eae6 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERDOMAIN">
+ <indexterm zone="sql-alterdomain">
+  <primary>ALTER DOMAIN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER DOMAIN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -17,10 +21,6 @@ PostgreSQL documentation
   </refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-alterdomain">
-  <primary>ALTER DOMAIN</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
index f53b0228bc99006949ce5a5f8d85ba957d7bfced..1bf9d8abb609d99e835e6d92c94d6d91bbd20b03 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTEREVENTTRIGGER">
+ <indexterm zone="sql-altereventtrigger">
+  <primary>ALTER EVENT TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER EVENT TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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
index 56fa30d2d3af411df151415dd95a1d64ca74ed45..0d479c8ca2d03cc2dbcdb23ceeabc18812bf8e90 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTEREXTENSION">
+ <indexterm zone="sql-alterextension">
+  <primary>ALTER EXTENSION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER EXTENSION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -17,10 +21,6 @@ PostgreSQL documentation
   </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> ]
index 91ac1b2f0c986a5d18f9be3176335d34ef086d70..1c82db9e0385f7efb751dedd8b00d890dac4b353 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 723aa075c5794c64bd00d3f2ae209935ddf49889..4d8cfc522e050a0c63e90661086e4d06bcbc5cf6 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERFOREIGNTABLE">
+ <indexterm zone="sql-alterforeigntable">
+  <primary>ALTER FOREIGN TABLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER FOREIGN TABLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 013b6f8401ce6687c07309aceea8138fdd31c8c7..ba879eb1ea33448ae34f3d2483162daf17782f3f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERFUNCTION">
+ <indexterm zone="sql-alterfunction">
+  <primary>ALTER FUNCTION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER FUNCTION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ] )
index 177b11d28dddcc96b1abe6c30e488def67cd7152..143224286ab5c14c88011d9437c4800ddee0f33c 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERGROUP">
+ <indexterm zone="sql-altergroup">
+  <primary>ALTER GROUP</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER GROUP</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ... ]
index d2100770361365c70949b568d9194fc9f900bbf8..94a7af0429c7561e25a5e92053baefd04890336b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERINDEX">
+ <indexterm zone="sql-alterindex">
+  <primary>ALTER INDEX</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER INDEX</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index ab23d624ba353c7777e19f71d613e324e7454e16..5c9ded6837fef608d02a8e4f9cb0ea0a7052077b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERLANGUAGE">
+ <indexterm zone="sql-alterlanguage">
+  <primary>ALTER LANGUAGE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER LANGUAGE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index bcf532c80bab8bf850a7f8bfc210b0d9a4299fb7..a6dabca1b2fd29ca3231a617eec597ac3343b897 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERLARGEOBJECT">
+ <indexterm zone="sql-alterlargeobject">
+  <primary>ALTER LARGE OBJECT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER LARGE OBJECT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index e5617067f674f3816885b994dd4f2ae20af8a35e..1932eeb84d46272273f58a686e773c175c271c59 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERMATERIALIZEDVIEW">
+ <indexterm zone="sql-altermaterializedview">
+  <primary>ALTER MATERIALIZED VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER MATERIALIZED VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index c70f6cd6a2b7f7f5a699a9b5531e0d83d28302de..fc41d866611f24b9c68fc7b8878edacfffe02cab 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTEROPCLASS">
+ <indexterm zone="sql-alteropclass">
+  <primary>ALTER OPERATOR CLASS</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER OPERATOR CLASS</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 32bde5af7cfc6e5ed0c5d37bc00909fe3e0826b2..60754163204d3484488fee71c4230e5e19613d05 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTEROPERATOR">
+ <indexterm zone="sql-alteroperator">
+  <primary>ALTER OPERATOR</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER OPERATOR</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index aad968d284a075ea3ef965f3310d86b347167993..55b912611d94eada68880ed8fc4d2a0a783fdf6c 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTEROPFAMILY">
+ <indexterm zone="sql-alteropfamily">
+  <primary>ALTER OPERATOR FAMILY</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER OPERATOR FAMILY</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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
index b0981fdd5d5dfb073667d9d8bd391ea5c4fb73e5..bcd46d5e4dcb6ea0f345df3d2474fcedb4764a2b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERROLE">
+ <indexterm zone="sql-alterrole">
+  <primary>ALTER ROLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER ROLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index 0a186605a0226f1ed977fce1d03a6eb9b88575dd..993a0ceb83f2ed53811b8afd9f5e52724d519642 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERRULE">
+ <indexterm zone="sql-alterrule">
+  <primary>ALTER RULE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER RULE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 020b113a32f875b055669d97215fef798320c2b3..00395c02f85867c75ae6e86bd383e303e590195e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERSCHEMA">
+ <indexterm zone="sql-alterschema">
+  <primary>ALTER SCHEMA</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER SCHEMA</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 204ca11f0bae7afa12c93f87e0ae57337982154e..9ba9bc46229152b2e670377d57daf51635497adf 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERSEQUENCE">
+ <indexterm zone="sql-altersequence">
+  <primary>ALTER SEQUENCE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER SEQUENCE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -17,10 +21,6 @@ PostgreSQL documentation
   </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> ]
index 08afde1dd0490d63e74089361464ea1dc286bdf0..68253b916680ae085d90d153da2783ebdb7f6b2d 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERSERVER">
+ <indexterm zone="sql-alterserver">
+  <primary>ALTER SERVER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER SERVER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>' ]
index 3ccc6afd516291cb9e8bd74b91cd4ccf0c45a25e..081b3722a0b4951056c47efc29e53ba1a69b1d47 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERSYSTEM">
+ <indexterm zone="sql-altersystem">
+  <primary>ALTER SYSTEM</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER SYSTEM</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 }
index 89649a2aa48f4f0da5e15468ddba19365d4af697..2b02e668e089f50da16d49cffb846cb509305a47 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERTABLE">
+ <indexterm zone="sql-altertable">
+  <primary>ALTER TABLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER TABLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ * ]
index 99ee08a8da510cff8fb9a8732a9c8b675127a1f0..5c98bc7f067ec1b274bea3fb6db4982a18917ad5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERTABLESPACE">
+ <indexterm zone="sql-altertablespace">
+  <primary>ALTER TABLESPACE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER TABLESPACE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 0d70167024ab37bd3cd39de80dd005345dbd96ea..c63b5dfa02b1102221d57fe1772af5aea4649390 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERTRIGGER">
+ <indexterm zone="sql-altertrigger">
+  <primary>ALTER TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index deef329b295f2bffa7652669f40a5cdf8503a3e7..1a40d88f6a0cb5fa9ff9d355fc0d7bc1adbf60f7 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 7c12037041552e13dd8be5c5168a827a834dbea9..590c4fc6e1cf826abb38aefe4d92dd36852cd110 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> (
index 8c082433b05276c0db5dcb832ec182261aa88c15..e2b6060a17a51722ed2b527ceaf1a58f5c24267e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index e4f0ff3b1eb7e002e1343b42f1cc3f415ce9bd66..e7ae91c0a08844f78210f13502fa17935279941f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 6700023b34cc559c2bee7b74a58761629e5b1cac..7724c11c78e7c9a0cdd5546ea38bcfdc6e7b0b17 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERTYPE">
+ <indexterm zone="sql-altertype">
+  <primary>ALTER TYPE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER TYPE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -17,10 +21,6 @@ PostgreSQL documentation
   </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> [, ... ]
index 7588f636ed2324411a293c0ebf4e880a93462379..58ae1da127f68eab9df07b105783a515f5346888 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERUSER">
+ <indexterm zone="sql-alteruser">
+  <primary>ALTER USER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER USER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index 3245f83e08d8dea753476b54156ad02f4666047a..d0ddd1370b9b32b2c00f5a896739cdffb9b65487 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERUSERMAPPING">
+ <indexterm zone="sql-alterusermapping">
+  <primary>ALTER USER MAPPING</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER USER MAPPING</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 }
index cbec3ab54ebed46a7c8bf858db2af30c45ddd554..cdcc4f126ba20868fab9d8ea1275f24c661c1cf4 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ALTERVIEW">
+ <indexterm zone="sql-alterview">
+  <primary>ALTER VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ALTER VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 8063e3752e2e8c04a21ed4c54aee72ac8788555f..08d316a9e43a0918742ef95f1655f7ae5f68675b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ANALYZE">
+ <indexterm zone="sql-analyze">
+  <primary>ANALYZE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ANALYZE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ) ] ]
index acd823206a4e80bba7a72833ceba95b44634c5d2..c04f1c8064ccfbf73567dce891edd78a71d448b9 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-BEGIN">
+ <indexterm zone="sql-begin">
+  <primary>BEGIN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>BEGIN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index e70b8c8cb4a052c8f76ab0cee8b2d6c7e449a39e..fa4dcc4f27d7036149092cc45fc8854d543f9b3d 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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
index 4af6af74922944dfd09a7ef341632500de26cd01..aacc667144b1bcd5841c290abf8f4ab422893e85 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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 }
index 339990fa4d6bec65f63d86d34c51838373fa186a..2ab090d03e51be58c1bcc593d29a30f1d9667fe5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CLUSTER">
+ <indexterm zone="sql-cluster">
+  <primary>CLUSTER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CLUSTER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> ]
index 1316932450082aa34bd49a90a1d1cd3760ecdf7e..c13d74853ebbee33d8f277195f3ef31e7d69bd49 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-CLUSTERDB">
+ <indexterm zone="app-clusterdb">
+  <primary>clusterdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>clusterdb</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>cluster a <productname>PostgreSQL</productname> database</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-clusterdb">
-  <primary>clusterdb</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>clusterdb</command>
index 1b2949f64f1e00ad2713f66c73580a103a556893..53eadcdcc7635db2bc4cf455bb82b526157d457c 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-COMMENT">
+ <indexterm zone="sql-comment">
+  <primary>COMMENT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>COMMENT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>define or change the comment of an object</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-comment">
-  <primary>COMMENT</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 COMMENT ON
index 40147a54769b8b22a47d08153e641e5db633eac5..e93c216849b2d89da0328cf7817f08d89743c0a0 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-COMMIT">
+ <indexterm zone="sql-commit">
+  <primary>COMMIT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>COMMIT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>commit the current transaction</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-commit">
-  <primary>COMMIT</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 COMMIT [ WORK | TRANSACTION ]
index ecd0c525f2077789c7d7ba774677cb4c2af7779c..e1988ad318b4084060f8ca75a7cac6386bbea383 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-COMMIT-PREPARED">
+ <indexterm zone="sql-commit-prepared">
+  <primary>COMMIT PREPARED</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>COMMIT PREPARED</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 1ecc939eead4a70860f4fb717abfa13c6294a263..99f246af1717abaf753114d05682926cb4e79816 100644 (file)
@@ -5,6 +5,10 @@ PostgreSQL documentation
 
 
 <refentry id="SQL-COPY">
+ <indexterm zone="sql-copy">
+  <primary>COPY</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>COPY</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -16,10 +20,6 @@ PostgreSQL documentation
   <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> [, ...] ) ]
index d15fcbae959c5818100417175140f0cef7ac4f56..e5fc718654494a397c017c91bb0d9f69497931ca 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEAGGREGATE">
+ <indexterm zone="sql-createaggregate">
+  <primary>CREATE AGGREGATE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE AGGREGATE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ , ... ] ) (
index 29ea298a468bd9b71707645d2081d0f4bf874692..2e69a10a8ef2d30d8299c345a4da6acc94a75712 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>)
index c85357681436cad35e280c219650b6184c5ed32c..d757cdfb4348b2007c4cab76c19a6cbe8a11bbf5 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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> (
index 084b60c4c162c5f7469987974f7f37ba3f88557c..d2e2c010ef3995f1ff37bfa65a8520078209854a 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 5158854841f4daf1afb051cb2306fba3dafad2a0..8e99761b69d98590b5b16ed5947ff5b283129176 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEDATABASE">
+ <indexterm zone="sql-createdatabase">
+  <primary>CREATE DATABASE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE DATABASE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 49db069f89577eab9fe60d38b54337d3352eb392..dd782e48dcec5fdf57244f149c653e097842e921 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEDOMAIN">
+ <indexterm zone="sql-createdomain">
+  <primary>CREATE DOMAIN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE DOMAIN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index ed663225966d0bf46b0585937966cda103da36fc..7cdf4c75f67d2bcaaf68a295783e7254133736bd 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEEVENTTRIGGER">
+ <indexterm zone="sql-createeventtrigger">
+  <primary>CREATE EVENT TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE EVENT TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 9c9bf6ff7d757ac1948d64038376f60edc012f46..a1e7e4f812c0ca3eca233a77f98d90d7dec0c53b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEEXTENSION">
+ <indexterm zone="sql-createextension">
+  <primary>CREATE EXTENSION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE EXTENSION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index cbe50021f4f42d2f2f56e53b6b7cf38dc3bb5790..a3811a3b636bad71b7cd17a59de9cb9861582e4e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 1ef4b5e9d7427e1babad14a5c329e03c0bd6604a..06a70879c9af211ed2eddf7f160cd9c9119de1ed 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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> ( [
index b61b9785ee9f7039519063a690964db23a4465ea..2001921535199af851e5311c3a1d0b00d862a681 100644 (file)
@@ -3,6 +3,10 @@ doc/src/sgml/ref/create_function.sgml
 -->
 
 <refentry id="SQL-CREATEFUNCTION">
+ <indexterm zone="sql-createfunction">
+  <primary>CREATE FUNCTION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE FUNCTION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -14,10 +18,6 @@ doc/src/sgml/ref/create_function.sgml
   <refpurpose>define a new function</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-createfunction">
-  <primary>CREATE FUNCTION</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 CREATE [ OR REPLACE ] FUNCTION
index 3a84c8358af529e77f27187f6abf85f19450bcc3..981ce51e5f4aa7a4e54ed962c4675c80281137c8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEGROUP">
+ <indexterm zone="sql-creategroup">
+  <primary>CREATE GROUP</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE GROUP</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index 9a6a683e12d41c7928568a5b00348174f3225c1d..e469b17e1687527f2fee63fe80cc89ef29fd4923 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEINDEX">
+ <indexterm zone="sql-createindex">
+  <primary>CREATE INDEX</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE INDEX</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> ]
index 0995b13623cae3e0308f672adb82f239bd5149a5..41da16d9775c580e0b8e3485c8c9f637e8033951 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATELANGUAGE">
+ <indexterm zone="sql-createlanguage">
+  <primary>CREATE LANGUAGE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE LANGUAGE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index b742e17ac828a64f816650e7c8c78c3f67bffd78..2c73852ae389412c9dd0a1f3632f93ae3b18c1e9 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEMATERIALIZEDVIEW">
+ <indexterm zone="sql-creatematerializedview">
+  <primary>CREATE MATERIALIZED VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE MATERIALIZED VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 81b9e538af13511b68dede9c366c1a60fdd2919e..b21a1a13b32feef57d7fd73552010aba2f32f6a4 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEOPCLASS">
+ <indexterm zone="sql-createopclass">
+  <primary>CREATE OPERATOR CLASS</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE OPERATOR CLASS</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index dd33f065afcfe9b2507865113654912dc3b9a245..818e3a2315a569227933d48bde8358042d10b5cf 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEOPERATOR">
+ <indexterm zone="sql-createoperator">
+  <primary>CREATE OPERATOR</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE OPERATOR</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>define a new operator</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-createoperator">
-  <primary>CREATE OPERATOR</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 CREATE OPERATOR <replaceable>name</replaceable> (
index 5bee54419a64a367d75864ba5b81ded1314c7b55..c4bcf0863ef905c6982776b82fd76da90d854323 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEOPFAMILY">
+ <indexterm zone="sql-createopfamily">
+  <primary>CREATE OPERATOR FAMILY</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE OPERATOR FAMILY</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 7ec4d0a8e4cdcf2f15ae247429f0cd048a848690..641e3500c9ad1c6cac5a85bfa4e9568c7342cd74 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEROLE">
+ <indexterm zone="sql-createrole">
+  <primary>CREATE ROLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE ROLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index ab2f1ba55c7924fff6bfe378a2d71e7052fe260a..d3212b5e5a02e888517a02ec51adfa814161c3a5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATERULE">
+ <indexterm zone="sql-createrule">
+  <primary>CREATE RULE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE RULE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 550acf1a535a8c8f776459befac61a7988e06aa1..45e4637ab5b21f6b6e05294aaa71081cdf9f17c4 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATESCHEMA">
+ <indexterm zone="sql-createschema">
+  <primary>CREATE SCHEMA</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE SCHEMA</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index 38d160d4acb44085068ef9c494182a2df615cd09..70b9f3d110dd2ff45219e230ac2ac78105705711 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATESEQUENCE">
+ <indexterm zone="sql-createsequence">
+  <primary>CREATE SEQUENCE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE SEQUENCE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> ]
index 3e6127a3898c27d747df74442b51b6c7fa0a93d0..734c6c9fe81aa36d079e089521967ddbc119b2c8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATESERVER">
+ <indexterm zone="sql-createserver">
+  <primary>CREATE SERVER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE SERVER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>' ]
index 7a01c63d5f028815d7dc78b8b9cb4efbd13e515e..fc7ad09786f257e65850bb6db7c09bd293c13d2d 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATETABLE">
+ <indexterm zone="sql-createtable">
+  <primary>CREATE TABLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE TABLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> ( [
index 29c80405bf15c3240712a55a9abd4c052cf5048d..b353a43761307530de1c5665c1a6737609a28d0f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATETABLEAS">
+ <indexterm zone="sql-createtableas">
+  <primary>CREATE TABLE AS</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE TABLE AS</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 04c5fb8a1d5418ad56bffb031aa38a7d36707f9c..b6435650578be2c50b1543cc6572bc61b9164db7 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATETABLESPACE">
+ <indexterm zone="sql-createtablespace">
+  <primary>CREATE TABLESPACE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE TABLESPACE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index e5ec738a4877e29e7214099c7c79a1ab0b08ee4f..a8fba49e4c3ca3bb901d89b5515538b0ea764f50 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATETRIGGER">
+ <indexterm zone="sql-createtrigger">
+  <primary>CREATE TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ... ] }
index c34d1c0a22efa6f7d90beeeaae418240998339f6..63321520df2e058c319febd4193610636062e3ec 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> (
index 2673bc5df77bebd8e0625e2d6f4e5dc089ab01eb..9c95c116083f49af06bb378153db3f90b77a06b3 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> (
index 7643f0852d02617e17e0c54fbaf6b11438546e77..044581f6f292cf398b87ef5d2937ca33241681f8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> (
index 532419c7038541a84b9292643b91ca9a7976d5d7..360ad41f354a1701558ba0b1d0a77ca606398d4d 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> (
index 606efeee8601fffe91026f6e1e61da36770f6bd8..e5d7992bbf56d3a27d1330be651a0d0ffe9c1a09 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATETYPE">
+ <indexterm zone="sql-createtype">
+  <primary>CREATE TYPE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE TYPE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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
index 3ef2be17676356577b6f89df8716785ba33c9fa7..065999c85a4df610908c1e762d7bc3435406986b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEUSER">
+ <indexterm zone="sql-createuser">
+  <primary>CREATE USER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE USER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ ... ] ]
index c7cc4ce5746c8276303bc977ab82f0977b676efd..bb0c9c0b0380d14169f633d1f4cb97f3e1cd0b3a 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEUSERMAPPING">
+ <indexterm zone="sql-createusermapping">
+  <primary>CREATE USER MAPPING</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE USER MAPPING</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 }
index e0fbe1e5e509a42d5b148f2e7c0a2f0c7bbcb88b..57bfae3084964b54e36346aa1ebee3b32ce91506 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-CREATEVIEW">
+ <indexterm zone="sql-createview">
+  <primary>CREATE VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>CREATE VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ) ]
index 7dbedc2e90987d6479ed5a50f6a300380803fa9c..c363bd4a5654e772dd6ab3b27f72f37a4d7b9295 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-CREATEDB">
+ <indexterm zone="app-createdb">
+  <primary>createdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>createdb</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>create a new <productname>PostgreSQL</productname> database</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-createdb">
-  <primary>createdb</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>createdb</command>
index 2bc43627e5462614dcd7b3361cc9d024b9f8e698..e9c95d3278b620604d093bea2fbe2574dbf2ffa4 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-CREATELANG">
+ <indexterm zone="app-createlang">
+  <primary>createlang</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>createlang</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>install a <productname>PostgreSQL</productname> procedural language</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-createlang">
-  <primary>createlang</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>createlang</command>
index 63d4c6c4a81b05d702fffc9e283e3f8c902103bb..4332008c68bd69d1192d730d5cf1d66b4d147ca8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-CREATEUSER">
+ <indexterm zone="app-createuser">
+  <primary>createuser</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>createuser</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>define a new <productname>PostgreSQL</productname> user account</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-createuser">
-  <primary>createuser</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>createuser</command>
index 950c4e835de81b2bc48987057f4c1242ae8c566f..394b125f5230ef00b74fa5e4606c320324a2a079 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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 }
index d500faaa74333feb674bff05f6d1d03c7d37b8aa..5cb85cc568fc6fe0a2d7809e32623f690959d1cc 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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 ]
index 5d2ad3fde56c7f7c37123add2c24e200024de996..74ea90787bb075aa0f718afa9ecf040e47bd3421 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DELETE">
+ <indexterm zone="sql-delete">
+  <primary>DELETE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DELETE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index 762f86571168b0d34478d953a6bbe68ed5ac3720..5b06a638c5f93f55fb6501dd775aac8a48367a5e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DISCARD">
+ <indexterm zone="sql-discard">
+  <primary>DISCARD</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DISCARD</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>discard session state</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-discard">
-  <primary>DISCARD</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 DISCARD { ALL | PLANS | SEQUENCES | TEMPORARY | TEMP }
index 5f43d1cf52c4912338591b7c86c9133054c0f7c2..ed5e588ee713ce51b83bfdec884f4cd905483ed0 100644 (file)
@@ -4,6 +4,14 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,14 +23,6 @@ PostgreSQL documentation
   <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>
index e89e76268fe938fd3b9c28bbcf44a132ffc57f6d..37683e51eff3671e2528ed79bf9e7a576ff76c4a 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPAGGREGATE">
+ <indexterm zone="sql-dropaggregate">
+  <primary>DROP AGGREGATE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP AGGREGATE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 589c6ac39b35c880a7ed9189ac7be1855fc4fcfd..dae3a39fce2733ff344186eb64dcde00af14c68f 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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 ]
index 64a48eec2b0b4bad8589730b87f75cba913bf63f..f00c88679b7a1b0e5121de604b14c243d5d69c7e 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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 ]
index 6f866438fbb59e862ff51826b22769f3864a1aa5..1a33b3dcc522c1b990190ae775f59942e8ce0ee3 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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 ]
index 89ee7b2507952547caea7c63c52752395207edc2..740aa319951283810f9001461e6d18c11fab40c2 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPDATABASE">
+ <indexterm zone="sql-dropdatabase">
+  <primary>DROP DATABASE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP DATABASE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index b7b9a167c11f2b5294d3e43305cd74e932ddd018..995d09ec8e9119dfb25793b4cec15dd4d000ea8b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPDOMAIN">
+ <indexterm zone="sql-dropdomain">
+  <primary>DROP DOMAIN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP DOMAIN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 86f9628fd8c35fe9c2ed3cf980abfe158cec189b..cf42e150614d4478ce2c5cb1879063c795df4f5a 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPEVENTTRIGGER">
+ <indexterm zone="sql-dropeventtrigger">
+  <primary>DROP EVENT TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP EVENT TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index bcc5cfe78058f55a24933ee7aedf1645fc6bcac6..3bb9d9cb4cf848fef899ecd61bfbf6c2e5c0eab0 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPEXTENSION">
+ <indexterm zone="sql-dropextension">
+  <primary>DROP EXTENSION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP EXTENSION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 18fa4fe4a575c35acbe23c2e9cef4cd876e15ab6..e43e0bda8b0621e371ebf67b69b59458c4a5234c 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 1f66126a335681190c2f49f06170c876e5cdd822..3c6376413e79492b31d0bd2058c5124e18f0322c 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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 ]
index 2d0048be2882fe838f2ac9a14dfd849cde96f7c4..51b8ede5fbfb04528285c3cba23b7db673cb15df 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPFUNCTION">
+ <indexterm zone="sql-dropfunction">
+  <primary>DROP FUNCTION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP FUNCTION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ] )
index 57f686497e38384aae6748898801b0639ccd929d..e601ff4172c0c84f466922c432f53813d84104dc 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPGROUP">
+ <indexterm zone="sql-dropgroup">
+  <primary>DROP GROUP</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP GROUP</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...]
index 98fd9c966c3b2cbd0fdc3bf5609e2ab6d64f6b16..d66d30edf7442c6a63b4cb68263415e6a5a5d9f6 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPINDEX">
+ <indexterm zone="sql-dropindex">
+  <primary>DROP INDEX</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP INDEX</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index c2cb7045dedf0f2c66a332890dde18df14fd7f94..defae43c1a205b0a6d515f3977296a79fc50ecd0 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPLANGUAGE">
+ <indexterm zone="sql-droplanguage">
+  <primary>DROP LANGUAGE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP LANGUAGE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 80d8acea36da597f6c9d5745bb193c60e71310fa..f3ddfb06e8ce425e552ec92b379c61efcabc68b9 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPMATERIALIZEDVIEW">
+ <indexterm zone="sql-dropmaterializedview">
+  <primary>DROP MATERIALIZED VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP MATERIALIZED VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index a20293ce9769476741415f24f2113b586a589d77..2ee8f883b6c3b078d676f5525d47aa389cf85f10 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPOPCLASS">
+ <indexterm zone="sql-dropopclass">
+  <primary>DROP OPERATOR CLASS</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP OPERATOR CLASS</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 3091454fdc5846e8dc2b0fc8e178d34976bdf4c8..902e4f3fa6aa2b2d48d65c5dd551db92dbebe171 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPOPERATOR">
+ <indexterm zone="sql-dropoperator">
+  <primary>DROP OPERATOR</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP OPERATOR</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 4cc67ef0530de32024d6f81718e1a586d496f104..d665e938833b8978e2caaecabea4625e2834019b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPOPFAMILY">
+ <indexterm zone="sql-dropopfamily">
+  <primary>DROP OPERATOR FAMILY</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP OPERATOR FAMILY</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 48cf0fa535bf25a5d4bc087f1de2b23d9581104f..1cd8e60e400aa083d83cf4298d8c747125b9f135 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROP-OWNED">
+ <indexterm zone="sql-drop-owned">
+  <primary>DROP OWNED</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP OWNED</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 92c0fb863dd3748f00a26cbbc78c698758b1b0a9..9a93da624a5ab8a8e1bbe1da5741729165502fb8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPROLE">
+ <indexterm zone="sql-droprole">
+  <primary>DROP ROLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP ROLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...]
index c845872566c93baa93dc30f2d5f664697e9bb1d8..16ab2b1bb571b4739e0308e0e8433e8dfe0f6e32 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPRULE">
+ <indexterm zone="sql-droprule">
+  <primary>DROP RULE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP RULE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 15dbc40817a74117e6b3ba1d028855c1d0564c58..859f17e185728af48ca474c5c0c0e4ee05578384 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPSCHEMA">
+ <indexterm zone="sql-dropschema">
+  <primary>DROP SCHEMA</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP SCHEMA</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index f810b5976c19a289d2be09936da30fc70631eaf6..b0f9cddda744e7a321a0a6b236d301a05141d597 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPSEQUENCE">
+ <indexterm zone="sql-dropsequence">
+  <primary>DROP SEQUENCE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP SEQUENCE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index a6e6743357edec005249a25c0918fd91f3e26eea..497d83fb4aa61b076f8e7d948921cd50c0364882 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPSERVER">
+ <indexterm zone="sql-dropserver">
+  <primary>DROP SERVER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP SERVER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index fc51c7c622860b3be2ede3f46fb1bede4c4240c2..4cb1f49b3aa61415f9d7dc1378a4484979d471a5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPTABLE">
+ <indexterm zone="sql-droptable">
+  <primary>DROP TABLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP TABLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 1db6ecd59ad1b65dda016aeba54c5f0fcb94a499..d0a05af2e14fc8f985d972378be0aebfaf90219f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPTABLESPACE">
+ <indexterm zone="sql-droptablespace">
+  <primary>DROP TABLESPACE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP TABLESPACE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 3ec6cc7f059f125f4add8c13f0688ec06913099d..2067aefca247e663105b3a1ca9037d048d6b4607 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPTRIGGER">
+ <indexterm zone="sql-droptrigger">
+  <primary>DROP TRIGGER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP TRIGGER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 8fcb0d3d5e247b2a66de317b9a6e6cd8117bfd1c..831485e6a68626774d9de14da0e0702e91c87208 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 12b88cd7d35b20c250e1b518b4eb839274c62381..44b30cbe6767524ff049192315d833ea2a49e122 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 860d7e20bb376c2812e35ed2e896bfae7522c5de..789e807dbe2b1dfa1b2d52f2d704a0efaf33671f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 8ad419d3ed28d069f7789fdf2cb6b6eb5012f7c2..ebf81367441f3231026d9cc854ea51f14f27a521 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index c3ddfa5f425347a748153b9b3645119ee3413dcc..98c8a3cbef5411ee2654fc65dbd3866081b4b14f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPTYPE">
+ <indexterm zone="sql-droptype">
+  <primary>DROP TYPE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP TYPE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 1bdf03c51560a2987683f45a8b263701ea2bfa47..24e2a87ff2db5ea54cf7675569002cb68c6d8a69 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPUSER">
+ <indexterm zone="sql-dropuser">
+  <primary>DROP USER</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP USER</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...]
index de21bfe5d7a0b81094adf5d799efe9b0cd518b53..ddfad0bcadb75e608353232378080ce4a1830f08 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPUSERMAPPING">
+ <indexterm zone="sql-dropusermapping">
+  <primary>DROP USER MAPPING</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP USER MAPPING</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 51b82664cb374209c612a266c5e5611d561c0812..8b43be5360079cd19602360b3b4a7697e31930d5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-DROPVIEW">
+ <indexterm zone="sql-dropview">
+  <primary>DROP VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>DROP VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 4593604f3bc96124162438d03fcb377aa9d14128..16c49e7928bcb739beda3387894686d88f0e2995 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-DROPDB">
+ <indexterm zone="app-dropdb">
+  <primary>dropdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>dropdb</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>remove a <productname>PostgreSQL</productname> database</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-dropdb">
-  <primary>dropdb</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>dropdb</command>
index 81b954a68f0843bac6e1be61cdac104c514c3022..86f05d6b0501a1ed60f3ecc60deecb4c0de9827f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-DROPLANG">
+ <indexterm zone="app-droplang">
+  <primary>droplang</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>droplang</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>remove a <productname>PostgreSQL</productname> procedural language</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-droplang">
-  <primary>droplang</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>droplang</command>
index 180fb0bb62e67469a0e7bd007bd095a121cdac97..d7ad61b3d63a2a23363de26eef477ae11b6e8dce 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-DROPUSER">
+ <indexterm zone="app-dropuser">
+  <primary>dropuser</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>dropuser</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>remove a <productname>PostgreSQL</productname> user account</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-dropuser">
-  <primary>dropuser</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>dropuser</command>
index edd20dcdd557526cbcb07ff86104093ba39113e4..029bd4a4d2255f8c2c5687d54e8ab59a0e03d2ed 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-ECPG">
+ <indexterm zone="app-ecpg">
+  <primary>ecpg</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>ecpg</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>embedded SQL C preprocessor</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-ecpg">
-  <primary>ecpg</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>ecpg</command>
index b60cb2c48bdfdccf0b7bc40317385ee4477cbe64..10e414515bf47e7061bbe929288776e077ca5b61 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-END">
+ <indexterm zone="sql-end">
+  <primary>END</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>END</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>commit the current transaction</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-end">
-  <primary>END</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 END [ WORK | TRANSACTION ]
index 2c7308eaa58932e93d130c7027e45edd85f0f6b3..76069c019eab075208c7d89f98c776eb04b2c654 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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> [, ...] ) ]
index 0f579fb161fe6336aecb1fd50fd9d2aef38a7c2f..04a78ee82ea2b6ca7225d05779141aa61f0960a5 100644 (file)
@@ -4,17 +4,6 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -29,6 +18,17 @@ PostgreSQL documentation
   <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>
index cc49b6f0ce666a58cee53bb4ee21ac08214c5198..24c8c4915690b79a5c8a15469e82796b118783af 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index fc3552bc1de6f1fe78a7e157ed9236764924938b..f2b25e546c3bc5b3d50fdd18b9973cad74784926 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-GRANT">
+ <indexterm zone="sql-grant">
+  <primary>GRANT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>GRANT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>define access privileges</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-grant">
-  <primary>GRANT</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
index b1067e235058bae655249b1bad20c791494ce3d1..228edf75dac0e2a5d5ab9c17a02670cfdc1516a1 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-INITDB">
+ <indexterm zone="app-initdb">
+  <primary>initdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>initdb</refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>create a new <productname>PostgreSQL</productname> database cluster</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-initdb">
-  <primary>initdb</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>initdb</command>
index a3930beb38d5becbb2b295eaa64dc66e0e49cc29..a3cccb9f7c79a5bac71ed35a96d171e9b9587041 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-INSERT">
+ <indexterm zone="sql-insert">
+  <primary>INSERT</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>INSERT</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index 7287d3fc29611dec6466bf92ac71fed6786f7d54..9cd53b02bb2274e230b48edf5b685261c2c796bd 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-LISTEN">
+ <indexterm zone="sql-listen">
+  <primary>LISTEN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>LISTEN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>listen for a notification</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-listen">
-  <primary>LISTEN</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 LISTEN <replaceable class="PARAMETER">channel</replaceable>
index f44f313b5eb7ffdaecf2430f24b7bf7dd9e56e57..a5a6ef8e67d9ad44c8998af87c3f0a915d4dfa4f 100644 (file)
@@ -3,6 +3,10 @@ doc/src/sgml/ref/load.sgml
 -->
 
 <refentry id="SQL-LOAD">
+ <indexterm zone="sql-load">
+  <primary>LOAD</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>LOAD</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -14,10 +18,6 @@ doc/src/sgml/ref/load.sgml
   <refpurpose>load a shared library file</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-load">
-  <primary>LOAD</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 LOAD '<replaceable class="PARAMETER">filename</replaceable>'
index 95d676737617d430b44f87fc9c5fe85d6a952df1..26e424b63e864478a0c4da338d85dea87427a5cf 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-LOCK">
+ <indexterm zone="sql-lock">
+  <primary>LOCK</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>LOCK</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 231f537c860f5a2525154a7c5b62e5855c0c8b5f..ed64f23068999c66412d2c0685da018bf29d878e 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index 307d2f62825a0bb6aeeae2d13be4d91a377716a1..ad574e9ea03228f74ef7bc25bc3ccf1846d60c0f 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-NOTIFY">
+ <indexterm zone="sql-notify">
+  <primary>NOTIFY</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>NOTIFY</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> ]
index ea2233123ecae2b8616425ed52ad9ec21c66ea46..84b45ae7a00d591ff40feb327d73087d37f8acee 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="app-pgbasebackup">
+ <indexterm zone="app-pgbasebackup">
+  <primary>pg_basebackup</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>pg_basebackup</refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 5aac38b3cec88879b5c8337f318cc4dfe6ae28d4..9f6db9e39b4e60bf18ee039520846f23f6dee2af 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index c9eebc089e6c88bbee47f1ee1339b8c052665cba..fbf40fcf9de8083f6d79daebe819f8977fa35c20 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-PGCONTROLDATA">
+ <indexterm zone="app-pgcontroldata">
+  <primary>pg_controldata</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>pg_controldata</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 3107514901ce96463261596931b1721534ca9089..45b53ce1a1a6920641a7b1b34f0c908546d429b6 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 8d45f24bd2f68be39c8160da617f0886b608d175..40c69f05421ecadeb0a0540b6773e00b78921294 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-PGDUMP">
+ <indexterm zone="app-pgdump">
+  <primary>pg_dump</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>pg_dump</refentrytitle>
   <manvolnum>1</manvolnum>
@@ -18,10 +22,6 @@ PostgreSQL documentation
   </refpurpose>
  </refnamediv>
 
- <indexterm zone="app-pgdump">
-  <primary>pg_dump</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>pg_dump</command>
index 5c6a101333fe5622e46eb4e457377b81c0af49e5..f33793985f9569762cf40c466b6acd8228f3a3d8 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index bef6a44415551d8864c101ba9311faeb25efeb65..cadfe8eb08183e0aab7543aa3f6570226cce62c6 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index f05e7180948bd65f0e35d71703e8ffeaf2492771..78c105cc18a96c2142706bc776d46c7cd83526be 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="app-pgreceivexlog">
+ <indexterm zone="app-pgreceivexlog">
+  <primary>pg_receivexlog</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>pg_receivexlog</refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index b5286650cec9f5ad47257fbc1c38f8efeb9b4a54..34b06069556da6d41e30994172c8320d563c88c5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-PGRESETXLOG">
+ <indexterm zone="app-pgresetxlog">
+  <primary>pg_resetxlog</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>pg_resetxlog</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 717da4272dd422035060f09c82f48dfa105c6a37..cd60b2558a4e975eac1e1c0dce70d7ce2b58977c 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>
index 65fd0a29ffb06ac4262e81d8bd509047c44a37d1..8e225e4c5d0b9e5c22685ef31664664013eef96a 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="app-postgres">
+ <indexterm zone="app-postgres">
+  <primary>postgres</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>postgres</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose><productname>PostgreSQL</productname> database server</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-postgres">
-  <primary>postgres</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>postgres</command>
index d66fe1c3defb521383ae44f46cc1c4a0234ee1d6..0a58a6333123f016598fb6a940fe27baf3e59621 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="app-postmaster">
+ <indexterm zone="app-postmaster">
+  <primary>postmaster</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>postmaster</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose><productname>PostgreSQL</productname> database server</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-postmaster">
-  <primary>postmaster</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>postmaster</command>
index b1698f2bb8827f13e1bd56e95b585b483d3539db..dbce8f2ef239b453769e42971e42b1d32e4119c8 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index a379819a0aac8b6cb115e92df78475b5feded4e2..626753f5762d11b7ba8e6b0c563599179cef82aa 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-PREPARE-TRANSACTION">
+ <indexterm zone="sql-prepare-transaction">
+  <primary>PREPARE TRANSACTION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>PREPARE TRANSACTION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 94635c56ce9c089d2bda533b65f2260e043b43ce..8813be8f2a2f4599ee6001adcfa7f33fc3c29dda 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-PSQL">
+ <indexterm zone="app-psql">
+  <primary>psql</primary>
+ </indexterm>
+
   <refmeta>
     <refentrytitle><application>psql</application></refentrytitle>
     <manvolnum>1</manvolnum>
@@ -17,10 +21,6 @@ PostgreSQL documentation
     </refpurpose>
   </refnamediv>
 
- <indexterm zone="app-psql">
-  <primary>psql</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>psql</command>
index 0d6b1787e29da459f15d7d89a20dd3a405f58799..d7d6abb9d8c81dbe6748be04f5b0585958e52d9c 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-REASSIGN-OWNED">
+ <indexterm zone="sql-reassign-owned">
+  <primary>REASSIGN OWNED</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>REASSIGN OWNED</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index d2f8104aa7dff9964bda0d2e57f8795a73b6ec1d..c165c69c9f9848853e15dc5b4e86ad76fb93ca86 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-REFRESHMATERIALIZEDVIEW">
+ <indexterm zone="sql-refreshmaterializedview">
+  <primary>REFRESH MATERIALIZED VIEW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>REFRESH MATERIALIZED VIEW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 722266563eb16c83b5c3463da01011198e736354..54422c3442cc612bb9f5eee2ccd3624285321956 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-REINDEX">
+ <indexterm zone="sql-reindex">
+  <primary>REINDEX</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>REINDEX</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 ]
index 3ba9951df8e5ed01ff0dfef2333ea2bac23ad31e..486f5c9367a92d5d7e37c7e13b6ba3b756e89210 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-REINDEXDB">
+ <indexterm zone="app-reindexdb">
+  <primary>reindexdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>reindexdb</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>reindex a <productname>PostgreSQL</productname> database</refpurpose>
  </refnamediv>
 
- <indexterm zone="app-reindexdb">
-  <primary>reindexdb</primary>
- </indexterm>
-
  <refsynopsisdiv>
   <cmdsynopsis>
    <command>reindexdb</command>
index 99b16d48e9db56d5dca336dacf5c09e82cdec3d2..b331b7226b04aac6010a340c67b335c0abb72b0b 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index d1ce7fb12467b09f14f2c78fed6d9c3b10347ad0..7e76891bde0256e1ac3275589a8c2a7f65c13864 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-RESET">
+ <indexterm zone="sql-reset">
+  <primary>RESET</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>RESET</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index d2c5a4a5054b3c6367ca09509fa2b22cf4b19ac0..36c286bf0df14003c46e62ea43d3a3dd3be0c040 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-REVOKE">
+ <indexterm zone="sql-revoke">
+  <primary>REVOKE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>REVOKE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>remove access privileges</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-revoke">
-  <primary>REVOKE</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 REVOKE [ GRANT OPTION FOR ]
index 9a1529f0b48c636c518861bad1d61d85f1998cc5..b0b1e8d0e3fddc993c21f65b48c8c7036f57c177 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ROLLBACK">
+ <indexterm zone="sql-rollback">
+  <primary>ROLLBACK</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ROLLBACK</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>abort the current transaction</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-rollback">
-  <primary>ROLLBACK</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 ROLLBACK [ WORK | TRANSACTION ]
index 514e5ae441a345b77e8261ab1e088247f998852d..a5328e96a299a5a6c7fc656cb3e5f78dd50609e5 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-ROLLBACK-PREPARED">
+ <indexterm zone="sql-rollback-prepared">
+  <primary>ROLLBACK PREPARED</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>ROLLBACK PREPARED</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index c21449af676bbfe6f7204ec39b612e7e016ba106..060f408a6337a2b2fe4eccc8d14c619206582fb9 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index 2ea873bfc77610abf1978df8aef4a4f88dd0ad9b..5b944a256150df0ba9a510397471e658aca14727 100644 (file)
@@ -4,6 +4,15 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -15,15 +24,6 @@ PostgreSQL documentation
   <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>
index d7595654e4d7a5a329786583577e51eca9ddac71..6e2bd25240b728d8aa8a1b21382f2a802c287451 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-SECURITY-LABEL">
+ <indexterm zone="sql-security-label">
+  <primary>SECURITY LABEL</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>SECURITY LABEL</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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
index 9a468b98c0a750cf6c2f7c75ad2add3640c59841..7395754662710b2055fa44ae6665d2c7e1a0bd03 100644 (file)
@@ -4,19 +4,6 @@ PostgreSQL documentation
 -->
 
 <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>
@@ -30,6 +17,19 @@ PostgreSQL documentation
   <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> [, ...] ]
index 48b789b580554036301e332a4918ea9a3af15f48..cf163725288ffebdf5b4babe33acff806558b040 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-SELECTINTO">
+ <indexterm zone="sql-selectinto">
+  <primary>SELECT INTO</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>SELECT INTO</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index aaad61eb4fd6a7a6edc8ce7e374fa3177cf81310..4ebb6a627b64a847eb718cfe5313d732be022bdb 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-SET">
+ <indexterm zone="sql-set">
+  <primary>SET</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>SET</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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 }
index 60cabeda3c4e8c1c5fd19297c51d561fcbe94b18..7c31871b0bd2b7acbbfe466eeb29aae68c0b7f0d 100644 (file)
@@ -1,5 +1,9 @@
 <!-- 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 }
index bb6ea5179f84c0cbc675f20f48c27971e7cac949..8e2deb76351765453a55f1b5195258ef1a70682e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-SET-ROLE">
+ <indexterm zone="sql-set-role">
+  <primary>SET ROLE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>SET ROLE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 856b030127a15e15e3ef5dadb074d972e052c136..4ac21289507eb4601f0b156927cf9bf87200ad40 100644 (file)
@@ -1,5 +1,9 @@
 <!-- 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>
index 029b75a2bcc06bb700398dd2f68ef8ebe90b118f..ca55a5b19666223d2ff232d18ba8638335b9d99b 100644 (file)
@@ -1,16 +1,5 @@
 <!-- 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> [, ...]
index 4a6a3fc7fe9c2de90f08fd87d96533fbbd5fb473..46bb239baf22767d28321022c6e21dddd8de8e46 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-SHOW">
+ <indexterm zone="sql-show">
+  <primary>SHOW</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>SHOW</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index f25a3e9536ee217908d01b45ea774ea9e44efd70..60926f5dfef3a637b19de6a3a480e417db694569 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-START-TRANSACTION">
+ <indexterm zone="sql-start-transaction">
+  <primary>START TRANSACTION</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>START TRANSACTION</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index 7b9c2f30128fbb3283b1e8fc0467134a574051c0..87516c9cc365dc6054cd9e36b4226d37c433fa6e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-TRUNCATE">
+ <indexterm zone="sql-truncate">
+  <primary>TRUNCATE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>TRUNCATE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [ * ] [, ... ]
index c6436829d6089303b48429a43281d507c537ea7a..f7c3c47e2f33c55715c81f6ddef2d86ac2a03d6b 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-UNLISTEN">
+ <indexterm zone="sql-unlisten">
+  <primary>UNLISTEN</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>UNLISTEN</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>stop listening for a notification</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-unlisten">
-  <primary>UNLISTEN</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * }
index 90b92085cd2272946a0d1b99d82f16eff8afc01d..7f565be3c2003f02b642f69c2aeb6ad364e7cf32 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-UPDATE">
+ <indexterm zone="sql-update">
+  <primary>UPDATE</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>UPDATE</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ]
index 23c3ca89c73b60c39e71e40d1a4b0702e3baeac3..450c94fcd3eab2096488a0d452e3d0b2c9b9e47e 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-VACUUM">
+ <indexterm zone="sql-vacuum">
+  <primary>VACUUM</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>VACUUM</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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> [, ...] ) ] ]
index a5216ec038946f6ff2a0ae2ba0d50e01ac4a5fc7..1c519f5944f60e315c8bf617aaf6434c3d386866 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="APP-VACUUMDB">
+ <indexterm zone="app-vacuumdb">
+  <primary>vacuumdb</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle><application>vacuumdb</application></refentrytitle>
   <manvolnum>1</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <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>
index 1f0e9a8ba11d0923f8325b62f27e40f630352e3d..0fb3cd7bc2da592acc1d9ebacdf207ccd2250d86 100644 (file)
@@ -4,6 +4,10 @@ PostgreSQL documentation
 -->
 
 <refentry id="SQL-VALUES">
+ <indexterm zone="sql-values">
+  <primary>VALUES</primary>
+ </indexterm>
+
  <refmeta>
   <refentrytitle>VALUES</refentrytitle>
   <manvolnum>7</manvolnum>
@@ -15,10 +19,6 @@ PostgreSQL documentation
   <refpurpose>compute a set of rows</refpurpose>
  </refnamediv>
 
- <indexterm zone="sql-values">
-  <primary>VALUES</primary>
- </indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, ...]
index 079a4571fb894c59c082c26d694d49f4da4e4ec4..d8af07e5d2f73dfb1f477b0ec1f9f123e09332aa 100644 (file)
@@ -63,6 +63,8 @@
  <title>Interface Functions</title>
 
  <refentry id="spi-spi-connect">
+  <indexterm><primary>SPI_connect</primary></indexterm>
+
   <refmeta>
    <refentrytitle>SPI_connect</refentrytitle>
    <manvolnum>3</manvolnum>
@@ -73,8 +75,6 @@
    <refpurpose>connect a procedure to the SPI manager</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_connect</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 int SPI_connect(void)
@@ -135,6 +135,8 @@ int SPI_connect(void)
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-finish">
+ <indexterm><primary>SPI_finish</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_finish</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -145,8 +147,6 @@ int SPI_connect(void)
   <refpurpose>disconnect a procedure from the SPI manager</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_finish</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 int SPI_finish(void)
@@ -201,6 +201,8 @@ int SPI_finish(void)
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-push">
+ <indexterm><primary>SPI_push</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_push</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -211,8 +213,6 @@ int SPI_finish(void)
   <refpurpose>push SPI stack to allow recursive SPI usage</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_push</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 void SPI_push(void)
@@ -249,6 +249,8 @@ void SPI_push(void)
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-pop">
+ <indexterm><primary>SPI_pop</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_pop</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -259,8 +261,6 @@ void SPI_push(void)
   <refpurpose>pop SPI stack to return from recursive SPI usage</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_pop</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 void SPI_pop(void)
@@ -281,6 +281,8 @@ void SPI_pop(void)
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-execute">
+ <indexterm><primary>SPI_execute</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_execute</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -291,8 +293,6 @@ void SPI_pop(void)
   <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>)
@@ -637,6 +637,8 @@ typedef struct
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-exec">
+ <indexterm><primary>SPI_exec</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_exec</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -647,8 +649,6 @@ typedef struct
   <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>)
@@ -703,6 +703,8 @@ int SPI_exec(const char * <parameter>command</parameter>, long <parameter>count<
 <!-- *********************************************** -->
 
 <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>
@@ -713,8 +715,6 @@ int SPI_exec(const char * <parameter>command</parameter>, long <parameter>count<
   <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>,
@@ -856,6 +856,8 @@ 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>
@@ -866,8 +868,6 @@ int SPI_execute_with_args(const char *<parameter>command</parameter>,
   <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>)
@@ -1018,6 +1018,8 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-prepare-cursor">
+ <indexterm><primary>SPI_prepare_cursor</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_prepare_cursor</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -1028,8 +1030,6 @@ SPIPlanPtr SPI_prepare(const char * <parameter>command</parameter>, int <paramet
   <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>,
@@ -1120,6 +1120,8 @@ SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-prepare-params">
+ <indexterm><primary>SPI_prepare_params</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_prepare_params</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -1130,8 +1132,6 @@ SPIPlanPtr SPI_prepare_cursor(const char * <parameter>command</parameter>, int <
   <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>,
@@ -1208,6 +1208,8 @@ 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>
@@ -1219,8 +1221,6 @@ SPIPlanPtr SPI_prepare_params(const char * <parameter>command</parameter>,
   prepared by <function>SPI_prepare</function></refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_getargcount</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 int SPI_getargcount(SPIPlanPtr <parameter>plan</parameter>)
@@ -1265,6 +1265,8 @@ 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>
@@ -1276,8 +1278,6 @@ int SPI_getargcount(SPIPlanPtr <parameter>plan</parameter>)
   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>)
@@ -1335,6 +1335,8 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
 <!-- *********************************************** -->
 
 <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>
@@ -1347,8 +1349,6 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
   <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>)
@@ -1404,6 +1404,8 @@ 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>
@@ -1414,8 +1416,6 @@ bool SPI_is_cursor_plan(SPIPlanPtr <parameter>plan</parameter>)
   <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>,
@@ -1540,6 +1540,8 @@ int SPI_execute_plan(SPIPlanPtr <parameter>plan</parameter>, Datum * <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>
@@ -1550,8 +1552,6 @@ int SPI_execute_plan(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>
   <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>,
@@ -1635,6 +1635,8 @@ 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>
@@ -1645,8 +1647,6 @@ int SPI_execute_plan_with_paramlist(SPIPlanPtr <parameter>plan</parameter>,
   <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>)
@@ -1739,6 +1739,8 @@ int SPI_execp(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values<
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-cursor-open">
+ <indexterm><primary>SPI_cursor_open</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_cursor_open</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -1749,8 +1751,6 @@ int SPI_execp(SPIPlanPtr <parameter>plan</parameter>, Datum * <parameter>values<
   <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>,
@@ -1863,6 +1863,8 @@ Portal SPI_cursor_open(const char * <parameter>name</parameter>, SPIPlanPtr <par
 <!-- *********************************************** -->
 
 <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>
@@ -1873,8 +1875,6 @@ Portal SPI_cursor_open(const char * <parameter>name</parameter>, SPIPlanPtr <par
   <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>,
@@ -2016,6 +2016,8 @@ 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>
@@ -2026,8 +2028,6 @@ Portal SPI_cursor_open_with_args(const char *<parameter>name</parameter>,
   <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>,
@@ -2112,6 +2112,8 @@ 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>
@@ -2122,8 +2124,6 @@ Portal SPI_cursor_open_with_paramlist(const char *<parameter>name</parameter>,
   <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>)
@@ -2168,6 +2168,8 @@ 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>
@@ -2178,8 +2180,6 @@ Portal SPI_cursor_find(const char * <parameter>name</parameter>)
   <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>)
@@ -2253,6 +2253,8 @@ void SPI_cursor_fetch(Portal <parameter>portal</parameter>, bool <parameter>forw
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-cursor-move">
+ <indexterm><primary>SPI_cursor_move</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_cursor_move</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -2263,8 +2265,6 @@ void SPI_cursor_fetch(Portal <parameter>portal</parameter>, bool <parameter>forw
   <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>)
@@ -2328,6 +2328,8 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa
 <!-- *********************************************** -->
 
 <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>
@@ -2338,8 +2340,6 @@ void SPI_cursor_move(Portal <parameter>portal</parameter>, bool <parameter>forwa
   <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>,
@@ -2427,6 +2427,8 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio
 <!-- *********************************************** -->
 
 <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>
@@ -2437,8 +2439,6 @@ void SPI_scroll_cursor_fetch(Portal <parameter>portal</parameter>, FetchDirectio
   <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>,
@@ -2528,6 +2528,8 @@ void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-cursor-close">
+ <indexterm><primary>SPI_cursor_close</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_cursor_close</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -2538,8 +2540,6 @@ void SPI_scroll_cursor_move(Portal <parameter>portal</parameter>, FetchDirection
   <refpurpose>close a cursor</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_cursor_close</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 void SPI_cursor_close(Portal <parameter>portal</parameter>)
@@ -2580,6 +2580,8 @@ 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>
@@ -2590,8 +2592,6 @@ void SPI_cursor_close(Portal <parameter>portal</parameter>)
   <refpurpose>save a prepared statement</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_keepplan</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 int SPI_keepplan(SPIPlanPtr <parameter>plan</parameter>)
@@ -2649,6 +2649,8 @@ 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>
@@ -2659,8 +2661,6 @@ int SPI_keepplan(SPIPlanPtr <parameter>plan</parameter>)
   <refpurpose>save a prepared statement</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_saveplan</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 SPIPlanPtr SPI_saveplan(SPIPlanPtr <parameter>plan</parameter>)
@@ -2760,6 +2760,8 @@ 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>
@@ -2770,8 +2772,6 @@ SPIPlanPtr SPI_saveplan(SPIPlanPtr <parameter>plan</parameter>)
   <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>)
@@ -2827,6 +2827,8 @@ char * SPI_fname(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnum
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-fnumber">
+ <indexterm><primary>SPI_fnumber</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_fnumber</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -2837,8 +2839,6 @@ char * SPI_fname(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnum
   <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>)
@@ -2901,6 +2901,8 @@ int SPI_fnumber(TupleDesc <parameter>rowdesc</parameter>, const char * <paramete
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-getvalue">
+ <indexterm><primary>SPI_getvalue</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_getvalue</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -2911,8 +2913,6 @@ int SPI_fnumber(TupleDesc <parameter>rowdesc</parameter>, const char * <paramete
   <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>)
@@ -2985,6 +2985,8 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-getbinval">
+ <indexterm><primary>SPI_getbinval</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_getbinval</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -2995,8 +2997,6 @@ char * SPI_getvalue(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
   <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>,
@@ -3080,6 +3080,8 @@ Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-gettype">
+ <indexterm><primary>SPI_gettype</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_gettype</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3090,8 +3092,6 @@ Datum SPI_getbinval(HeapTuple <parameter>row</parameter>, TupleDesc <parameter>r
   <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>)
@@ -3146,6 +3146,8 @@ char * SPI_gettype(TupleDesc <parameter>rowdesc</parameter>, int <parameter>coln
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-gettypeid">
+ <indexterm><primary>SPI_gettypeid</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_gettypeid</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3156,8 +3158,6 @@ char * SPI_gettype(TupleDesc <parameter>rowdesc</parameter>, int <parameter>coln
   <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>)
@@ -3212,6 +3212,8 @@ Oid SPI_gettypeid(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnu
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-getrelname">
+ <indexterm><primary>SPI_getrelname</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_getrelname</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3222,8 +3224,6 @@ Oid SPI_gettypeid(TupleDesc <parameter>rowdesc</parameter>, int <parameter>colnu
   <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>)
@@ -3265,6 +3265,8 @@ 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>
@@ -3275,8 +3277,6 @@ char * SPI_getrelname(Relation <parameter>rel</parameter>)
   <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>)
@@ -3400,6 +3400,8 @@ 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>
@@ -3410,8 +3412,6 @@ char * SPI_getnspname(Relation <parameter>rel</parameter>)
   <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>)
@@ -3454,6 +3454,8 @@ 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>
@@ -3464,8 +3466,6 @@ void * SPI_palloc(Size <parameter>size</parameter>)
   <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>)
@@ -3524,6 +3524,8 @@ void * SPI_repalloc(void * <parameter>pointer</parameter>, Size <parameter>size<
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-pfree">
+ <indexterm><primary>SPI_pfree</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_pfree</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3534,8 +3536,6 @@ void * SPI_repalloc(void * <parameter>pointer</parameter>, Size <parameter>size<
   <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>)
@@ -3577,6 +3577,8 @@ 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>
@@ -3587,8 +3589,6 @@ void SPI_pfree(void * <parameter>pointer</parameter>)
   <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>)
@@ -3634,6 +3634,8 @@ 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>
@@ -3644,8 +3646,6 @@ HeapTuple SPI_copytuple(HeapTuple <parameter>row</parameter>)
   <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>)
@@ -3709,6 +3709,8 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-modifytuple">
+ <indexterm><primary>SPI_modifytuple</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_modifytuple</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3719,8 +3721,6 @@ HeapTupleHeader SPI_returntuple(HeapTuple <parameter>row</parameter>, TupleDesc
   <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>,
@@ -3857,6 +3857,8 @@ HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parame
 <!-- *********************************************** -->
 
 <refentry id="spi-spi-freetuple">
+ <indexterm><primary>SPI_freetuple</primary></indexterm>
+
  <refmeta>
   <refentrytitle>SPI_freetuple</refentrytitle>
   <manvolnum>3</manvolnum>
@@ -3867,8 +3869,6 @@ HeapTuple SPI_modifytuple(Relation <parameter>rel</parameter>, HeapTuple <parame
   <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>)
@@ -3909,6 +3909,8 @@ 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>
@@ -3920,8 +3922,6 @@ void SPI_freetuple(HeapTuple <parameter>row</parameter>)
   function</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_freetuptable</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 void SPI_freetuptable(SPITupleTable * <parameter>tuptable</parameter>)
@@ -3976,6 +3976,8 @@ 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>
@@ -3986,8 +3988,6 @@ void SPI_freetuptable(SPITupleTable * <parameter>tuptable</parameter>)
   <refpurpose>free a previously saved prepared statement</refpurpose>
  </refnamediv>
 
- <indexterm><primary>SPI_freeplan</primary></indexterm>
-
  <refsynopsisdiv>
 <synopsis>
 int SPI_freeplan(SPIPlanPtr <parameter>plan</parameter>)
index b9629bf2f5450e51f5eeba954130974510ea126b..9da61c93fe4fe49cec92373f9ca40002343ad061 100644 (file)
@@ -1,6 +1,10 @@
 <!-- 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>