1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

doc: Fix DocBook XML validity

The main problem is that DocBook SGML allows indexterm elements just
about everywhere, but DocBook XML is stricter.  For example, this common
pattern

    <varlistentry>
     <indexterm>...</indexterm>
     <term>...</term>
     ...
    </varlistentry>

needs to be changed to something like

    <varlistentry>
     <term>...<indexterm>...</indexterm></term>
     ...
    </varlistentry>

See also bb4eefe7bf.

There is currently nothing in the build system that enforces that things
stay valid, because that requires additional tools and will receive
separate consideration.
This commit is contained in:
Peter Eisentraut
2014-05-06 21:28:58 -04:00
parent 84288a86ac
commit 3a9d430af5
24 changed files with 903 additions and 578 deletions

View File

@ -28,10 +28,10 @@
<varlistentry> <varlistentry>
<term> <term>
<varname>auth_delay.milliseconds</varname> (<type>int</type>) <varname>auth_delay.milliseconds</varname> (<type>int</type>)
<indexterm>
<primary><varname>auth_delay.milliseconds</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auth_delay.milliseconds</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
The number of milliseconds to wait before reporting an authentication The number of milliseconds to wait before reporting an authentication

View File

@ -46,10 +46,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_min_duration</varname> (<type>integer</type>) <varname>auto_explain.log_min_duration</varname> (<type>integer</type>)
<indexterm>
<primary><varname>auto_explain.log_min_duration</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_min_duration</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_min_duration</varname> is the minimum statement <varname>auto_explain.log_min_duration</varname> is the minimum statement
@ -65,10 +65,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_analyze</varname> (<type>boolean</type>) <varname>auto_explain.log_analyze</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_analyze</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_analyze</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_analyze</varname> causes <command>EXPLAIN ANALYZE</> <varname>auto_explain.log_analyze</varname> causes <command>EXPLAIN ANALYZE</>
@ -89,10 +89,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_verbose</varname> (<type>boolean</type>) <varname>auto_explain.log_verbose</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_verbose</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_verbose</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_verbose</varname> causes <command>EXPLAIN VERBOSE</> <varname>auto_explain.log_verbose</varname> causes <command>EXPLAIN VERBOSE</>
@ -106,10 +106,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_buffers</varname> (<type>boolean</type>) <varname>auto_explain.log_buffers</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_buffers</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_buffers</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_buffers</varname> causes <command>EXPLAIN <varname>auto_explain.log_buffers</varname> causes <command>EXPLAIN
@ -125,10 +125,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_triggers</varname> (<type>boolean</type>) <varname>auto_explain.log_triggers</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_triggers</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_triggers</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_triggers</varname> causes trigger <varname>auto_explain.log_triggers</varname> causes trigger
@ -143,10 +143,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_format</varname> (<type>enum</type>) <varname>auto_explain.log_format</varname> (<type>enum</type>)
<indexterm>
<primary><varname>auto_explain.log_format</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_format</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_format</varname> selects the <varname>auto_explain.log_format</varname> selects the
@ -161,10 +161,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_timing</varname> (<type>boolean</type>) <varname>auto_explain.log_timing</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_timing</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_timing</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_timing</varname> causes <command>EXPLAIN <varname>auto_explain.log_timing</varname> causes <command>EXPLAIN
@ -182,10 +182,10 @@ LOAD 'auto_explain';
<varlistentry> <varlistentry>
<term> <term>
<varname>auto_explain.log_nested_statements</varname> (<type>boolean</type>) <varname>auto_explain.log_nested_statements</varname> (<type>boolean</type>)
<indexterm>
<primary><varname>auto_explain.log_nested_statements</> configuration parameter</primary>
</indexterm>
</term> </term>
<indexterm>
<primary><varname>auto_explain.log_nested_statements</> configuration parameter</primary>
</indexterm>
<listitem> <listitem>
<para> <para>
<varname>auto_explain.log_nested_statements</varname> causes nested <varname>auto_explain.log_nested_statements</varname> causes nested

File diff suppressed because it is too large Load Diff

View File

@ -56,8 +56,10 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><systemitem class="osname">FreeBSD</></term> <term>
<indexterm><primary>FreeBSD</><secondary>shared library</></> <systemitem class="osname">FreeBSD</>
<indexterm><primary>FreeBSD</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is The compiler flag to create <acronym>PIC</acronym> is
@ -74,8 +76,10 @@ gcc -shared -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">HP-UX</></term> <term>
<indexterm><primary>HP-UX</><secondary>shared library</></> <systemitem class="osname">HP-UX</>
<indexterm><primary>HP-UX</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag of the system compiler to create The compiler flag of the system compiler to create
@ -101,8 +105,10 @@ ld -b -o foo.sl foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">Linux</></term> <term>
<indexterm><primary>Linux</><secondary>shared library</></> <systemitem class="osname">Linux</>
<indexterm><primary>Linux</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is The compiler flag to create <acronym>PIC</acronym> is
@ -120,8 +126,10 @@ cc -shared -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">Mac OS X</></term> <term>
<indexterm><primary>Mac OS X</><secondary>shared library</></> <systemitem class="osname">Mac OS X</>
<indexterm><primary>Mac OS X</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
Here is an example. It assumes the developer tools are installed. Here is an example. It assumes the developer tools are installed.
@ -134,8 +142,10 @@ cc -bundle -flat_namespace -undefined suppress -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">NetBSD</></term> <term>
<indexterm><primary>NetBSD</><secondary>shared library</></> <systemitem class="osname">NetBSD</>
<indexterm><primary>NetBSD</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is The compiler flag to create <acronym>PIC</acronym> is
@ -152,8 +162,10 @@ gcc -shared -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">OpenBSD</></term> <term>
<indexterm><primary>OpenBSD</><secondary>shared library</></> <systemitem class="osname">OpenBSD</>
<indexterm><primary>OpenBSD</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is The compiler flag to create <acronym>PIC</acronym> is
@ -168,8 +180,10 @@ ld -Bshareable -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">Solaris</></term> <term>
<indexterm><primary>Solaris</><secondary>shared library</></> <systemitem class="osname">Solaris</>
<indexterm><primary>Solaris</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is The compiler flag to create <acronym>PIC</acronym> is
@ -192,9 +206,11 @@ gcc -G -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">Tru64 UNIX</></term> <term>
<indexterm><primary>Tru64 UNIX</><secondary>shared library</></> <systemitem class="osname">Tru64 UNIX</>
<indexterm><primary>Digital UNIX</><see>Tru64 UNIX</></> <indexterm><primary>Tru64 UNIX</><secondary>shared library</></>
<indexterm><primary>Digital UNIX</><see>Tru64 UNIX</></>
</term>
<listitem> <listitem>
<para> <para>
<acronym>PIC</acronym> is the default, so the compilation command <acronym>PIC</acronym> is the default, so the compilation command
@ -211,8 +227,10 @@ ld -shared -expect_unresolved '*' -o foo.so foo.o
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">UnixWare</></term> <term>
<indexterm><primary>UnixWare</><secondary>shared library</></> <systemitem class="osname">UnixWare</>
<indexterm><primary>UnixWare</><secondary>shared library</></>
</term>
<listitem> <listitem>
<para> <para>
The compiler flag to create <acronym>PIC</acronym> is <option>-K The compiler flag to create <acronym>PIC</acronym> is <option>-K

View File

@ -788,12 +788,12 @@ su - postgres
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>--with-openssl</option>
<indexterm> <indexterm>
<primary>OpenSSL</primary> <primary>OpenSSL</primary>
<seealso>SSL</seealso> <seealso>SSL</seealso>
</indexterm> </indexterm>
</term>
<term><option>--with-openssl</option></term>
<listitem> <listitem>
<para> <para>
Build with support for <acronym>SSL</> (encrypted) Build with support for <acronym>SSL</> (encrypted)
@ -1070,10 +1070,11 @@ su - postgres
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>--with-system-tzdata=<replaceable>DIRECTORY</replaceable></option></term> <term><option>--with-system-tzdata=<replaceable>DIRECTORY</replaceable></option>
<indexterm> <indexterm>
<primary>time zone data</primary> <primary>time zone data</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
<productname>PostgreSQL</> includes its own time zone database, <productname>PostgreSQL</> includes its own time zone database,

View File

@ -2609,11 +2609,13 @@ char *PQresultErrorField(const PGresult *res, int fieldcode);
</varlistentry> </varlistentry>
<varlistentry id="libpq-pg-diag-sqlstate"> <varlistentry id="libpq-pg-diag-sqlstate">
<term><symbol>PG_DIAG_SQLSTATE</></term> <term>
<symbol>PG_DIAG_SQLSTATE</>
<indexterm> <indexterm>
<primary>error codes</primary> <primary>error codes</primary>
<secondary>libpq</secondary> <secondary>libpq</secondary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
The SQLSTATE code for the error. The SQLSTATE code identifies The SQLSTATE code for the error. The SQLSTATE code identifies

View File

@ -164,10 +164,10 @@ CTRL-C
<sect1 id="logicaldecoding-explanation"> <sect1 id="logicaldecoding-explanation">
<title>Logical Decoding Concepts</title> <title>Logical Decoding Concepts</title>
<sect2> <sect2>
<title>Logical Decoding</title>
<indexterm> <indexterm>
<primary>Logical Decoding</primary> <primary>Logical Decoding</primary>
</indexterm> </indexterm>
<title>Logical Decoding</title>
<para> <para>
Logical decoding is the process of extracting all persistent changes Logical decoding is the process of extracting all persistent changes
to a database's tables into a coherent, easy to understand format which to a database's tables into a coherent, easy to understand format which

View File

@ -18,11 +18,11 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm>
<primary>get_raw_page</primary>
</indexterm>
<term> <term>
<function>get_raw_page(relname text, fork text, blkno int) returns bytea</function> <function>get_raw_page(relname text, fork text, blkno int) returns bytea</function>
<indexterm>
<primary>get_raw_page</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -52,11 +52,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>page_header</primary>
</indexterm>
<term> <term>
<function>page_header(page bytea) returns record</function> <function>page_header(page bytea) returns record</function>
<indexterm>
<primary>page_header</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -82,11 +82,11 @@ test=# SELECT * FROM page_header(get_raw_page('pg_class', 0));
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>heap_page_items</primary>
</indexterm>
<term> <term>
<function>heap_page_items(page bytea) returns setof record</function> <function>heap_page_items(page bytea) returns setof record</function>
<indexterm>
<primary>heap_page_items</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -110,11 +110,11 @@ test=# SELECT * FROM heap_page_items(get_raw_page('pg_class', 0));
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>bt_metap</primary>
</indexterm>
<term> <term>
<function>bt_metap(relname text) returns record</function> <function>bt_metap(relname text) returns record</function>
<indexterm>
<primary>bt_metap</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -136,11 +136,11 @@ fastlevel | 0
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>bt_page_stats</primary>
</indexterm>
<term> <term>
<function>bt_page_stats(relname text, blkno int) returns record</function> <function>bt_page_stats(relname text, blkno int) returns record</function>
<indexterm>
<primary>bt_page_stats</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -167,11 +167,11 @@ btpo_flags | 3
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>bt_page_items</primary>
</indexterm>
<term> <term>
<function>bt_page_items(relname text, blkno int) returns setof record</function> <function>bt_page_items(relname text, blkno int) returns setof record</function>
<indexterm>
<primary>bt_page_items</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -196,11 +196,11 @@ test=# SELECT * FROM bt_page_items('pg_cast_oid_index', 1);
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>fsm_page_contents</primary>
</indexterm>
<term> <term>
<function>fsm_page_contents(page bytea) returns text</function> <function>fsm_page_contents(page bytea) returns text</function>
<indexterm>
<primary>fsm_page_contents</primary>
</indexterm>
</term> </term>
<listitem> <listitem>

View File

@ -25,11 +25,11 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm>
<primary>pg_freespace</primary>
</indexterm>
<term> <term>
<function>pg_freespace(rel regclass IN, blkno bigint IN) returns int2</function> <function>pg_freespace(rel regclass IN, blkno bigint IN) returns int2</function>
<indexterm>
<primary>pg_freespace</primary>
</indexterm>
</term> </term>
<listitem> <listitem>

View File

@ -279,12 +279,11 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm>
<primary>pg_stat_statements_reset</primary>
</indexterm>
<term> <term>
<function>pg_stat_statements_reset() returns void</function> <function>pg_stat_statements_reset() returns void</function>
<indexterm>
<primary>pg_stat_statements_reset</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
@ -297,13 +296,12 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>pg_stat_statements</primary>
<secondary>function</secondary>
</indexterm>
<term> <term>
<function>pg_stat_statements(showtext boolean) returns setof record</function> <function>pg_stat_statements(showtext boolean) returns setof record</function>
<indexterm>
<primary>pg_stat_statements</primary>
<secondary>function</secondary>
</indexterm>
</term> </term>
<listitem> <listitem>

View File

@ -17,11 +17,10 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm>
<primary>pgstattuple</primary>
</indexterm>
<term> <term>
<indexterm>
<primary>pgstattuple</primary>
</indexterm>
<function>pgstattuple(regclass) returns record</> <function>pgstattuple(regclass) returns record</>
</term> </term>

View File

@ -380,40 +380,13 @@ use strict;
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>spi_exec_query</primary> <literal><function>spi_exec_query</>(<replaceable>query</replaceable> [, <replaceable>max-rows</replaceable>])</literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>spi_exec_query</primary>
<indexterm> <secondary>in PL/Perl</secondary>
<primary>spi_query</primary> </indexterm>
<secondary>in PL/Perl</secondary> </term>
</indexterm>
<indexterm>
<primary>spi_fetchrow</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<indexterm>
<primary>spi_prepare</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<indexterm>
<primary>spi_exec_prepared</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<indexterm>
<primary>spi_query_prepared</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<indexterm>
<primary>spi_cursor_close</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<indexterm>
<primary>spi_freeplan</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
<term><literal><function>spi_exec_query</>(<replaceable>query</replaceable> [, <replaceable>max-rows</replaceable>])</literal></term>
<listitem> <listitem>
<para> <para>
<literal>spi_exec_query</literal> executes an SQL command and <literal>spi_exec_query</literal> executes an SQL command and
@ -490,9 +463,27 @@ SELECT * FROM test_munge();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal><function>spi_query(<replaceable>command</replaceable>)</function></literal></term> <term>
<term><literal><function>spi_fetchrow(<replaceable>cursor</replaceable>)</function></literal></term> <literal><function>spi_query(<replaceable>command</replaceable>)</function></literal>
<term><literal><function>spi_cursor_close(<replaceable>cursor</replaceable>)</function></literal></term> <indexterm>
<primary>spi_query</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<term>
<literal><function>spi_fetchrow(<replaceable>cursor</replaceable>)</function></literal>
<indexterm>
<primary>spi_fetchrow</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<term>
<literal><function>spi_cursor_close(<replaceable>cursor</replaceable>)</function></literal>
<indexterm>
<primary>spi_cursor_close</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
@ -548,10 +539,34 @@ SELECT * from lotsa_md5(500);
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal><function>spi_prepare(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</function></literal></term> <term>
<term><literal><function>spi_query_prepared(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</function></literal></term> <literal><function>spi_prepare(<replaceable>command</replaceable>, <replaceable>argument types</replaceable>)</function></literal>
<term><literal><function>spi_exec_prepared(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</function></literal></term> <indexterm>
<term><literal><function>spi_freeplan(<replaceable>plan</replaceable>)</function></literal></term> <primary>spi_prepare</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<term>
<literal><function>spi_query_prepared(<replaceable>plan</replaceable>, <replaceable>arguments</replaceable>)</function></literal>
<indexterm>
<primary>spi_query_prepared</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<term>
<literal><function>spi_exec_prepared(<replaceable>plan</replaceable> [, <replaceable>attributes</replaceable>], <replaceable>arguments</replaceable>)</function></literal>
<indexterm>
<primary>spi_exec_prepared</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<term>
<literal><function>spi_freeplan(<replaceable>plan</replaceable>)</function></literal>
<indexterm>
<primary>spi_freeplan</primary>
<secondary>in PL/Perl</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
@ -651,12 +666,13 @@ SELECT release_hosts_query();
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>elog</primary> <literal><function>elog(<replaceable>level</replaceable>, <replaceable>msg</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>elog</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>elog(<replaceable>level</replaceable>, <replaceable>msg</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Emit a log or error message. Possible levels are Emit a log or error message. Possible levels are
@ -680,12 +696,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>quote_literal</primary> <literal><function>quote_literal(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>quote_literal</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>quote_literal(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Return the given string suitably quoted to be used as a string literal in an SQL Return the given string suitably quoted to be used as a string literal in an SQL
@ -697,12 +714,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>quote_nullable</primary> <literal><function>quote_nullable(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>quote_nullable</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>quote_nullable(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Return the given string suitably quoted to be used as a string literal in an SQL Return the given string suitably quoted to be used as a string literal in an SQL
@ -713,12 +731,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>quote_ident</primary> <literal><function>quote_ident(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>quote_ident</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>quote_ident(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Return the given string suitably quoted to be used as an identifier in Return the given string suitably quoted to be used as an identifier in
@ -730,12 +749,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>decode_bytea</primary> <literal><function>decode_bytea(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>decode_bytea</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>decode_bytea(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Return the unescaped binary data represented by the contents of the given string, Return the unescaped binary data represented by the contents of the given string,
@ -745,12 +765,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>encode_bytea</primary> <literal><function>encode_bytea(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>encode_bytea</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>encode_bytea(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Return the <type>bytea</type> encoded form of the binary data contents of the given string. Return the <type>bytea</type> encoded form of the binary data contents of the given string.
@ -759,13 +780,16 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>encode_array_literal</primary> <literal><function>encode_array_literal(<replaceable>array</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>encode_array_literal</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>encode_array_literal(<replaceable>array</replaceable>)</function></literal></term> </indexterm>
<term><literal><function>encode_array_literal(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</function></literal></term> </term>
<term>
<literal><function>encode_array_literal(<replaceable>array</replaceable>, <replaceable>delimiter</replaceable>)</function></literal>
</term>
<listitem> <listitem>
<para> <para>
Returns the contents of the referenced array as a string in array literal format Returns the contents of the referenced array as a string in array literal format
@ -778,12 +802,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>encode_typed_literal</primary> <literal><function>encode_typed_literal(<replaceable>value</replaceable>, <replaceable>typename</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>encode_typed_literal</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>encode_typed_literal(<replaceable>value</replaceable>, <replaceable>typename</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Converts a Perl variable to the value of the data type passed as a Converts a Perl variable to the value of the data type passed as a
@ -794,12 +819,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>encode_array_constructor</primary> <literal><function>encode_array_constructor(<replaceable>array</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>encode_array_constructor</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>encode_array_constructor(<replaceable>array</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Returns the contents of the referenced array as a string in array constructor format Returns the contents of the referenced array as a string in array constructor format
@ -812,12 +838,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>looks_like_number</primary> <literal><function>looks_like_number(<replaceable>string</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>looks_like_number</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>looks_like_number(<replaceable>string</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Returns a true value if the content of the given string looks like a Returns a true value if the content of the given string looks like a
@ -829,12 +856,13 @@ SELECT release_hosts_query();
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>is_array_ref</primary> <literal><function>is_array_ref(<replaceable>argument</replaceable>)</function></literal>
<secondary>in PL/Perl</secondary> <indexterm>
</indexterm> <primary>is_array_ref</primary>
<secondary>in PL/Perl</secondary>
<term><literal><function>is_array_ref(<replaceable>argument</replaceable>)</function></literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Returns a true value if the given argument may be treated as an Returns a true value if the given argument may be treated as an
@ -1274,10 +1302,12 @@ CREATE EVENT TRIGGER perl_a_snitch
<variablelist> <variablelist>
<varlistentry id="guc-plperl-on-init" xreflabel="plperl.on_init"> <varlistentry id="guc-plperl-on-init" xreflabel="plperl.on_init">
<term><varname>plperl.on_init</varname> (<type>string</type>)</term> <term>
<varname>plperl.on_init</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>plperl.on_init</> configuration parameter</primary> <primary><varname>plperl.on_init</> configuration parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies Perl code to be executed when a Perl interpreter is first Specifies Perl code to be executed when a Perl interpreter is first
@ -1329,14 +1359,18 @@ DO 'elog(WARNING, join ", ", sort keys %INC)' LANGUAGE plperl;
</varlistentry> </varlistentry>
<varlistentry id="guc-plperl-on-plperl-init" xreflabel="plperl.on_plperl_init"> <varlistentry id="guc-plperl-on-plperl-init" xreflabel="plperl.on_plperl_init">
<term><varname>plperl.on_plperl_init</varname> (<type>string</type>)</term> <term>
<term><varname>plperl.on_plperlu_init</varname> (<type>string</type>)</term> <varname>plperl.on_plperl_init</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>plperl.on_plperl_init</> configuration parameter</primary> <primary><varname>plperl.on_plperl_init</> configuration parameter</primary>
</indexterm> </indexterm>
<indexterm> </term>
<primary><varname>plperl.on_plperlu_init</> configuration parameter</primary> <term>
</indexterm> <varname>plperl.on_plperlu_init</varname> (<type>string</type>)
<indexterm>
<primary><varname>plperl.on_plperlu_init</> configuration parameter</primary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
These parameters specify Perl code to be executed when a Perl These parameters specify Perl code to be executed when a Perl
@ -1368,10 +1402,12 @@ DO 'elog(WARNING, join ", ", sort keys %INC)' LANGUAGE plperl;
</varlistentry> </varlistentry>
<varlistentry id="guc-plperl-use-strict" xreflabel="plperl.use_strict"> <varlistentry id="guc-plperl-use-strict" xreflabel="plperl.use_strict">
<term><varname>plperl.use_strict</varname> (<type>boolean</type>)</term> <term>
<indexterm> <varname>plperl.use_strict</varname> (<type>boolean</type>)
<primary><varname>plperl.use_strict</> configuration parameter</primary> <indexterm>
</indexterm> <primary><varname>plperl.use_strict</> configuration parameter</primary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
When set true subsequent compilations of PL/Perl functions will have When set true subsequent compilations of PL/Perl functions will have

View File

@ -418,10 +418,13 @@ $$ LANGUAGE pltcl;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>spi_lastoid</primary> <function>spi_lastoid</>
</indexterm> <indexterm>
<term><function>spi_lastoid</></term> <primary>spi_lastoid</primary>
<secondary>in PL/Tcl</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
Returns the OID of the row inserted by the last Returns the OID of the row inserted by the last
@ -478,11 +481,13 @@ SELECT 'doesn''t' AS ret
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>elog</primary> <function>elog</> <replaceable>level</replaceable> <replaceable>msg</replaceable>
<secondary>in PL/Tcl</secondary> <indexterm>
</indexterm> <primary>elog</primary>
<term><function>elog</> <replaceable>level</replaceable> <replaceable>msg</replaceable></term> <secondary>in PL/Tcl</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
Emits a log or error message. Possible levels are Emits a log or error message. Possible levels are

View File

@ -1428,8 +1428,7 @@ The commands accepted in walsender mode are:
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CREATE_REPLICATION_SLOT</literal> <replaceable class="parameter">slotname</> <literal>PHYSICAL</literal></term> <term><literal>CREATE_REPLICATION_SLOT</literal> <replaceable class="parameter">slotname</> <literal>PHYSICAL</literal><indexterm><primary>CREATE_REPLICATION_SLOT</primary></indexterm></term>
<indexterm><primary>CREATE_REPLICATION_SLOT</primary></indexterm>
<listitem> <listitem>
<para> <para>
Create a physical replication Create a physical replication

View File

@ -167,8 +167,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
<title>Join Types</title> <title>Join Types</title>
<varlistentry> <varlistentry>
<term>Cross join</term> <term>Cross join
<indexterm> <indexterm>
<primary>join</primary> <primary>join</primary>
<secondary>cross</secondary> <secondary>cross</secondary>
@ -177,6 +176,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
<indexterm> <indexterm>
<primary>cross join</primary> <primary>cross join</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<synopsis> <synopsis>
@ -206,8 +206,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>Qualified joins</term> <term>Qualified joins
<indexterm> <indexterm>
<primary>join</primary> <primary>join</primary>
<secondary>outer</secondary> <secondary>outer</secondary>
@ -216,6 +215,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
<indexterm> <indexterm>
<primary>outer join</primary> <primary>outer join</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<synopsis> <synopsis>
@ -297,8 +297,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>LEFT OUTER JOIN</></term> <term><literal>LEFT OUTER JOIN</>
<indexterm> <indexterm>
<primary>join</primary> <primary>join</primary>
<secondary>left</secondary> <secondary>left</secondary>
@ -307,6 +306,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
<indexterm> <indexterm>
<primary>left join</primary> <primary>left join</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
@ -320,8 +320,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>RIGHT OUTER JOIN</></term> <term><literal>RIGHT OUTER JOIN</>
<indexterm> <indexterm>
<primary>join</primary> <primary>join</primary>
<secondary>right</secondary> <secondary>right</secondary>
@ -330,6 +329,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
<indexterm> <indexterm>
<primary>right join</primary> <primary>right join</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>

View File

@ -36,10 +36,11 @@
<variablelist> <variablelist>
<varlistentry id="restore-command" xreflabel="restore_command"> <varlistentry id="restore-command" xreflabel="restore_command">
<term><varname>restore_command</varname> (<type>string</type>)</term> <term><varname>restore_command</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>restore_command</> recovery parameter</primary> <primary><varname>restore_command</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
The local shell command to execute to retrieve an archived segment of The local shell command to execute to retrieve an archived segment of
@ -79,10 +80,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="archive-cleanup-command" xreflabel="archive_cleanup_command"> <varlistentry id="archive-cleanup-command" xreflabel="archive_cleanup_command">
<term><varname>archive_cleanup_command</varname> (<type>string</type>)</term> <term><varname>archive_cleanup_command</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>archive_cleanup_command</> recovery parameter</primary> <primary><varname>archive_cleanup_command</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This optional parameter specifies a shell command that will be executed This optional parameter specifies a shell command that will be executed
@ -119,10 +121,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="recovery-end-command" xreflabel="recovery_end_command"> <varlistentry id="recovery-end-command" xreflabel="recovery_end_command">
<term><varname>recovery_end_command</varname> (<type>string</type>)</term> <term><varname>recovery_end_command</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>recovery_end_command</> recovery parameter</primary> <primary><varname>recovery_end_command</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter specifies a shell command that will be executed once only This parameter specifies a shell command that will be executed once only
@ -159,10 +162,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<variablelist> <variablelist>
<varlistentry id="recovery-target" xreflabel="recovery_target_name"> <varlistentry id="recovery-target" xreflabel="recovery_target_name">
<term><varname>recovery_target</varname><literal> = 'immediate'</literal></term> <term><varname>recovery_target</varname><literal> = 'immediate'</literal>
<indexterm> <indexterm>
<primary><varname>recovery_target</> recovery parameter</primary> <primary><varname>recovery_target</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter specifies that recovery should end as soon as a This parameter specifies that recovery should end as soon as a
@ -178,12 +182,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="recovery-target-name" xreflabel="recovery_target_name"> <varlistentry id="recovery-target-name" xreflabel="recovery_target_name">
<term><varname>recovery_target_name</varname> <term><varname>recovery_target_name</varname> (<type>string</type>)
(<type>string</type>)
</term>
<indexterm> <indexterm>
<primary><varname>recovery_target_name</> recovery parameter</primary> <primary><varname>recovery_target_name</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter specifies the named restore point, created with This parameter specifies the named restore point, created with
@ -193,12 +196,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="recovery-target-time" xreflabel="recovery_target_time"> <varlistentry id="recovery-target-time" xreflabel="recovery_target_time">
<term><varname>recovery_target_time</varname> <term><varname>recovery_target_time</varname> (<type>timestamp</type>)
(<type>timestamp</type>)
</term>
<indexterm> <indexterm>
<primary><varname>recovery_target_time</> recovery parameter</primary> <primary><varname>recovery_target_time</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter specifies the time stamp up to which recovery This parameter specifies the time stamp up to which recovery
@ -210,10 +212,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="recovery-target-xid" xreflabel="recovery_target_xid"> <varlistentry id="recovery-target-xid" xreflabel="recovery_target_xid">
<term><varname>recovery_target_xid</varname> (<type>string</type>)</term> <term><varname>recovery_target_xid</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>recovery_target_xid</> recovery parameter</primary> <primary><varname>recovery_target_xid</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter specifies the transaction ID up to which recovery This parameter specifies the transaction ID up to which recovery
@ -237,12 +240,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<varlistentry id="recovery-target-inclusive" <varlistentry id="recovery-target-inclusive"
xreflabel="recovery_target_inclusive"> xreflabel="recovery_target_inclusive">
<term><varname>recovery_target_inclusive</varname> <term><varname>recovery_target_inclusive</varname> (<type>boolean</type>)
(<type>boolean</type>)
</term>
<indexterm> <indexterm>
<primary><varname>recovery_target_inclusive</> recovery parameter</primary> <primary><varname>recovery_target_inclusive</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies whether we stop just after the specified recovery target Specifies whether we stop just after the specified recovery target
@ -259,12 +261,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<varlistentry id="recovery-target-timeline" <varlistentry id="recovery-target-timeline"
xreflabel="recovery_target_timeline"> xreflabel="recovery_target_timeline">
<term><varname>recovery_target_timeline</varname> <term><varname>recovery_target_timeline</varname> (<type>string</type>)
(<type>string</type>)
</term>
<indexterm> <indexterm>
<primary><varname>recovery_target_timeline</> recovery parameter</primary> <primary><varname>recovery_target_timeline</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies recovering into a particular timeline. The default is Specifies recovering into a particular timeline. The default is
@ -281,12 +282,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<varlistentry id="pause-at-recovery-target" <varlistentry id="pause-at-recovery-target"
xreflabel="pause_at_recovery_target"> xreflabel="pause_at_recovery_target">
<term><varname>pause_at_recovery_target</varname> <term><varname>pause_at_recovery_target</varname> (<type>boolean</type>)
(<type>boolean</type>)
</term>
<indexterm> <indexterm>
<primary><varname>pause_at_recovery_target</> recovery parameter</primary> <primary><varname>pause_at_recovery_target</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies whether recovery should pause when the recovery target Specifies whether recovery should pause when the recovery target
@ -317,10 +317,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
<variablelist> <variablelist>
<varlistentry id="standby-mode" xreflabel="standby_mode"> <varlistentry id="standby-mode" xreflabel="standby_mode">
<term><varname>standby_mode</varname> (<type>boolean</type>)</term> <term><varname>standby_mode</varname> (<type>boolean</type>)
<indexterm> <indexterm>
<primary><varname>standby_mode</> recovery parameter</primary> <primary><varname>standby_mode</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies whether to start the <productname>PostgreSQL</> server as Specifies whether to start the <productname>PostgreSQL</> server as
@ -334,10 +335,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="primary-conninfo" xreflabel="primary_conninfo"> <varlistentry id="primary-conninfo" xreflabel="primary_conninfo">
<term><varname>primary_conninfo</varname> (<type>string</type>)</term> <term><varname>primary_conninfo</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>primary_conninfo</> recovery parameter</primary> <primary><varname>primary_conninfo</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies a connection string to be used for the standby server Specifies a connection string to be used for the standby server
@ -369,10 +371,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="primary-slotname" xreflabel="primary_slotname"> <varlistentry id="primary-slotname" xreflabel="primary_slotname">
<term><varname>primary_slotname</varname> (<type>string</type>)</term> <term><varname>primary_slotname</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>primary_slotname</> recovery parameter</primary> <primary><varname>primary_slotname</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Optionally specifies an existing replication slot to be used when Optionally specifies an existing replication slot to be used when
@ -385,10 +388,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="trigger-file" xreflabel="trigger_file"> <varlistentry id="trigger-file" xreflabel="trigger_file">
<term><varname>trigger_file</varname> (<type>string</type>)</term> <term><varname>trigger_file</varname> (<type>string</type>)
<indexterm> <indexterm>
<primary><varname>trigger_file</> recovery parameter</primary> <primary><varname>trigger_file</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
Specifies a trigger file whose presence ends recovery in the Specifies a trigger file whose presence ends recovery in the
@ -400,10 +404,11 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
</varlistentry> </varlistentry>
<varlistentry id="min-recovery-apply-delay" xreflabel="min_recovery_apply_delay"> <varlistentry id="min-recovery-apply-delay" xreflabel="min_recovery_apply_delay">
<term><varname>min_recovery_apply_delay</varname> (<type>integer</type>)</term> <term><varname>min_recovery_apply_delay</varname> (<type>integer</type>)
<indexterm> <indexterm>
<primary><varname>min_recovery_apply_delay</> recovery parameter</primary> <primary><varname>min_recovery_apply_delay</> recovery parameter</primary>
</indexterm> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
By default, a standby server keeps restoring WAL records from the By default, a standby server keeps restoring WAL records from the

View File

@ -227,12 +227,13 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>TOAST</primary> <literal>SET STORAGE</literal>
<secondary>per-column storage settings</secondary> <indexterm>
</indexterm> <primary>TOAST</primary>
<secondary>per-column storage settings</secondary>
<term><literal>SET STORAGE</literal></term> </indexterm>
</term>
<listitem> <listitem>
<para> <para>
This form sets the storage mode for a column. This controls whether this This form sets the storage mode for a column. This controls whether this

View File

@ -4,6 +4,10 @@ PostgreSQL documentation
--> -->
<refentry id="app-pgrecvlogical"> <refentry id="app-pgrecvlogical">
<indexterm zone="app-pgrecvlogical">
<primary>pg_recvlogical</primary>
</indexterm>
<refmeta> <refmeta>
<refentrytitle><application>pg_recvlogical</application></refentrytitle> <refentrytitle><application>pg_recvlogical</application></refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
@ -16,10 +20,6 @@ PostgreSQL documentation
streams over a walsender connection.</refpurpose> streams over a walsender connection.</refpurpose>
</refnamediv> </refnamediv>
<indexterm zone="app-pgrecvlogical">
<primary>pg_recvlogical</primary>
</indexterm>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>pg_recvlogical</command> <command>pg_recvlogical</command>

View File

@ -2731,11 +2731,13 @@ bar
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>autocommit</primary> <varname>AUTOCOMMIT</varname>
<secondary>psql</secondary> <indexterm>
</indexterm> <primary>autocommit</primary>
<term><varname>AUTOCOMMIT</varname></term> <secondary>psql</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
When <literal>on</> (the default), each SQL command is automatically When <literal>on</> (the default), each SQL command is automatically
@ -2971,11 +2973,13 @@ bar
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm> <term>
<primary>rollback</primary> <varname>ON_ERROR_ROLLBACK</varname>
<secondary>psql</secondary> <indexterm>
</indexterm> <primary>rollback</primary>
<term><varname>ON_ERROR_ROLLBACK</varname></term> <secondary>psql</secondary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
When <literal>on</>, if a statement in a transaction block When <literal>on</>, if a statement in a transaction block

View File

@ -99,8 +99,8 @@
<varlistentry> <varlistentry>
<term> <term>
the range table the range table
</term>
<indexterm><primary>range table</></> <indexterm><primary>range table</></>
</term>
<listitem> <listitem>
<para> <para>
The range table is a list of relations that are used in the query. The range table is a list of relations that are used in the query.
@ -150,8 +150,8 @@
<varlistentry> <varlistentry>
<term> <term>
the target list the target list
</term>
<indexterm><primary>target list</></> <indexterm><primary>target list</></>
</term>
<listitem> <listitem>
<para> <para>
The target list is a list of expressions that define the The target list is a list of expressions that define the

View File

@ -712,8 +712,9 @@ psql: could not connect to server: No such file or directory
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><systemitem class="osname">AIX</></term> <term><systemitem class="osname">AIX</>
<indexterm><primary>AIX</><secondary>IPC configuration</></> <indexterm><primary>AIX</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
At least as of version 5.1, it should not be necessary to do At least as of version 5.1, it should not be necessary to do
@ -734,8 +735,9 @@ psql: could not connect to server: No such file or directory
<varlistentry> <varlistentry>
<term><systemitem class="osname">FreeBSD</></term> <term><systemitem class="osname">FreeBSD</>
<indexterm><primary>FreeBSD</><secondary>IPC configuration</></> <indexterm><primary>FreeBSD</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The default settings can be changed using The default settings can be changed using
@ -791,8 +793,9 @@ kern.ipc.semmnu=256
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">NetBSD</></term> <term><systemitem class="osname">NetBSD</>
<indexterm><primary>NetBSD</><secondary>IPC configuration</></> <indexterm><primary>NetBSD</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
In <systemitem class="osname">NetBSD</> 5.0 and later, In <systemitem class="osname">NetBSD</> 5.0 and later,
@ -822,8 +825,9 @@ kern.ipc.semmnu=256
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">OpenBSD</></term> <term><systemitem class="osname">OpenBSD</>
<indexterm><primary>OpenBSD</><secondary>IPC configuration</></> <indexterm><primary>OpenBSD</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The options <varname>SYSVSHM</> and <varname>SYSVSEM</> need The options <varname>SYSVSHM</> and <varname>SYSVSEM</> need
@ -854,8 +858,9 @@ option SEMMAP=256
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><systemitem class="osname">HP-UX</></term> <term><systemitem class="osname">HP-UX</>
<indexterm><primary>HP-UX</><secondary>IPC configuration</></> <indexterm><primary>HP-UX</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The default settings tend to suffice for normal installations. The default settings tend to suffice for normal installations.
@ -875,8 +880,9 @@ option SEMMAP=256
<varlistentry> <varlistentry>
<term><systemitem class="osname">Linux</></term> <term><systemitem class="osname">Linux</>
<indexterm><primary>Linux</><secondary>IPC configuration</></> <indexterm><primary>Linux</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The default maximum segment size is 32 MB, and the The default maximum segment size is 32 MB, and the
@ -917,8 +923,9 @@ option SEMMAP=256
<varlistentry> <varlistentry>
<term><systemitem class="osname">Mac OS X</></term> <term><systemitem class="osname">Mac OS X</>
<indexterm><primary>Mac OS X</><secondary>IPC configuration</></> <indexterm><primary>Mac OS X</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The recommended method for configuring shared memory in OS X The recommended method for configuring shared memory in OS X
@ -980,8 +987,9 @@ sysctl -w kern.sysv.shmall
<varlistentry> <varlistentry>
<term><systemitem class="osname">SCO OpenServer</></term> <term><systemitem class="osname">SCO OpenServer</>
<indexterm><primary>SCO OpenServer</><secondary>IPC configuration</></> <indexterm><primary>SCO OpenServer</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
In the default configuration, only 512 kB of shared memory per In the default configuration, only 512 kB of shared memory per
@ -1008,8 +1016,9 @@ sysctl -w kern.sysv.shmall
<varlistentry> <varlistentry>
<term><systemitem class="osname">Solaris</> 2.6 to 2.9 (Solaris <term><systemitem class="osname">Solaris</> 2.6 to 2.9 (Solaris
6 to Solaris 9)</term> 6 to Solaris 9)
<indexterm><primary>Solaris</><secondary>IPC configuration</></> <indexterm><primary>Solaris</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
The relevant settings can be changed in The relevant settings can be changed in
@ -1082,8 +1091,9 @@ project.max-msg-ids=(priv,4096,deny)
<varlistentry> <varlistentry>
<term><systemitem class="osname">UnixWare</></term> <term><systemitem class="osname">UnixWare</>
<indexterm><primary>UnixWare</><secondary>IPC configuration</></> <indexterm><primary>UnixWare</><secondary>IPC configuration</></>
</term>
<listitem> <listitem>
<para> <para>
On <productname>UnixWare</> 7, the maximum size for shared On <productname>UnixWare</> 7, the maximum size for shared

View File

@ -256,10 +256,12 @@ $ sudo semodule -r sepgsql-regtest
<variablelist> <variablelist>
<varlistentry id="guc-sepgsql-permissive" xreflabel="sepgsql.permissive"> <varlistentry id="guc-sepgsql-permissive" xreflabel="sepgsql.permissive">
<term><varname>sepgsql.permissive</> (<type>boolean</type>)</term> <term>
<indexterm> <varname>sepgsql.permissive</> (<type>boolean</type>)
<primary><varname>sepgsql.permissive</> configuration parameter</primary> <indexterm>
</indexterm> <primary><varname>sepgsql.permissive</> configuration parameter</primary>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter enables <filename>sepgsql</> to function This parameter enables <filename>sepgsql</> to function
@ -278,10 +280,12 @@ $ sudo semodule -r sepgsql-regtest
</varlistentry> </varlistentry>
<varlistentry id="guc-sepgsql-debug-audit" xreflabel="sepgsql.debug_audit"> <varlistentry id="guc-sepgsql-debug-audit" xreflabel="sepgsql.debug_audit">
<term><varname>sepgsql.debug_audit</> (<type>boolean</>)</> <term>
<indexterm> <varname>sepgsql.debug_audit</> (<type>boolean</>)
<primary><varname>sepgsql.debug_audit</> configuration parameter</> <indexterm>
</indexterm> <primary><varname>sepgsql.debug_audit</> configuration parameter</>
</indexterm>
</term>
<listitem> <listitem>
<para> <para>
This parameter enables the printing of audit messages regardless of This parameter enables the printing of audit messages regardless of

View File

@ -24,11 +24,11 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_is_used</primary>
</indexterm>
<term> <term>
<function>ssl_is_used() returns boolean</function> <function>ssl_is_used() returns boolean</function>
<indexterm>
<primary>ssl_is_used</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -39,11 +39,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_version</primary>
</indexterm>
<term> <term>
<function>ssl_version() returns text</function> <function>ssl_version() returns text</function>
<indexterm>
<primary>ssl_version</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -54,11 +54,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_cipher</primary>
</indexterm>
<term> <term>
<function>ssl_cipher() returns text</function> <function>ssl_cipher() returns text</function>
<indexterm>
<primary>ssl_cipher</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -69,11 +69,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_client_cert_present</primary>
</indexterm>
<term> <term>
<function>ssl_client_cert_present() returns boolean</function> <function>ssl_client_cert_present() returns boolean</function>
<indexterm>
<primary>ssl_client_cert_present</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -85,11 +85,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_client_serial</primary>
</indexterm>
<term> <term>
<function>ssl_client_serial() returns numeric</function> <function>ssl_client_serial() returns numeric</function>
<indexterm>
<primary>ssl_client_serial</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -109,11 +109,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_client_dn</primary>
</indexterm>
<term> <term>
<function>ssl_client_dn() returns text</function> <function>ssl_client_dn() returns text</function>
<indexterm>
<primary>ssl_client_dn</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -132,11 +132,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_issuer_dn</primary>
</indexterm>
<term> <term>
<function>ssl_issuer_dn() returns text</function> <function>ssl_issuer_dn() returns text</function>
<indexterm>
<primary>ssl_issuer_dn</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -157,11 +157,11 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_client_dn_field</primary>
</indexterm>
<term> <term>
<function>ssl_client_dn_field(fieldname text) returns text</function> <function>ssl_client_dn_field(fieldname text) returns text</function>
<indexterm>
<primary>ssl_client_dn_field</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>
@ -206,11 +206,11 @@ emailAddress
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<indexterm>
<primary>ssl_issuer_field</primary>
</indexterm>
<term> <term>
<function>ssl_issuer_field(fieldname text) returns text</function> <function>ssl_issuer_field(fieldname text) returns text</function>
<indexterm>
<primary>ssl_issuer_field</primary>
</indexterm>
</term> </term>
<listitem> <listitem>
<para> <para>

View File

@ -854,11 +854,11 @@ SELECT plainto_tsquery('english', 'The Fat &amp; Rats:C');
<varlistentry> <varlistentry>
<indexterm>
<primary>ts_rank</primary>
</indexterm>
<term> <term>
<indexterm>
<primary>ts_rank</primary>
</indexterm>
<literal>ts_rank(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal> <literal>ts_rank(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal>
</term> </term>
@ -871,11 +871,11 @@ SELECT plainto_tsquery('english', 'The Fat &amp; Rats:C');
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>ts_rank_cd</primary> <primary>ts_rank_cd</primary>
</indexterm> </indexterm>
<term>
<literal>ts_rank_cd(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal> <literal>ts_rank_cd(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal>
</term> </term>
@ -1221,11 +1221,11 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>tsvector concatenation</primary> <primary>tsvector concatenation</primary>
</indexterm> </indexterm>
<term>
<literal><type>tsvector</> || <type>tsvector</></literal> <literal><type>tsvector</> || <type>tsvector</></literal>
</term> </term>
@ -1260,11 +1260,11 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>setweight</primary> <primary>setweight</primary>
</indexterm> </indexterm>
<term>
<literal>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>) returns <type>tsvector</></literal> <literal>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>) returns <type>tsvector</></literal>
</term> </term>
@ -1288,11 +1288,11 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>length(tsvector)</primary> <primary>length(tsvector)</primary>
</indexterm> </indexterm>
<term>
<literal>length(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>integer</></literal> <literal>length(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>integer</></literal>
</term> </term>
@ -1305,11 +1305,11 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>strip</primary> <primary>strip</primary>
</indexterm> </indexterm>
<term>
<literal>strip(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>tsvector</></literal> <literal>strip(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>tsvector</></literal>
</term> </term>
@ -1385,11 +1385,11 @@ FROM (SELECT id, body, q, ts_rank_cd(ti, q) AS rank
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>numnode</primary> <primary>numnode</primary>
</indexterm> </indexterm>
<term>
<literal>numnode(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>integer</></literal> <literal>numnode(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>integer</></literal>
</term> </term>
@ -1419,11 +1419,11 @@ SELECT numnode('foo &amp; bar'::tsquery);
<varlistentry> <varlistentry>
<term>
<indexterm> <indexterm>
<primary>querytree</primary> <primary>querytree</primary>
</indexterm> </indexterm>
<term>
<literal>querytree(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>text</></literal> <literal>querytree(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>text</></literal>
</term> </term>
@ -3210,13 +3210,13 @@ SELECT plainto_tsquery('supernovae stars');
<varlistentry> <varlistentry>
<term>
<indexterm zone="textsearch-indexes"> <indexterm zone="textsearch-indexes">
<primary>index</primary> <primary>index</primary>
<secondary>GiST</secondary> <secondary>GiST</secondary>
<tertiary>text search</tertiary> <tertiary>text search</tertiary>
</indexterm> </indexterm>
<term>
<literal>CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> USING gist(<replaceable>column</replaceable>);</literal> <literal>CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> USING gist(<replaceable>column</replaceable>);</literal>
</term> </term>
@ -3231,13 +3231,13 @@ SELECT plainto_tsquery('supernovae stars');
<varlistentry> <varlistentry>
<term>
<indexterm zone="textsearch-indexes"> <indexterm zone="textsearch-indexes">
<primary>index</primary> <primary>index</primary>
<secondary>GIN</secondary> <secondary>GIN</secondary>
<tertiary>text search</tertiary> <tertiary>text search</tertiary>
</indexterm> </indexterm>
<term>
<literal>CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> USING gin(<replaceable>column</replaceable>);</literal> <literal>CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> USING gin(<replaceable>column</replaceable>);</literal>
</term> </term>