Commit 1ff01b39 authored by Peter Eisentraut's avatar Peter Eisentraut

Convert SGML IDs to lower case

IDs in SGML are case insensitive, and we have accumulated a mix of upper
and lower case IDs, including different variants of the same ID.  In
XML, these will be case sensitive, so we need to fix up those
differences.  Going to all lower case seems most straightforward, and
the current build process already makes all anchors and lower case
anyway during the SGML->XML conversion, so this doesn't create any
difference in the output right now.  A future XML-only build process
would, however, maintain any mixed case ID spellings in the output, so
that is another reason to clean this up beforehand.

Author: Alexander Lakhin <exclusion@gmail.com>
parent 36ea99c8
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
<term><acronym>GIN</acronym></term> <term><acronym>GIN</acronym></term>
<listitem> <listitem>
<para> <para>
<link linkend="GIN">Generalized Inverted Index</link> <link linkend="gin">Generalized Inverted Index</link>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
<term><acronym>GiST</acronym></term> <term><acronym>GiST</acronym></term>
<listitem> <listitem>
<para> <para>
<link linkend="GiST">Generalized Search Tree</link> <link linkend="gist">Generalized Search Tree</link>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -583,7 +583,7 @@ ...@@ -583,7 +583,7 @@
<term><acronym>SP-GiST</acronym></term> <term><acronym>SP-GiST</acronym></term>
<listitem> <listitem>
<para> <para>
<link linkend="SPGiST">Space-Partitioned Generalized Search Tree</link> <link linkend="spgist">Space-Partitioned Generalized Search Tree</link>
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<title>Author</title> <title>Author</title>
<para> <para>
This chapter originated as part of This chapter originated as part of
<xref linkend="SIM98">, Stefan Simkovics' <xref linkend="sim98">, Stefan Simkovics'
Master's Thesis prepared at Vienna University of Technology under the direction Master's Thesis prepared at Vienna University of Technology under the direction
of O.Univ.Prof.Dr. Georg Gottlob and Univ.Ass. Mag. Katrin Seyr. of O.Univ.Prof.Dr. Georg Gottlob and Univ.Ass. Mag. Katrin Seyr.
</para> </para>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<bibliodiv> <bibliodiv>
<title><acronym>SQL</acronym> Reference Books</title> <title><acronym>SQL</acronym> Reference Books</title>
<biblioentry id="BOWMAN01"> <biblioentry id="bowman01">
<title>The Practical <acronym>SQL</acronym> Handbook</title> <title>The Practical <acronym>SQL</acronym> Handbook</title>
<subtitle>Using SQL Variants</subtitle> <subtitle>Using SQL Variants</subtitle>
<edition>Fourth Edition</edition> <edition>Fourth Edition</edition>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<pubdate>2001</pubdate> <pubdate>2001</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="DATE97"> <biblioentry id="date97">
<title>A Guide to the <acronym>SQL</acronym> Standard</title> <title>A Guide to the <acronym>SQL</acronym> Standard</title>
<subtitle>A user's guide to the standard database language <acronym>SQL</acronym></subtitle> <subtitle>A user's guide to the standard database language <acronym>SQL</acronym></subtitle>
<edition>Fourth Edition</edition> <edition>Fourth Edition</edition>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<pubdate>1997</pubdate> <pubdate>1997</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="DATE04"> <biblioentry id="date04">
<title>An Introduction to Database Systems</title> <title>An Introduction to Database Systems</title>
<edition>Eighth Edition</edition> <edition>Eighth Edition</edition>
<authorgroup> <authorgroup>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<pubdate>2003</pubdate> <pubdate>2003</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="ELMA04"> <biblioentry id="elma04">
<title>Fundamentals of Database Systems</title> <title>Fundamentals of Database Systems</title>
<edition>Fourth Edition</edition> <edition>Fourth Edition</edition>
<authorgroup> <authorgroup>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<pubdate>2003</pubdate> <pubdate>2003</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="MELT93"> <biblioentry id="melt93">
<title>Understanding the New <acronym>SQL</acronym></title> <title>Understanding the New <acronym>SQL</acronym></title>
<subtitle>A complete guide</subtitle> <subtitle>A complete guide</subtitle>
<authorgroup> <authorgroup>
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<pubdate>1993</pubdate> <pubdate>1993</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="ULL88"> <biblioentry id="ull88">
<title>Principles of Database and Knowledge</title> <title>Principles of Database and Knowledge</title>
<subtitle>Base Systems</subtitle> <subtitle>Base Systems</subtitle>
<authorgroup> <authorgroup>
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<bibliodiv> <bibliodiv>
<title>PostgreSQL-specific Documentation</title> <title>PostgreSQL-specific Documentation</title>
<biblioentry id="SIM98"> <biblioentry id="sim98">
<title>Enhancement of the ANSI SQL Implementation of PostgreSQL</title> <title>Enhancement of the ANSI SQL Implementation of PostgreSQL</title>
<authorgroup> <authorgroup>
<author> <author>
...@@ -185,7 +185,7 @@ ssimkovi@ag.or.at ...@@ -185,7 +185,7 @@ ssimkovi@ag.or.at
<pubdate>November 29, 1998</pubdate> <pubdate>November 29, 1998</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="YU95"> <biblioentry id="yu95">
<title>The <productname>Postgres95</productname> User Manual</title> <title>The <productname>Postgres95</productname> User Manual</title>
<authorgroup> <authorgroup>
<author> <author>
...@@ -204,7 +204,7 @@ ssimkovi@ag.or.at ...@@ -204,7 +204,7 @@ ssimkovi@ag.or.at
<pubdate>Sept. 5, 1995</pubdate> <pubdate>Sept. 5, 1995</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="FONG"> <biblioentry id="fong">
<title><ulink url="http://db.cs.berkeley.edu/papers/UCB-MS-zfong.pdf">The <title><ulink url="http://db.cs.berkeley.edu/papers/UCB-MS-zfong.pdf">The
design and implementation of the <productname>POSTGRES</productname> query design and implementation of the <productname>POSTGRES</productname> query
optimizer</ulink></title> optimizer</ulink></title>
...@@ -222,7 +222,7 @@ ssimkovi@ag.or.at ...@@ -222,7 +222,7 @@ ssimkovi@ag.or.at
<bibliodiv> <bibliodiv>
<title>Proceedings and Articles</title> <title>Proceedings and Articles</title>
<biblioentry id="OLSON93"> <biblioentry id="olson93">
<title>Partial indexing in POSTGRES: research project</title> <title>Partial indexing in POSTGRES: research project</title>
<authorgroup> <authorgroup>
<author> <author>
...@@ -238,7 +238,7 @@ ssimkovi@ag.or.at ...@@ -238,7 +238,7 @@ ssimkovi@ag.or.at
<pubdate>1993</pubdate> <pubdate>1993</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="ONG90"> <biblioentry id="ong90">
<biblioset relation="article"> <biblioset relation="article">
<title>A Unified Framework for Version Modeling Using Production Rules in a Database System</title> <title>A Unified Framework for Version Modeling Using Production Rules in a Database System</title>
<authorgroup> <authorgroup>
...@@ -262,7 +262,7 @@ ssimkovi@ag.or.at ...@@ -262,7 +262,7 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="ROWE87"> <biblioentry id="rowe87">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-13.pdf">The <productname>POSTGRES</productname> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-13.pdf">The <productname>POSTGRES</productname>
data model</ulink></title> data model</ulink></title>
...@@ -284,7 +284,7 @@ ssimkovi@ag.or.at ...@@ -284,7 +284,7 @@ ssimkovi@ag.or.at
</confgroup> </confgroup>
</biblioentry> </biblioentry>
<biblioentry id="SESHADRI95"> <biblioentry id="seshadri95">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://citeseer.ist.psu.edu/seshadri95generalized.html">Generalized <title><ulink url="http://citeseer.ist.psu.edu/seshadri95generalized.html">Generalized
Partial Indexes</ulink></title> Partial Indexes</ulink></title>
...@@ -313,7 +313,7 @@ ssimkovi@ag.or.at ...@@ -313,7 +313,7 @@ ssimkovi@ag.or.at
<pagenums>420-7</pagenums> <pagenums>420-7</pagenums>
</biblioentry> </biblioentry>
<biblioentry id="STON86"> <biblioentry id="ston86">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M85-95.pdf">The <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M85-95.pdf">The
design of <productname>POSTGRES</productname></ulink></title> design of <productname>POSTGRES</productname></ulink></title>
...@@ -335,7 +335,7 @@ ssimkovi@ag.or.at ...@@ -335,7 +335,7 @@ ssimkovi@ag.or.at
</confgroup> </confgroup>
</biblioentry> </biblioentry>
<biblioentry id="STON87a"> <biblioentry id="ston87a">
<biblioset relation="article"> <biblioset relation="article">
<title>The design of the <productname>POSTGRES</productname> rules system</title> <title>The design of the <productname>POSTGRES</productname> rules system</title>
<authorgroup> <authorgroup>
...@@ -360,7 +360,7 @@ ssimkovi@ag.or.at ...@@ -360,7 +360,7 @@ ssimkovi@ag.or.at
</confgroup> </confgroup>
</biblioentry> </biblioentry>
<biblioentry id="STON87b"> <biblioentry id="ston87b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-06.pdf">The <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-06.pdf">The
design of the <productname>POSTGRES</productname> storage design of the <productname>POSTGRES</productname> storage
...@@ -379,7 +379,7 @@ ssimkovi@ag.or.at ...@@ -379,7 +379,7 @@ ssimkovi@ag.or.at
</confgroup> </confgroup>
</biblioentry> </biblioentry>
<biblioentry id="STON89"> <biblioentry id="ston89">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-82.pdf">A <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-82.pdf">A
commentary on the <productname>POSTGRES</productname> rules commentary on the <productname>POSTGRES</productname> rules
...@@ -405,7 +405,7 @@ ssimkovi@ag.or.at ...@@ -405,7 +405,7 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="STON89b"> <biblioentry id="ston89b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-17.pdf">The <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-17.pdf">The
case for partial indexes</ulink></title> case for partial indexes</ulink></title>
...@@ -423,7 +423,7 @@ ssimkovi@ag.or.at ...@@ -423,7 +423,7 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="STON90a"> <biblioentry id="ston90a">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-34.pdf">The <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-34.pdf">The
implementation of <productname>POSTGRES</productname></ulink></title> implementation of <productname>POSTGRES</productname></ulink></title>
...@@ -451,7 +451,7 @@ ssimkovi@ag.or.at ...@@ -451,7 +451,7 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="STON90b"> <biblioentry id="ston90b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-36.pdf">On <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-36.pdf">On
Rules, Procedures, Caching and Views in Database Systems</ulink></title> Rules, Procedures, Caching and Views in Database Systems</ulink></title>
......
<!-- doc/src/sgml/brin.sgml --> <!-- doc/src/sgml/brin.sgml -->
<chapter id="BRIN"> <chapter id="brin">
<title>BRIN Indexes</title> <title>BRIN Indexes</title>
<indexterm> <indexterm>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
In addition to the typical B-tree search operators, <filename>btree_gist</filename> In addition to the typical B-tree search operators, <filename>btree_gist</filename>
also provides index support for <literal>&lt;&gt;</literal> (<quote>not also provides index support for <literal>&lt;&gt;</literal> (<quote>not
equals</quote>). This may be useful in combination with an equals</quote>). This may be useful in combination with an
<link linkend="SQL-CREATETABLE-EXCLUDE">exclusion constraint</link>, <link linkend="sql-createtable-exclude">exclusion constraint</link>,
as described below. as described below.
</para> </para>
...@@ -70,7 +70,7 @@ SELECT *, a &lt;-&gt; 42 AS dist FROM test ORDER BY a &lt;-&gt; 42 LIMIT 10; ...@@ -70,7 +70,7 @@ SELECT *, a &lt;-&gt; 42 AS dist FROM test ORDER BY a &lt;-&gt; 42 LIMIT 10;
</programlisting> </programlisting>
<para> <para>
Use an <link linkend="SQL-CREATETABLE-EXCLUDE">exclusion Use an <link linkend="sql-createtable-exclude">exclusion
constraint</link> to enforce the rule that a cage at a zoo constraint</link> to enforce the rule that a cage at a zoo
can contain only one kind of animal: can contain only one kind of animal:
</para> </para>
......
...@@ -170,7 +170,7 @@ shared_buffers = 128MB ...@@ -170,7 +170,7 @@ shared_buffers = 128MB
<filename>postgresql.auto.conf</filename><indexterm><primary>postgresql.auto.conf</primary></indexterm>, <filename>postgresql.auto.conf</filename><indexterm><primary>postgresql.auto.conf</primary></indexterm>,
which has the same format as <filename>postgresql.conf</filename> but should which has the same format as <filename>postgresql.conf</filename> but should
never be edited manually. This file holds settings provided through never be edited manually. This file holds settings provided through
the <xref linkend="SQL-ALTERSYSTEM"> command. This file is automatically the <xref linkend="sql-altersystem"> command. This file is automatically
read whenever <filename>postgresql.conf</filename> is, and its settings take read whenever <filename>postgresql.conf</filename> is, and its settings take
effect in the same way. Settings in <filename>postgresql.auto.conf</filename> effect in the same way. Settings in <filename>postgresql.auto.conf</filename>
override those in <filename>postgresql.conf</filename>. override those in <filename>postgresql.conf</filename>.
...@@ -191,7 +191,7 @@ shared_buffers = 128MB ...@@ -191,7 +191,7 @@ shared_buffers = 128MB
<para> <para>
<productname>PostgreSQL</productname> provides three SQL <productname>PostgreSQL</productname> provides three SQL
commands to establish configuration defaults. commands to establish configuration defaults.
The already-mentioned <xref linkend="SQL-ALTERSYSTEM"> command The already-mentioned <xref linkend="sql-altersystem"> command
provides a SQL-accessible means of changing global defaults; it is provides a SQL-accessible means of changing global defaults; it is
functionally equivalent to editing <filename>postgresql.conf</filename>. functionally equivalent to editing <filename>postgresql.conf</filename>.
In addition, there are two commands that allow setting of defaults In addition, there are two commands that allow setting of defaults
...@@ -232,7 +232,7 @@ shared_buffers = 128MB ...@@ -232,7 +232,7 @@ shared_buffers = 128MB
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
The <xref linkend="SQL-SHOW"> command allows inspection of the The <xref linkend="sql-show"> command allows inspection of the
current value of all parameters. The corresponding function is current value of all parameters. The corresponding function is
<function>current_setting(setting_name text)</function>. <function>current_setting(setting_name text)</function>.
</para> </para>
...@@ -240,7 +240,7 @@ shared_buffers = 128MB ...@@ -240,7 +240,7 @@ shared_buffers = 128MB
<listitem> <listitem>
<para> <para>
The <xref linkend="SQL-SET"> command allows modification of the The <xref linkend="sql-set"> command allows modification of the
current value of those parameters that can be set locally to a current value of those parameters that can be set locally to a
session; it has no effect on other sessions. session; it has no effect on other sessions.
The corresponding function is The corresponding function is
...@@ -266,7 +266,7 @@ shared_buffers = 128MB ...@@ -266,7 +266,7 @@ shared_buffers = 128MB
<listitem> <listitem>
<para> <para>
Using <xref linkend="SQL-UPDATE"> on this view, specifically Using <xref linkend="sql-update"> on this view, specifically
updating the <structname>setting</structname> column, is the equivalent updating the <structname>setting</structname> column, is the equivalent
of issuing <command>SET</command> commands. For example, the equivalent of of issuing <command>SET</command> commands. For example, the equivalent of
<programlisting> <programlisting>
...@@ -6237,7 +6237,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; ...@@ -6237,7 +6237,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<para> <para>
For more information on row security policies, For more information on row security policies,
see <xref linkend="SQL-CREATEPOLICY">. see <xref linkend="sql-createpolicy">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -7040,7 +7040,7 @@ SET XML OPTION { DOCUMENT | CONTENT }; ...@@ -7040,7 +7040,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
This variable specifies one or more shared libraries that are to be This variable specifies one or more shared libraries that are to be
preloaded at connection start. preloaded at connection start.
It contains a comma-separated list of library names, where each name It contains a comma-separated list of library names, where each name
is interpreted as for the <xref linkend="SQL-LOAD"> command. is interpreted as for the <xref linkend="sql-load"> command.
Whitespace between entries is ignored; surround a library name with Whitespace between entries is ignored; surround a library name with
double quotes if you need to include whitespace or commas in the name. double quotes if you need to include whitespace or commas in the name.
The parameter value only takes effect at the start of the connection. The parameter value only takes effect at the start of the connection.
...@@ -7091,7 +7091,7 @@ SET XML OPTION { DOCUMENT | CONTENT }; ...@@ -7091,7 +7091,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
This variable specifies one or more shared libraries that are to be This variable specifies one or more shared libraries that are to be
preloaded at connection start. preloaded at connection start.
It contains a comma-separated list of library names, where each name It contains a comma-separated list of library names, where each name
is interpreted as for the <xref linkend="SQL-LOAD"> command. is interpreted as for the <xref linkend="sql-load"> command.
Whitespace between entries is ignored; surround a library name with Whitespace between entries is ignored; surround a library name with
double quotes if you need to include whitespace or commas in the name. double quotes if you need to include whitespace or commas in the name.
The parameter value only takes effect at the start of the connection. The parameter value only takes effect at the start of the connection.
...@@ -7133,7 +7133,7 @@ SET XML OPTION { DOCUMENT | CONTENT }; ...@@ -7133,7 +7133,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
This variable specifies one or more shared libraries to be preloaded at This variable specifies one or more shared libraries to be preloaded at
server start. server start.
It contains a comma-separated list of library names, where each name It contains a comma-separated list of library names, where each name
is interpreted as for the <xref linkend="SQL-LOAD"> command. is interpreted as for the <xref linkend="sql-load"> command.
Whitespace between entries is ignored; surround a library name with Whitespace between entries is ignored; surround a library name with
double quotes if you need to include whitespace or commas in the name. double quotes if you need to include whitespace or commas in the name.
This parameter can only be set at server start. If a specified This parameter can only be set at server start. If a specified
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
functionality using a more modern and standards-compliant infrastructure. functionality using a more modern and standards-compliant infrastructure.
</para> </para>
<refentry id="CONTRIB-DBLINK-CONNECT"> <refentry id="contrib-dblink-connect">
<indexterm> <indexterm>
<primary>dblink_connect</primary> <primary>dblink_connect</primary>
</indexterm> </indexterm>
...@@ -182,7 +182,7 @@ DROP SERVER fdtest; ...@@ -182,7 +182,7 @@ DROP SERVER fdtest;
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-CONNECT-U"> <refentry id="contrib-dblink-connect-u">
<indexterm> <indexterm>
<primary>dblink_connect_u</primary> <primary>dblink_connect_u</primary>
</indexterm> </indexterm>
...@@ -239,7 +239,7 @@ dblink_connect_u(text connname, text connstr) returns text ...@@ -239,7 +239,7 @@ dblink_connect_u(text connname, text connstr) returns text
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-DISCONNECT"> <refentry id="contrib-dblink-disconnect">
<indexterm> <indexterm>
<primary>dblink_disconnect</primary> <primary>dblink_disconnect</primary>
</indexterm> </indexterm>
...@@ -314,7 +314,7 @@ SELECT dblink_disconnect('myconn'); ...@@ -314,7 +314,7 @@ SELECT dblink_disconnect('myconn');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-FUNCTION"> <refentry id="contrib-dblink-function">
<indexterm> <indexterm>
<primary>dblink</primary> <primary>dblink</primary>
</indexterm> </indexterm>
...@@ -532,7 +532,7 @@ SELECT * FROM dblink('myconn', 'select proname, prosrc from pg_proc') ...@@ -532,7 +532,7 @@ SELECT * FROM dblink('myconn', 'select proname, prosrc from pg_proc')
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-EXEC"> <refentry id="contrib-dblink-exec">
<indexterm> <indexterm>
<primary>dblink_exec</primary> <primary>dblink_exec</primary>
</indexterm> </indexterm>
...@@ -669,7 +669,7 @@ DETAIL: ERROR: null value in column "relnamespace" violates not-null constrain ...@@ -669,7 +669,7 @@ DETAIL: ERROR: null value in column "relnamespace" violates not-null constrain
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-OPEN"> <refentry id="contrib-dblink-open">
<indexterm> <indexterm>
<primary>dblink_open</primary> <primary>dblink_open</primary>
</indexterm> </indexterm>
...@@ -793,7 +793,7 @@ SELECT dblink_open('foo', 'select proname, prosrc from pg_proc'); ...@@ -793,7 +793,7 @@ SELECT dblink_open('foo', 'select proname, prosrc from pg_proc');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-FETCH"> <refentry id="contrib-dblink-fetch">
<indexterm> <indexterm>
<primary>dblink_fetch</primary> <primary>dblink_fetch</primary>
</indexterm> </indexterm>
...@@ -946,7 +946,7 @@ SELECT * FROM dblink_fetch('foo', 5) AS (funcname name, source text); ...@@ -946,7 +946,7 @@ SELECT * FROM dblink_fetch('foo', 5) AS (funcname name, source text);
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-CLOSE"> <refentry id="contrib-dblink-close">
<indexterm> <indexterm>
<primary>dblink_close</primary> <primary>dblink_close</primary>
</indexterm> </indexterm>
...@@ -1057,7 +1057,7 @@ SELECT dblink_close('foo'); ...@@ -1057,7 +1057,7 @@ SELECT dblink_close('foo');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-GET-CONNECTIONS"> <refentry id="contrib-dblink-get-connections">
<indexterm> <indexterm>
<primary>dblink_get_connections</primary> <primary>dblink_get_connections</primary>
</indexterm> </indexterm>
...@@ -1102,7 +1102,7 @@ SELECT dblink_get_connections(); ...@@ -1102,7 +1102,7 @@ SELECT dblink_get_connections();
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-ERROR-MESSAGE"> <refentry id="contrib-dblink-error-message">
<indexterm> <indexterm>
<primary>dblink_error_message</primary> <primary>dblink_error_message</primary>
</indexterm> </indexterm>
...@@ -1165,7 +1165,7 @@ SELECT dblink_error_message('dtest1'); ...@@ -1165,7 +1165,7 @@ SELECT dblink_error_message('dtest1');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-SEND-QUERY"> <refentry id="contrib-dblink-send-query">
<indexterm> <indexterm>
<primary>dblink_send_query</primary> <primary>dblink_send_query</primary>
</indexterm> </indexterm>
...@@ -1247,7 +1247,7 @@ SELECT dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 &lt; 3'); ...@@ -1247,7 +1247,7 @@ SELECT dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 &lt; 3');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-IS-BUSY"> <refentry id="contrib-dblink-is-busy">
<indexterm> <indexterm>
<primary>dblink_is_busy</primary> <primary>dblink_is_busy</primary>
</indexterm> </indexterm>
...@@ -1310,7 +1310,7 @@ SELECT dblink_is_busy('dtest1'); ...@@ -1310,7 +1310,7 @@ SELECT dblink_is_busy('dtest1');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-GET-NOTIFY"> <refentry id="contrib-dblink-get-notify">
<indexterm> <indexterm>
<primary>dblink_get_notify</primary> <primary>dblink_get_notify</primary>
</indexterm> </indexterm>
...@@ -1392,7 +1392,7 @@ SELECT * FROM dblink_get_notify(); ...@@ -1392,7 +1392,7 @@ SELECT * FROM dblink_get_notify();
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-GET-RESULT"> <refentry id="contrib-dblink-get-result">
<indexterm> <indexterm>
<primary>dblink_get_result</primary> <primary>dblink_get_result</primary>
</indexterm> </indexterm>
...@@ -1556,7 +1556,7 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2 ...@@ -1556,7 +1556,7 @@ contrib_regression=# SELECT * FROM dblink_get_result('dtest1') AS t1(f1 int, f2
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-CANCEL-QUERY"> <refentry id="contrib-dblink-cancel-query">
<indexterm> <indexterm>
<primary>dblink_cancel_query</primary> <primary>dblink_cancel_query</primary>
</indexterm> </indexterm>
...@@ -1624,7 +1624,7 @@ SELECT dblink_cancel_query('dtest1'); ...@@ -1624,7 +1624,7 @@ SELECT dblink_cancel_query('dtest1');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-GET-PKEY"> <refentry id="contrib-dblink-get-pkey">
<indexterm> <indexterm>
<primary>dblink_get_pkey</primary> <primary>dblink_get_pkey</primary>
</indexterm> </indexterm>
...@@ -1716,7 +1716,7 @@ SELECT * FROM dblink_get_pkey('foobar'); ...@@ -1716,7 +1716,7 @@ SELECT * FROM dblink_get_pkey('foobar');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-INSERT"> <refentry id="contrib-dblink-build-sql-insert">
<indexterm> <indexterm>
<primary>dblink_build_sql_insert</primary> <primary>dblink_build_sql_insert</primary>
</indexterm> </indexterm>
...@@ -1851,7 +1851,7 @@ SELECT dblink_build_sql_insert('foo', '1 2', 2, '{"1", "a"}', '{"1", "b''a"}'); ...@@ -1851,7 +1851,7 @@ SELECT dblink_build_sql_insert('foo', '1 2', 2, '{"1", "a"}', '{"1", "b''a"}');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-DELETE"> <refentry id="contrib-dblink-build-sql-delete">
<indexterm> <indexterm>
<primary>dblink_build_sql_delete</primary> <primary>dblink_build_sql_delete</primary>
</indexterm> </indexterm>
...@@ -1969,7 +1969,7 @@ SELECT dblink_build_sql_delete('"MyFoo"', '1 2', 2, '{"1", "b"}'); ...@@ -1969,7 +1969,7 @@ SELECT dblink_build_sql_delete('"MyFoo"', '1 2', 2, '{"1", "b"}');
</refsect1> </refsect1>
</refentry> </refentry>
<refentry id="CONTRIB-DBLINK-BUILD-SQL-UPDATE"> <refentry id="contrib-dblink-build-sql-update">
<indexterm> <indexterm>
<primary>dblink_build_sql_update</primary> <primary>dblink_build_sql_update</primary>
</indexterm> </indexterm>
......
...@@ -908,7 +908,7 @@ CREATE TABLE circles ( ...@@ -908,7 +908,7 @@ CREATE TABLE circles (
</para> </para>
<para> <para>
See also <link linkend="SQL-CREATETABLE-EXCLUDE"><command>CREATE See also <link linkend="sql-createtable-exclude"><command>CREATE
TABLE ... CONSTRAINT ... EXCLUDE</command></link> for details. TABLE ... CONSTRAINT ... EXCLUDE</command></link> for details.
</para> </para>
......
This diff is collapsed.
...@@ -17866,7 +17866,7 @@ SELECT collation for ('foo' COLLATE "de_DE"); ...@@ -17866,7 +17866,7 @@ SELECT collation for ('foo' COLLATE "de_DE");
logging and checkpoint processing. This information is cluster-wide, logging and checkpoint processing. This information is cluster-wide,
and not specific to any one database. They provide most of the same and not specific to any one database. They provide most of the same
information, from the same source, as information, from the same source, as
<xref linkend="APP-PGCONTROLDATA">, although in a form better suited <xref linkend="app-pgcontroldata">, although in a form better suited
to <acronym>SQL</acronym> functions. to <acronym>SQL</acronym> functions.
</para> </para>
...@@ -20376,7 +20376,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger(); ...@@ -20376,7 +20376,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
</para> </para>
<para> <para>
For more information about creating triggers, see For more information about creating triggers, see
<xref linkend="SQL-CREATETRIGGER">. <xref linkend="sql-createtrigger">.
</para> </para>
</sect1> </sect1>
......
...@@ -320,13 +320,13 @@ ...@@ -320,13 +320,13 @@
<listitem> <listitem>
<para> <para>
<xref linkend="ELMA04"> <xref linkend="elma04">
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<xref linkend="FONG"> <xref linkend="fong">
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
......
<!-- doc/src/sgml/gin.sgml --> <!-- doc/src/sgml/gin.sgml -->
<chapter id="GIN"> <chapter id="gin">
<title>GIN Indexes</title> <title>GIN Indexes</title>
<indexterm> <indexterm>
......
<!-- doc/src/sgml/gist.sgml --> <!-- doc/src/sgml/gist.sgml -->
<chapter id="GiST"> <chapter id="gist">
<title>GiST Indexes</title> <title>GiST Indexes</title>
<indexterm> <indexterm>
......
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
Office (<acronym>ARO</acronym>), the National Science Foundation Office (<acronym>ARO</acronym>), the National Science Foundation
(<acronym>NSF</acronym>), and ESL, Inc. The implementation of (<acronym>NSF</acronym>), and ESL, Inc. The implementation of
<productname>POSTGRES</productname> began in 1986. The initial <productname>POSTGRES</productname> began in 1986. The initial
concepts for the system were presented in <xref linkend="STON86">, concepts for the system were presented in <xref linkend="ston86">,
and the definition of the initial data model appeared in <xref and the definition of the initial data model appeared in <xref
linkend="ROWE87">. The design of the rule system at that time was linkend="rowe87">. The design of the rule system at that time was
described in <xref linkend="STON87a">. The rationale and described in <xref linkend="ston87a">. The rationale and
architecture of the storage manager were detailed in <xref architecture of the storage manager were detailed in <xref
linkend="STON87b">. linkend="ston87b">.
</para> </para>
<para> <para>
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
releases since then. The first <quote>demoware</quote> system releases since then. The first <quote>demoware</quote> system
became operational in 1987 and was shown at the 1988 became operational in 1987 and was shown at the 1988
<acronym>ACM-SIGMOD</acronym> Conference. Version 1, described in <acronym>ACM-SIGMOD</acronym> Conference. Version 1, described in
<xref linkend="STON90a">, was released to a few external users in <xref linkend="ston90a">, was released to a few external users in
June 1989. In response to a critique of the first rule system June 1989. In response to a critique of the first rule system
(<xref linkend="STON89">), the rule system was redesigned (<xref (<xref linkend="ston89">), the rule system was redesigned (<xref
linkend="STON90b">), and Version 2 was released in June 1990 with linkend="ston90b">), and Version 2 was released in June 1990 with
the new rule system. Version 3 appeared in 1991 and added support the new rule system. Version 3 appeared in 1991 and added support
for multiple storage managers, an improved query executor, and a for multiple storage managers, an improved query executor, and a
rewritten rule system. For the most part, subsequent releases rewritten rule system. For the most part, subsequent releases
......
...@@ -98,8 +98,8 @@ CREATE INDEX test1_id_index ON test1 (id); ...@@ -98,8 +98,8 @@ CREATE INDEX test1_id_index ON test1 (id);
In production environments this is often unacceptable. In production environments this is often unacceptable.
It is possible to allow writes to occur in parallel with index It is possible to allow writes to occur in parallel with index
creation, but there are several caveats to be aware of &mdash; creation, but there are several caveats to be aware of &mdash;
for more information see <xref linkend="SQL-CREATEINDEX-CONCURRENTLY" for more information see <xref linkend="sql-createindex-concurrently"
endterm="SQL-CREATEINDEX-CONCURRENTLY-title">. endterm="sql-createindex-concurrently-title">.
</para> </para>
<para> <para>
...@@ -232,7 +232,7 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable> ...@@ -232,7 +232,7 @@ CREATE INDEX <replaceable>name</replaceable> ON <replaceable>table</replaceable>
documented in <xref linkend="gist-builtin-opclasses-table">. documented in <xref linkend="gist-builtin-opclasses-table">.
Many other GiST operator Many other GiST operator
classes are available in the <literal>contrib</literal> collection or as separate classes are available in the <literal>contrib</literal> collection or as separate
projects. For more information see <xref linkend="GiST">. projects. For more information see <xref linkend="gist">.
</para> </para>
<para> <para>
...@@ -278,7 +278,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10; ...@@ -278,7 +278,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10;
these operators.) these operators.)
The SP-GiST operator classes included in the standard distribution are The SP-GiST operator classes included in the standard distribution are
documented in <xref linkend="spgist-builtin-opclasses-table">. documented in <xref linkend="spgist-builtin-opclasses-table">.
For more information see <xref linkend="SPGiST">. For more information see <xref linkend="spgist">.
</para> </para>
<para> <para>
...@@ -319,7 +319,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10; ...@@ -319,7 +319,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10;
documented in <xref linkend="gin-builtin-opclasses-table">. documented in <xref linkend="gin-builtin-opclasses-table">.
Many other GIN operator Many other GIN operator
classes are available in the <literal>contrib</literal> collection or as separate classes are available in the <literal>contrib</literal> collection or as separate
projects. For more information see <xref linkend="GIN">. projects. For more information see <xref linkend="gin">.
</para> </para>
<para> <para>
...@@ -352,7 +352,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10; ...@@ -352,7 +352,7 @@ SELECT * FROM places ORDER BY location <-> point '(101,456)' LIMIT 10;
The BRIN operator classes included in the standard distribution are The BRIN operator classes included in the standard distribution are
documented in <xref linkend="brin-builtin-opclasses-table">. documented in <xref linkend="brin-builtin-opclasses-table">.
For more information see <xref linkend="BRIN">. For more information see <xref linkend="brin">.
</para> </para>
</sect1> </sect1>
...@@ -962,8 +962,8 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target) ...@@ -962,8 +962,8 @@ CREATE UNIQUE INDEX tests_success_constraint ON tests (subject, target)
<para> <para>
More information about partial indexes can be found in <xref More information about partial indexes can be found in <xref
linkend="STON89b">, <xref linkend="OLSON93">, and <xref linkend="ston89b">, <xref linkend="olson93">, and <xref
linkend="SESHADRI95">. linkend="seshadri95">.
</para> </para>
</sect1> </sect1>
......
...@@ -2447,7 +2447,7 @@ PGresult *PQprepare(PGconn *conn, ...@@ -2447,7 +2447,7 @@ PGresult *PQprepare(PGconn *conn,
<function>PQprepare</function> creates a prepared statement for later <function>PQprepare</function> creates a prepared statement for later
execution with <function>PQexecPrepared</function>. This feature allows execution with <function>PQexecPrepared</function>. This feature allows
commands to be executed repeatedly without being parsed and commands to be executed repeatedly without being parsed and
planned each time; see <xref linkend="SQL-PREPARE"> for details. planned each time; see <xref linkend="sql-prepare"> for details.
<function>PQprepare</function> is supported only in protocol 3.0 and later <function>PQprepare</function> is supported only in protocol 3.0 and later
connections; it will fail when using protocol 2.0. connections; it will fail when using protocol 2.0.
</para> </para>
......
<!-- doc/src/sgml/lobj.sgml --> <!-- doc/src/sgml/lobj.sgml -->
<chapter id="largeObjects"> <chapter id="largeobjects">
<title>Large Objects</title> <title>Large Objects</title>
<indexterm zone="largeobjects"><primary>large object</primary></indexterm> <indexterm zone="largeobjects"><primary>large object</primary></indexterm>
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
fallback if no other solution is possible. If a replica identity other fallback if no other solution is possible. If a replica identity other
than <quote>full</quote> is set on the publisher side, a replica identity than <quote>full</quote> is set on the publisher side, a replica identity
comprising the same or fewer columns must also be set on the subscriber comprising the same or fewer columns must also be set on the subscriber
side. See <xref linkend="SQL-CREATETABLE-REPLICA-IDENTITY"> for details on side. See <xref linkend="sql-createtable-replica-identity"> for details on
how to set the replica identity. If a table without a replica identity is how to set the replica identity. If a table without a replica identity is
added to a publication that replicates <command>UPDATE</command> added to a publication that replicates <command>UPDATE</command>
or <command>DELETE</command> operations then or <command>DELETE</command> operations then
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
by <command>INSERT</command> and the new row version created by <command>INSERT</command> and the new row version created
by <command>UPDATE</command>. Availability of old row versions for by <command>UPDATE</command>. Availability of old row versions for
<command>UPDATE</command> and <command>DELETE</command> depends on <command>UPDATE</command> and <command>DELETE</command> depends on
the configured replica identity (see <xref linkend="SQL-CREATETABLE-REPLICA-IDENTITY">). the configured replica identity (see <xref linkend="sql-createtable-replica-identity">).
</para> </para>
<para> <para>
...@@ -576,8 +576,8 @@ typedef void (*LogicalDecodeChangeCB) (struct LogicalDecodingContext *ctx, ...@@ -576,8 +576,8 @@ typedef void (*LogicalDecodeChangeCB) (struct LogicalDecodingContext *ctx,
<note> <note>
<para> <para>
Only changes in user defined tables that are not unlogged Only changes in user defined tables that are not unlogged
(see <xref linkend="SQL-CREATETABLE-UNLOGGED">) and not temporary (see <xref linkend="sql-createtable-unlogged">) and not temporary
(see <xref linkend="SQL-CREATETABLE-TEMPORARY">) can be extracted using (see <xref linkend="sql-createtable-temporary">) can be extracted using
logical decoding. logical decoding.
</para> </para>
</note> </note>
......
...@@ -929,7 +929,7 @@ ERROR: could not serialize access due to read/write dependencies among transact ...@@ -929,7 +929,7 @@ ERROR: could not serialize access due to read/write dependencies among transact
<command>CREATE STATISTICS</command> and <command>CREATE STATISTICS</command> and
<command>ALTER TABLE VALIDATE</command> and other <command>ALTER TABLE VALIDATE</command> and other
<command>ALTER TABLE</command> variants (for full details see <command>ALTER TABLE</command> variants (for full details see
<xref linkend="SQL-ALTERTABLE">). <xref linkend="sql-altertable">).
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -972,7 +972,7 @@ ERROR: could not serialize access due to read/write dependencies among transact ...@@ -972,7 +972,7 @@ ERROR: could not serialize access due to read/write dependencies among transact
<para> <para>
Acquired by <command>CREATE COLLATION</command>, Acquired by <command>CREATE COLLATION</command>,
<command>CREATE TRIGGER</command>, and many forms of <command>CREATE TRIGGER</command>, and many forms of
<command>ALTER TABLE</command> (see <xref linkend="SQL-ALTERTABLE">). <command>ALTER TABLE</command> (see <xref linkend="sql-altertable">).
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
<para> <para>
The <filename>passwordcheck</filename> module checks users' passwords The <filename>passwordcheck</filename> module checks users' passwords
whenever they are set with whenever they are set with
<xref linkend="SQL-CREATEROLE"> or <xref linkend="sql-createrole"> or
<xref linkend="SQL-ALTERROLE">. <xref linkend="sql-alterrole">.
If a password is considered too weak, it will be rejected and If a password is considered too weak, it will be rejected and
the command will terminate with an error. the command will terminate with an error.
</para> </para>
......
...@@ -1848,7 +1848,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse; ...@@ -1848,7 +1848,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
<listitem> <listitem>
<para> <para>
Create <link linkend="SQL-CREATETABLE-UNLOGGED">unlogged Create <link linkend="sql-createtable-unlogged">unlogged
tables</link> to avoid <acronym>WAL</acronym> writes, though it tables</link> to avoid <acronym>WAL</acronym> writes, though it
makes the tables non-crash-safe. makes the tables non-crash-safe.
</para> </para>
......
...@@ -795,7 +795,7 @@ SELECT * ...@@ -795,7 +795,7 @@ SELECT *
AS t1(proname name, prosrc text) AS t1(proname name, prosrc text)
WHERE proname LIKE 'bytea%'; WHERE proname LIKE 'bytea%';
</programlisting> </programlisting>
The <xref linkend="CONTRIB-DBLINK-FUNCTION"> function The <xref linkend="contrib-dblink-function"> function
(part of the <xref linkend="dblink"> module) executes (part of the <xref linkend="dblink"> module) executes
a remote query. It is declared to return a remote query. It is declared to return
<type>record</type> since it might be used for any kind of query. <type>record</type> since it might be used for any kind of query.
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
tutorial is only intended to give you an introduction and is in no tutorial is only intended to give you an introduction and is in no
way a complete tutorial on <acronym>SQL</acronym>. Numerous books way a complete tutorial on <acronym>SQL</acronym>. Numerous books
have been written on <acronym>SQL</acronym>, including <xref have been written on <acronym>SQL</acronym>, including <xref
linkend="MELT93"> and <xref linkend="DATE97">. linkend="melt93"> and <xref linkend="date97">.
You should be aware that some <productname>PostgreSQL</productname> You should be aware that some <productname>PostgreSQL</productname>
language features are extensions to the standard. language features are extensions to the standard.
</para> </para>
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</listitem> </listitem>
</itemizedlist> </itemizedlist>
In addition, you can define your own range types; In addition, you can define your own range types;
see <xref linkend="SQL-CREATETYPE"> for more information. see <xref linkend="sql-createtype"> for more information.
</para> </para>
</sect2> </sect2>
...@@ -406,7 +406,7 @@ SELECT '[11:10, 23:00]'::timerange; ...@@ -406,7 +406,7 @@ SELECT '[11:10, 23:00]'::timerange;
</programlisting> </programlisting>
<para> <para>
See <xref linkend="SQL-CREATETYPE"> for more information about creating See <xref linkend="sql-createtype"> for more information about creating
range types. range types.
</para> </para>
</sect2> </sect2>
...@@ -462,7 +462,7 @@ CREATE INDEX reservation_idx ON reservation USING GIST (during); ...@@ -462,7 +462,7 @@ CREATE INDEX reservation_idx ON reservation USING GIST (during);
While <literal>UNIQUE</literal> is a natural constraint for scalar While <literal>UNIQUE</literal> is a natural constraint for scalar
values, it is usually unsuitable for range types. Instead, an values, it is usually unsuitable for range types. Instead, an
exclusion constraint is often more appropriate exclusion constraint is often more appropriate
(see <link linkend="SQL-CREATETABLE-EXCLUDE">CREATE TABLE (see <link linkend="sql-createtable-exclude">CREATE TABLE
... CONSTRAINT ... EXCLUDE</link>). Exclusion constraints allow the ... CONSTRAINT ... EXCLUDE</link>). Exclusion constraints allow the
specification of constraints such as <quote>non-overlapping</quote> on a specification of constraints such as <quote>non-overlapping</quote> on a
range type. For example: range type. For example:
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/abort.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/abort.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ABORT"> <refentry id="sql-abort">
<indexterm zone="sql-abort"> <indexterm zone="sql-abort">
<primary>ABORT</primary> <primary>ABORT</primary>
</indexterm> </indexterm>
...@@ -33,7 +33,7 @@ ABORT [ WORK | TRANSACTION ] ...@@ -33,7 +33,7 @@ ABORT [ WORK | TRANSACTION ]
all the updates made by the transaction to be discarded. all the updates made by the transaction to be discarded.
This command is identical This command is identical
in behavior to the standard <acronym>SQL</acronym> command in behavior to the standard <acronym>SQL</acronym> command
<xref linkend="SQL-ROLLBACK">, <xref linkend="sql-rollback">,
and is present only for historical reasons. and is present only for historical reasons.
</para> </para>
</refsect1> </refsect1>
...@@ -58,7 +58,7 @@ ABORT [ WORK | TRANSACTION ] ...@@ -58,7 +58,7 @@ ABORT [ WORK | TRANSACTION ]
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-COMMIT"> to Use <xref linkend="sql-commit"> to
successfully terminate a transaction. successfully terminate a transaction.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_aggregate.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_aggregate.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERAGGREGATE"> <refentry id="sql-alteraggregate">
<indexterm zone="sql-alteraggregate"> <indexterm zone="sql-alteraggregate">
<primary>ALTER AGGREGATE</primary> <primary>ALTER AGGREGATE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_collation.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_collation.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERCOLLATION"> <refentry id="sql-altercollation">
<indexterm zone="sql-altercollation"> <indexterm zone="sql-altercollation">
<primary>ALTER COLLATION</primary> <primary>ALTER COLLATION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_conversion.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_conversion.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERCONVERSION"> <refentry id="sql-alterconversion">
<indexterm zone="sql-alterconversion"> <indexterm zone="sql-alterconversion">
<primary>ALTER CONVERSION</primary> <primary>ALTER CONVERSION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_database.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_database.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDATABASE"> <refentry id="sql-alterdatabase">
<indexterm zone="sql-alterdatabase"> <indexterm zone="sql-alterdatabase">
<primary>ALTER DATABASE</primary> <primary>ALTER DATABASE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_default_privileges.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_default_privileges.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDEFAULTPRIVILEGES"> <refentry id="sql-alterdefaultprivileges">
<indexterm zone="sql-alterdefaultprivileges"> <indexterm zone="sql-alterdefaultprivileges">
<primary>ALTER DEFAULT PRIVILEGES</primary> <primary>ALTER DEFAULT PRIVILEGES</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_domain.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_domain.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDOMAIN"> <refentry id="sql-alterdomain">
<indexterm zone="sql-alterdomain"> <indexterm zone="sql-alterdomain">
<primary>ALTER DOMAIN</primary> <primary>ALTER DOMAIN</primary>
</indexterm> </indexterm>
...@@ -80,7 +80,7 @@ ALTER DOMAIN <replaceable class="parameter">name</replaceable> ...@@ -80,7 +80,7 @@ ALTER DOMAIN <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form adds a new constraint to a domain using the same syntax as This form adds a new constraint to a domain using the same syntax as
<xref linkend="SQL-CREATEDOMAIN">. <xref linkend="sql-createdomain">.
When a new constraint is added to a domain, all columns using that When a new constraint is added to a domain, all columns using that
domain will be checked against the newly added constraint. These domain will be checked against the newly added constraint. These
checks can be suppressed by adding the new constraint using the checks can be suppressed by adding the new constraint using the
...@@ -325,7 +325,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers; ...@@ -325,7 +325,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers;
</programlisting></para> </programlisting></para>
</refsect1> </refsect1>
<refsect1 id="SQL-ALTERDOMAIN-compatibility"> <refsect1 id="sql-alterdomain-compatibility">
<title>Compatibility</title> <title>Compatibility</title>
<para> <para>
...@@ -338,7 +338,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers; ...@@ -338,7 +338,7 @@ ALTER DOMAIN zipcode SET SCHEMA customers;
</para> </para>
</refsect1> </refsect1>
<refsect1 id="SQL-ALTERDOMAIN-see-also"> <refsect1 id="sql-alterdomain-see-also">
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_event_trigger.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_event_trigger.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEREVENTTRIGGER"> <refentry id="sql-altereventtrigger">
<indexterm zone="sql-altereventtrigger"> <indexterm zone="sql-altereventtrigger">
<primary>ALTER EVENT TRIGGER</primary> <primary>ALTER EVENT TRIGGER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_extension.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_extension.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEREXTENSION"> <refentry id="sql-alterextension">
<indexterm zone="sql-alterextension"> <indexterm zone="sql-alterextension">
<primary>ALTER EXTENSION</primary> <primary>ALTER EXTENSION</primary>
</indexterm> </indexterm>
...@@ -319,7 +319,7 @@ ALTER EXTENSION hstore ADD FUNCTION populate_record(anyelement, hstore); ...@@ -319,7 +319,7 @@ ALTER EXTENSION hstore ADD FUNCTION populate_record(anyelement, hstore);
</para> </para>
</refsect1> </refsect1>
<refsect1 id="SQL-ALTEREXTENSION-see-also"> <refsect1 id="sql-alterextension-see-also">
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_foreign_data_wrapper.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_foreign_data_wrapper.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERFOREIGNDATAWRAPPER"> <refentry id="sql-alterforeigndatawrapper">
<indexterm zone="sql-alterforeigndatawrapper"> <indexterm zone="sql-alterforeigndatawrapper">
<primary>ALTER FOREIGN DATA WRAPPER</primary> <primary>ALTER FOREIGN DATA WRAPPER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/rel/alter_foreign_table.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/rel/alter_foreign_table.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERFOREIGNTABLE"> <refentry id="sql-alterforeigntable">
<indexterm zone="sql-alterforeigntable"> <indexterm zone="sql-alterforeigntable">
<primary>ALTER FOREIGN TABLE</primary> <primary>ALTER FOREIGN TABLE</primary>
</indexterm> </indexterm>
...@@ -72,7 +72,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab ...@@ -72,7 +72,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab
<listitem> <listitem>
<para> <para>
This form adds a new column to the foreign table, using the same syntax as This form adds a new column to the foreign table, using the same syntax as
<xref linkend="SQL-CREATEFOREIGNTABLE">. <xref linkend="sql-createforeigntable">.
Unlike the case when adding a column to a regular table, nothing happens Unlike the case when adding a column to a regular table, nothing happens
to the underlying storage: this action simply declares that to the underlying storage: this action simply declares that
some new column is now accessible through the foreign table. some new column is now accessible through the foreign table.
...@@ -173,7 +173,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab ...@@ -173,7 +173,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab
<listitem> <listitem>
<para> <para>
This form adds a new constraint to a foreign table, using the same This form adds a new constraint to a foreign table, using the same
syntax as <xref linkend="SQL-CREATEFOREIGNTABLE">. syntax as <xref linkend="sql-createforeigntable">.
Currently only <literal>CHECK</literal> constraints are supported. Currently only <literal>CHECK</literal> constraints are supported.
</para> </para>
...@@ -182,7 +182,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab ...@@ -182,7 +182,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceab
done to verify the constraint is correct; rather, this action simply done to verify the constraint is correct; rather, this action simply
declares that some new condition should be assumed to hold for all rows declares that some new condition should be assumed to hold for all rows
in the foreign table. (See the discussion in the foreign table. (See the discussion
in <xref linkend="SQL-CREATEFOREIGNTABLE">.) in <xref linkend="sql-createforeigntable">.)
If the constraint is marked <literal>NOT VALID</literal>, then it isn't If the constraint is marked <literal>NOT VALID</literal>, then it isn't
assumed to hold, but is only recorded for possible future use. assumed to hold, but is only recorded for possible future use.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_function.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_function.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERFUNCTION"> <refentry id="sql-alterfunction">
<indexterm zone="sql-alterfunction"> <indexterm zone="sql-alterfunction">
<primary>ALTER FUNCTION</primary> <primary>ALTER FUNCTION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_group.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_group.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERGROUP"> <refentry id="sql-altergroup">
<indexterm zone="sql-altergroup"> <indexterm zone="sql-altergroup">
<primary>ALTER GROUP</primary> <primary>ALTER GROUP</primary>
</indexterm> </indexterm>
...@@ -50,8 +50,8 @@ ALTER GROUP <replaceable class="parameter">group_name</replaceable> RENAME TO <r ...@@ -50,8 +50,8 @@ ALTER GROUP <replaceable class="parameter">group_name</replaceable> RENAME TO <r
<quote>group</quote> for this purpose.) These variants are effectively <quote>group</quote> for this purpose.) These variants are effectively
equivalent to granting or revoking membership in the role named as the equivalent to granting or revoking membership in the role named as the
<quote>group</quote>; so the preferred way to do this is to use <quote>group</quote>; so the preferred way to do this is to use
<xref linkend="SQL-GRANT"> or <xref linkend="sql-grant"> or
<xref linkend="SQL-REVOKE">. <xref linkend="sql-revoke">.
</para> </para>
<para> <para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_index.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_index.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERINDEX"> <refentry id="sql-alterindex">
<indexterm zone="sql-alterindex"> <indexterm zone="sql-alterindex">
<primary>ALTER INDEX</primary> <primary>ALTER INDEX</primary>
</indexterm> </indexterm>
...@@ -70,7 +70,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> ...@@ -70,7 +70,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable>
this command, use <command>ALTER DATABASE</command> or explicit this command, use <command>ALTER DATABASE</command> or explicit
<command>ALTER INDEX</command> invocations instead if desired. <command>ALTER INDEX</command> invocations instead if desired.
See also See also
<xref linkend="SQL-CREATETABLESPACE">. <xref linkend="sql-createtablespace">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -91,11 +91,11 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> ...@@ -91,11 +91,11 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable>
<para> <para>
This form changes one or more index-method-specific storage parameters This form changes one or more index-method-specific storage parameters
for the index. See for the index. See
<xref linkend="SQL-CREATEINDEX"> <xref linkend="sql-createindex">
for details on the available parameters. Note that the index contents for details on the available parameters. Note that the index contents
will not be modified immediately by this command; depending on the will not be modified immediately by this command; depending on the
parameter you might need to rebuild the index with parameter you might need to rebuild the index with
<xref linkend="SQL-REINDEX"> <xref linkend="sql-reindex">
to get the desired effects. to get the desired effects.
</para> </para>
</listitem> </listitem>
...@@ -225,7 +225,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> ...@@ -225,7 +225,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable>
<para> <para>
These operations are also possible using These operations are also possible using
<xref linkend="SQL-ALTERTABLE">. <xref linkend="sql-altertable">.
<command>ALTER INDEX</command> is in fact just an alias for the forms <command>ALTER INDEX</command> is in fact just an alias for the forms
of <command>ALTER TABLE</command> that apply to indexes. of <command>ALTER TABLE</command> that apply to indexes.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_language.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_language.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERLANGUAGE"> <refentry id="sql-alterlanguage">
<indexterm zone="sql-alterlanguage"> <indexterm zone="sql-alterlanguage">
<primary>ALTER LANGUAGE</primary> <primary>ALTER LANGUAGE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_large_object.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_large_object.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERLARGEOBJECT"> <refentry id="sql-alterlargeobject">
<indexterm zone="sql-alterlargeobject"> <indexterm zone="sql-alterlargeobject">
<primary>ALTER LARGE OBJECT</primary> <primary>ALTER LARGE OBJECT</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_materialized_view.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_materialized_view.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERMATERIALIZEDVIEW"> <refentry id="sql-altermaterializedview">
<indexterm zone="sql-altermaterializedview"> <indexterm zone="sql-altermaterializedview">
<primary>ALTER MATERIALIZED VIEW</primary> <primary>ALTER MATERIALIZED VIEW</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_opclass.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_opclass.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPCLASS"> <refentry id="sql-alteropclass">
<indexterm zone="sql-alteropclass"> <indexterm zone="sql-alteropclass">
<primary>ALTER OPERATOR CLASS</primary> <primary>ALTER OPERATOR CLASS</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_operator.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_operator.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPERATOR"> <refentry id="sql-alteroperator">
<indexterm zone="sql-alteroperator"> <indexterm zone="sql-alteroperator">
<primary>ALTER OPERATOR</primary> <primary>ALTER OPERATOR</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_opfamily.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_opfamily.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPFAMILY"> <refentry id="sql-alteropfamily">
<indexterm zone="sql-alteropfamily"> <indexterm zone="sql-alteropfamily">
<primary>ALTER OPERATOR FAMILY</primary> <primary>ALTER OPERATOR FAMILY</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_policy.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_policy.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERPOLICY"> <refentry id="sql-alterpolicy">
<indexterm zone="sql-alterpolicy"> <indexterm zone="sql-alterpolicy">
<primary>ALTER POLICY</primary> <primary>ALTER POLICY</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_publication.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_publication.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERPUBLICATION"> <refentry id="sql-alterpublication">
<indexterm zone="sql-alterpublication"> <indexterm zone="sql-alterpublication">
<primary>ALTER PUBLICATION</primary> <primary>ALTER PUBLICATION</primary>
</indexterm> </indexterm>
...@@ -101,7 +101,7 @@ ALTER PUBLICATION <replaceable class="parameter">name</replaceable> RENAME TO <r ...@@ -101,7 +101,7 @@ ALTER PUBLICATION <replaceable class="parameter">name</replaceable> RENAME TO <r
<listitem> <listitem>
<para> <para>
This clause alters publication parameters originally set by This clause alters publication parameters originally set by
<xref linkend="SQL-CREATEPUBLICATION">. See there for more information. <xref linkend="sql-createpublication">. See there for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_role.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_role.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERROLE"> <refentry id="sql-alterrole">
<indexterm zone="sql-alterrole"> <indexterm zone="sql-alterrole">
<primary>ALTER ROLE</primary> <primary>ALTER ROLE</primary>
</indexterm> </indexterm>
...@@ -65,8 +65,8 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A ...@@ -65,8 +65,8 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A
<xref linkend="sql-createrole">. <xref linkend="sql-createrole">.
(All the possible attributes are covered, (All the possible attributes are covered,
except that there are no options for adding or removing memberships; use except that there are no options for adding or removing memberships; use
<xref linkend="SQL-GRANT"> and <xref linkend="sql-grant"> and
<xref linkend="SQL-REVOKE"> for that.) <xref linkend="sql-revoke"> for that.)
Attributes not mentioned in the command retain their previous settings. Attributes not mentioned in the command retain their previous settings.
Database superusers can change any of these settings for any role. Database superusers can change any of these settings for any role.
Roles having <literal>CREATEROLE</literal> privilege can change any of these Roles having <literal>CREATEROLE</literal> privilege can change any of these
...@@ -173,7 +173,7 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A ...@@ -173,7 +173,7 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A
<listitem> <listitem>
<para> <para>
These clauses alter attributes originally set by These clauses alter attributes originally set by
<xref linkend="SQL-CREATEROLE">. For more information, see the <xref linkend="sql-createrole">. For more information, see the
<command>CREATE ROLE</command> reference page. <command>CREATE ROLE</command> reference page.
</para> </para>
</listitem> </listitem>
...@@ -236,14 +236,14 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A ...@@ -236,14 +236,14 @@ ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | A
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-CREATEROLE"> Use <xref linkend="sql-createrole">
to add new roles, and <xref linkend="SQL-DROPROLE"> to remove a role. to add new roles, and <xref linkend="sql-droprole"> to remove a role.
</para> </para>
<para> <para>
<command>ALTER ROLE</command> cannot change a role's memberships. <command>ALTER ROLE</command> cannot change a role's memberships.
Use <xref linkend="SQL-GRANT"> and Use <xref linkend="sql-grant"> and
<xref linkend="SQL-REVOKE"> <xref linkend="sql-revoke">
to do that. to do that.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_rule.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_rule.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERRULE"> <refentry id="sql-alterrule">
<indexterm zone="sql-alterrule"> <indexterm zone="sql-alterrule">
<primary>ALTER RULE</primary> <primary>ALTER RULE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_schema.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_schema.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSCHEMA"> <refentry id="sql-alterschema">
<indexterm zone="sql-alterschema"> <indexterm zone="sql-alterschema">
<primary>ALTER SCHEMA</primary> <primary>ALTER SCHEMA</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_sequence.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_sequence.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSEQUENCE"> <refentry id="sql-altersequence">
<indexterm zone="sql-altersequence"> <indexterm zone="sql-altersequence">
<primary>ALTER SEQUENCE</primary> <primary>ALTER SEQUENCE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_server.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_server.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSERVER"> <refentry id="sql-alterserver">
<indexterm zone="sql-alterserver"> <indexterm zone="sql-alterserver">
<primary>ALTER SERVER</primary> <primary>ALTER SERVER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_statistics.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_statistics.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSTATISTICS"> <refentry id="sql-alterstatistics">
<indexterm zone="sql-alterstatistics"> <indexterm zone="sql-alterstatistics">
<primary>ALTER STATISTICS</primary> <primary>ALTER STATISTICS</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_subscription.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_subscription.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSUBSCRIPTION"> <refentry id="sql-altersubscription">
<indexterm zone="sql-altersubscription"> <indexterm zone="sql-altersubscription">
<primary>ALTER SUBSCRIPTION</primary> <primary>ALTER SUBSCRIPTION</primary>
</indexterm> </indexterm>
...@@ -68,7 +68,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO < ...@@ -68,7 +68,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
<listitem> <listitem>
<para> <para>
This clause alters the connection property originally set by This clause alters the connection property originally set by
<xref linkend="SQL-CREATESUBSCRIPTION">. See there for more <xref linkend="sql-createsubscription">. See there for more
information. information.
</para> </para>
</listitem> </listitem>
...@@ -79,7 +79,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO < ...@@ -79,7 +79,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
<listitem> <listitem>
<para> <para>
Changes list of subscribed publications. See Changes list of subscribed publications. See
<xref linkend="SQL-CREATESUBSCRIPTION"> for more information. <xref linkend="sql-createsubscription"> for more information.
By default this command will also act like <literal>REFRESH By default this command will also act like <literal>REFRESH
PUBLICATION</literal>. PUBLICATION</literal>.
</para> </para>
...@@ -162,7 +162,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO < ...@@ -162,7 +162,7 @@ ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <
<listitem> <listitem>
<para> <para>
This clause alters parameters originally set by This clause alters parameters originally set by
<xref linkend="SQL-CREATESUBSCRIPTION">. See there for more <xref linkend="sql-createsubscription">. See there for more
information. The allowed options are <literal>slot_name</literal> and information. The allowed options are <literal>slot_name</literal> and
<literal>synchronous_commit</literal> <literal>synchronous_commit</literal>
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_system.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_system.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSYSTEM"> <refentry id="sql-altersystem">
<indexterm zone="sql-altersystem"> <indexterm zone="sql-altersystem">
<primary>ALTER SYSTEM</primary> <primary>ALTER SYSTEM</primary>
</indexterm> </indexterm>
...@@ -135,8 +135,8 @@ ALTER SYSTEM RESET wal_level; ...@@ -135,8 +135,8 @@ ALTER SYSTEM RESET wal_level;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="SQL-SET"></member> <member><xref linkend="sql-set"></member>
<member><xref linkend="SQL-SHOW"></member> <member><xref linkend="sql-show"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_table.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_table.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTABLE"> <refentry id="sql-altertable">
<indexterm zone="sql-altertable"> <indexterm zone="sql-altertable">
<primary>ALTER TABLE</primary> <primary>ALTER TABLE</primary>
</indexterm> </indexterm>
...@@ -109,7 +109,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -109,7 +109,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form adds a new column to the table, using the same syntax as This form adds a new column to the table, using the same syntax as
<xref linkend="SQL-CREATETABLE">. If <literal>IF NOT EXISTS</literal> <xref linkend="sql-createtable">. If <literal>IF NOT EXISTS</literal>
is specified and a column already exists with this name, is specified and a column already exists with this name,
no error is thrown. no error is thrown.
</para> </para>
...@@ -314,7 +314,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -314,7 +314,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form adds a new constraint to a table using the same syntax as This form adds a new constraint to a table using the same syntax as
<xref linkend="SQL-CREATETABLE">, plus the option <literal>NOT <xref linkend="sql-createtable">, plus the option <literal>NOT
VALID</literal>, which is currently only allowed for foreign key VALID</literal>, which is currently only allowed for foreign key
and CHECK constraints. and CHECK constraints.
If the constraint is marked <literal>NOT VALID</literal>, the If the constraint is marked <literal>NOT VALID</literal>, the
...@@ -483,7 +483,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -483,7 +483,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
even if row level security is disabled - in this case, the policies will even if row level security is disabled - in this case, the policies will
NOT be applied and the policies will be ignored. NOT be applied and the policies will be ignored.
See also See also
<xref linkend="SQL-CREATEPOLICY">. <xref linkend="sql-createpolicy">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -498,7 +498,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -498,7 +498,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
disabled (the default) then row level security will not be applied when disabled (the default) then row level security will not be applied when
the user is the table owner. the user is the table owner.
See also See also
<xref linkend="SQL-CREATEPOLICY">. <xref linkend="sql-createpolicy">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -508,7 +508,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -508,7 +508,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form selects the default index for future This form selects the default index for future
<xref linkend="SQL-CLUSTER"> <xref linkend="sql-cluster">
operations. It does not actually re-cluster the table. operations. It does not actually re-cluster the table.
</para> </para>
<para> <para>
...@@ -522,7 +522,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -522,7 +522,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form removes the most recently used This form removes the most recently used
<xref linkend="SQL-CLUSTER"> <xref linkend="sql-cluster">
index specification from the table. This affects index specification from the table. This affects
future cluster operations that don't specify an index. future cluster operations that don't specify an index.
</para> </para>
...@@ -582,7 +582,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -582,7 +582,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<literal>information_schema</literal> relations are not considered part <literal>information_schema</literal> relations are not considered part
of the system catalogs and will be moved. of the system catalogs and will be moved.
See also See also
<xref linkend="SQL-CREATETABLESPACE">. <xref linkend="sql-createtablespace">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -592,7 +592,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -592,7 +592,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form changes the table from unlogged to logged or vice-versa This form changes the table from unlogged to logged or vice-versa
(see <xref linkend="SQL-CREATETABLE-UNLOGGED">). It cannot be applied (see <xref linkend="sql-createtable-unlogged">). It cannot be applied
to a temporary table. to a temporary table.
</para> </para>
</listitem> </listitem>
...@@ -603,13 +603,13 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -603,13 +603,13 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
This form changes one or more storage parameters for the table. See This form changes one or more storage parameters for the table. See
<xref linkend="SQL-CREATETABLE-storage-parameters" <xref linkend="sql-createtable-storage-parameters"
endterm="SQL-CREATETABLE-storage-parameters-title"> endterm="sql-createtable-storage-parameters-title">
for details on the available parameters. Note that the table contents for details on the available parameters. Note that the table contents
will not be modified immediately by this command; depending on the will not be modified immediately by this command; depending on the
parameter you might need to rewrite the table to get the desired effects. parameter you might need to rewrite the table to get the desired effects.
That can be done with <link linkend="SQL-VACUUM">VACUUM That can be done with <link linkend="sql-vacuum">VACUUM
FULL</link>, <xref linkend="SQL-CLUSTER"> or one of the forms FULL</link>, <xref linkend="sql-cluster"> or one of the forms
of <command>ALTER TABLE</command> that forces a table rewrite. of <command>ALTER TABLE</command> that forces a table rewrite.
For planner related parameters, changes will take effect from the next For planner related parameters, changes will take effect from the next
time the table is locked so currently executing queries will not be time the table is locked so currently executing queries will not be
...@@ -722,7 +722,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -722,7 +722,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATETABLE-REPLICA-IDENTITY"> <varlistentry id="sql-createtable-replica-identity">
<term><literal>REPLICA IDENTITY</literal></term> <term><literal>REPLICA IDENTITY</literal></term>
<listitem> <listitem>
<para> <para>
...@@ -810,7 +810,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -810,7 +810,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<para> <para>
If the new partition is a foreign table, nothing is done to verify If the new partition is a foreign table, nothing is done to verify
that all the rows in the foreign table obey the partition constraint. that all the rows in the foreign table obey the partition constraint.
(See the discussion in <xref linkend="SQL-CREATEFOREIGNTABLE"> about (See the discussion in <xref linkend="sql-createforeigntable"> about
constraints on the foreign table.) constraints on the foreign table.)
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tablespace.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tablespace.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTABLESPACE"> <refentry id="sql-altertablespace">
<indexterm zone="sql-altertablespace"> <indexterm zone="sql-altertablespace">
<primary>ALTER TABLESPACE</primary> <primary>ALTER TABLESPACE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_trigger.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_trigger.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTRIGGER"> <refentry id="sql-altertrigger">
<indexterm zone="sql-altertrigger"> <indexterm zone="sql-altertrigger">
<primary>ALTER TRIGGER</primary> <primary>ALTER TRIGGER</primary>
</indexterm> </indexterm>
...@@ -90,7 +90,7 @@ ALTER TRIGGER <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -90,7 +90,7 @@ ALTER TRIGGER <replaceable class="parameter">name</replaceable> ON <replaceable
<para> <para>
The ability to temporarily enable or disable a trigger is provided by The ability to temporarily enable or disable a trigger is provided by
<xref linkend="SQL-ALTERTABLE">, not by <xref linkend="sql-altertable">, not by
<command>ALTER TRIGGER</command>, because <command>ALTER TRIGGER</command> has no <command>ALTER TRIGGER</command>, because <command>ALTER TRIGGER</command> has no
convenient way to express the option of enabling or disabling all of convenient way to express the option of enabling or disabling all of
a table's triggers at once. a table's triggers at once.
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsconfig.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsconfig.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSCONFIG"> <refentry id="sql-altertsconfig">
<indexterm zone="sql-altertsconfig"> <indexterm zone="sql-altertsconfig">
<primary>ALTER TEXT SEARCH CONFIGURATION</primary> <primary>ALTER TEXT SEARCH CONFIGURATION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsdictionary.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsdictionary.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSDICTIONARY"> <refentry id="sql-altertsdictionary">
<indexterm zone="sql-altertsdictionary"> <indexterm zone="sql-altertsdictionary">
<primary>ALTER TEXT SEARCH DICTIONARY</primary> <primary>ALTER TEXT SEARCH DICTIONARY</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsparser.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tsparser.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSPARSER"> <refentry id="sql-altertsparser">
<indexterm zone="sql-altertsparser"> <indexterm zone="sql-altertsparser">
<primary>ALTER TEXT SEARCH PARSER</primary> <primary>ALTER TEXT SEARCH PARSER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tstemplate.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_tstemplate.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSTEMPLATE"> <refentry id="sql-altertstemplate">
<indexterm zone="sql-altertstemplate"> <indexterm zone="sql-altertstemplate">
<primary>ALTER TEXT SEARCH TEMPLATE</primary> <primary>ALTER TEXT SEARCH TEMPLATE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_type.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_type.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTYPE"> <refentry id="sql-altertype">
<indexterm zone="sql-altertype"> <indexterm zone="sql-altertype">
<primary>ALTER TYPE</primary> <primary>ALTER TYPE</primary>
</indexterm> </indexterm>
...@@ -52,7 +52,7 @@ ALTER TYPE <replaceable class="parameter">name</replaceable> RENAME VALUE <repla ...@@ -52,7 +52,7 @@ ALTER TYPE <replaceable class="parameter">name</replaceable> RENAME VALUE <repla
<listitem> <listitem>
<para> <para>
This form adds a new attribute to a composite type, using the same syntax as This form adds a new attribute to a composite type, using the same syntax as
<xref linkend="SQL-CREATETYPE">. <xref linkend="sql-createtype">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -364,7 +364,7 @@ ALTER TYPE colors RENAME VALUE 'purple' TO 'mauve'; ...@@ -364,7 +364,7 @@ ALTER TYPE colors RENAME VALUE 'purple' TO 'mauve';
</para> </para>
</refsect1> </refsect1>
<refsect1 id="SQL-ALTERTYPE-see-also"> <refsect1 id="sql-altertype-see-also">
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_user.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_user.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERUSER"> <refentry id="sql-alteruser">
<indexterm zone="sql-alteruser"> <indexterm zone="sql-alteruser">
<primary>ALTER USER</primary> <primary>ALTER USER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_user_mapping.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_user_mapping.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERUSERMAPPING"> <refentry id="sql-alterusermapping">
<indexterm zone="sql-alterusermapping"> <indexterm zone="sql-alterusermapping">
<primary>ALTER USER MAPPING</primary> <primary>ALTER USER MAPPING</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_view.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/alter_view.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERVIEW"> <refentry id="sql-alterview">
<indexterm zone="sql-alterview"> <indexterm zone="sql-alterview">
<primary>ALTER VIEW</primary> <primary>ALTER VIEW</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/analyze.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/analyze.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ANALYZE"> <refentry id="sql-analyze">
<indexterm zone="sql-analyze"> <indexterm zone="sql-analyze">
<primary>ANALYZE</primary> <primary>ANALYZE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/begin.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/begin.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-BEGIN"> <refentry id="sql-begin">
<indexterm zone="sql-begin"> <indexterm zone="sql-begin">
<primary>BEGIN</primary> <primary>BEGIN</primary>
</indexterm> </indexterm>
...@@ -95,8 +95,8 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</ ...@@ -95,8 +95,8 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
</para> </para>
<para> <para>
Use <xref linkend="SQL-COMMIT"> or Use <xref linkend="sql-commit"> or
<xref linkend="SQL-ROLLBACK"> <xref linkend="sql-rollback">
to terminate a transaction block. to terminate a transaction block.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/close.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/close.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CLOSE"> <refentry id="sql-close">
<indexterm zone="sql-close"> <indexterm zone="sql-close">
<primary>CLOSE</primary> <primary>CLOSE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/cluster.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/cluster.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CLUSTER"> <refentry id="sql-cluster">
<indexterm zone="sql-cluster"> <indexterm zone="sql-cluster">
<primary>CLUSTER</primary> <primary>CLUSTER</primary>
</indexterm> </indexterm>
...@@ -57,7 +57,7 @@ CLUSTER [VERBOSE] ...@@ -57,7 +57,7 @@ CLUSTER [VERBOSE]
<command>CLUSTER <replaceable class="parameter">table_name</replaceable></command> <command>CLUSTER <replaceable class="parameter">table_name</replaceable></command>
reclusters the table using the same index as before. You can also reclusters the table using the same index as before. You can also
use the <literal>CLUSTER</literal> or <literal>SET WITHOUT CLUSTER</literal> use the <literal>CLUSTER</literal> or <literal>SET WITHOUT CLUSTER</literal>
forms of <xref linkend="SQL-ALTERTABLE"> to set the index to be used for forms of <xref linkend="sql-altertable"> to set the index to be used for
future cluster operations, or to clear any previous setting. future cluster operations, or to clear any previous setting.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/clusterdb.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/clusterdb.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="APP-CLUSTERDB"> <refentry id="app-clusterdb">
<indexterm zone="app-clusterdb"> <indexterm zone="app-clusterdb">
<primary>clusterdb</primary> <primary>clusterdb</primary>
</indexterm> </indexterm>
...@@ -60,7 +60,7 @@ PostgreSQL documentation ...@@ -60,7 +60,7 @@ PostgreSQL documentation
<para> <para>
<application>clusterdb</application> is a wrapper around the SQL <application>clusterdb</application> is a wrapper around the SQL
command <xref linkend="SQL-CLUSTER">. command <xref linkend="sql-cluster">.
There is no effective difference between clustering databases via There is no effective difference between clustering databases via
this utility and via other methods for accessing the server. this utility and via other methods for accessing the server.
</para> </para>
...@@ -289,8 +289,8 @@ PostgreSQL documentation ...@@ -289,8 +289,8 @@ PostgreSQL documentation
<title>Diagnostics</title> <title>Diagnostics</title>
<para> <para>
In case of difficulty, see <xref linkend="SQL-CLUSTER"> In case of difficulty, see <xref linkend="sql-cluster">
and <xref linkend="APP-PSQL"> for and <xref linkend="app-psql"> for
discussions of potential problems and error messages. discussions of potential problems and error messages.
The database server must be running at the The database server must be running at the
targeted host. Also, any default connection settings and environment targeted host. Also, any default connection settings and environment
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/comment.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/comment.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMENT"> <refentry id="sql-comment">
<indexterm zone="sql-comment"> <indexterm zone="sql-comment">
<primary>COMMENT</primary> <primary>COMMENT</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/commit.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/commit.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMIT"> <refentry id="sql-commit">
<indexterm zone="sql-commit"> <indexterm zone="sql-commit">
<primary>COMMIT</primary> <primary>COMMIT</primary>
</indexterm> </indexterm>
...@@ -55,7 +55,7 @@ COMMIT [ WORK | TRANSACTION ] ...@@ -55,7 +55,7 @@ COMMIT [ WORK | TRANSACTION ]
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-ROLLBACK"> to Use <xref linkend="sql-rollback"> to
abort a transaction. abort a transaction.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/commit_prepared.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/commit_prepared.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMIT-PREPARED"> <refentry id="sql-commit-prepared">
<indexterm zone="sql-commit-prepared"> <indexterm zone="sql-commit-prepared">
<primary>COMMIT PREPARED</primary> <primary>COMMIT PREPARED</primary>
</indexterm> </indexterm>
......
...@@ -4,7 +4,7 @@ PostgreSQL documentation ...@@ -4,7 +4,7 @@ PostgreSQL documentation
--> -->
<refentry id="SQL-COPY"> <refentry id="sql-copy">
<indexterm zone="sql-copy"> <indexterm zone="sql-copy">
<primary>COPY</primary> <primary>COPY</primary>
</indexterm> </indexterm>
...@@ -451,7 +451,7 @@ COPY <replaceable class="parameter">count</replaceable> ...@@ -451,7 +451,7 @@ COPY <replaceable class="parameter">count</replaceable>
<para> <para>
Do not confuse <command>COPY</command> with the Do not confuse <command>COPY</command> with the
<application>psql</application> instruction <application>psql</application> instruction
<command><link linkend="APP-PSQL-meta-commands-copy">\copy</link></command>. <command>\copy</command> invokes <command><link linkend="app-psql-meta-commands-copy">\copy</link></command>. <command>\copy</command> invokes
<command>COPY FROM STDIN</command> or <command>COPY TO <command>COPY FROM STDIN</command> or <command>COPY TO
STDOUT</command>, and then fetches/stores the data in a file STDOUT</command>, and then fetches/stores the data in a file
accessible to the <application>psql</application> client. Thus, accessible to the <application>psql</application> client. Thus,
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_aggregate.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_aggregate.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEAGGREGATE"> <refentry id="sql-createaggregate">
<indexterm zone="sql-createaggregate"> <indexterm zone="sql-createaggregate">
<primary>CREATE AGGREGATE</primary> <primary>CREATE AGGREGATE</primary>
</indexterm> </indexterm>
......
<!-- doc/src/sgml/ref/create_cast.sgml --> <!-- doc/src/sgml/ref/create_cast.sgml -->
<refentry id="SQL-CREATECAST"> <refentry id="sql-createcast">
<indexterm zone="sql-createcast"> <indexterm zone="sql-createcast">
<primary>CREATE CAST</primary> <primary>CREATE CAST</primary>
</indexterm> </indexterm>
......
<!-- doc/src/sgml/ref/create_collation.sgml --> <!-- doc/src/sgml/ref/create_collation.sgml -->
<refentry id="SQL-CREATECOLLATION"> <refentry id="sql-createcollation">
<indexterm zone="sql-createcollation"> <indexterm zone="sql-createcollation">
<primary>CREATE COLLATION</primary> <primary>CREATE COLLATION</primary>
</indexterm> </indexterm>
......
<!-- doc/src/sgml/ref/create_conversion.sgml --> <!-- doc/src/sgml/ref/create_conversion.sgml -->
<refentry id="SQL-CREATECONVERSION"> <refentry id="sql-createconversion">
<indexterm zone="sql-createconversion"> <indexterm zone="sql-createconversion">
<primary>CREATE CONVERSION</primary> <primary>CREATE CONVERSION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_database.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_database.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEDATABASE"> <refentry id="sql-createdatabase">
<indexterm zone="sql-createdatabase"> <indexterm zone="sql-createdatabase">
<primary>CREATE DATABASE</primary> <primary>CREATE DATABASE</primary>
</indexterm> </indexterm>
...@@ -45,7 +45,7 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable> ...@@ -45,7 +45,7 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
<para> <para>
To create a database, you must be a superuser or have the special To create a database, you must be a superuser or have the special
<literal>CREATEDB</literal> privilege. <literal>CREATEDB</literal> privilege.
See <xref linkend="SQL-CREATEUSER">. See <xref linkend="sql-createuser">.
</para> </para>
<para> <para>
...@@ -203,11 +203,11 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable> ...@@ -203,11 +203,11 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
</para> </para>
<para> <para>
Use <xref linkend="SQL-DROPDATABASE"> to remove a database. Use <xref linkend="sql-dropdatabase"> to remove a database.
</para> </para>
<para> <para>
The program <xref linkend="APP-CREATEDB"> is a The program <xref linkend="app-createdb"> is a
wrapper program around this command, provided for convenience. wrapper program around this command, provided for convenience.
</para> </para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_domain.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_domain.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEDOMAIN"> <refentry id="sql-createdomain">
<indexterm zone="sql-createdomain"> <indexterm zone="sql-createdomain">
<primary>CREATE DOMAIN</primary> <primary>CREATE DOMAIN</primary>
</indexterm> </indexterm>
...@@ -242,7 +242,7 @@ CREATE TABLE us_snail_addy ( ...@@ -242,7 +242,7 @@ CREATE TABLE us_snail_addy (
</programlisting></para> </programlisting></para>
</refsect1> </refsect1>
<refsect1 id="SQL-CREATEDOMAIN-compatibility"> <refsect1 id="sql-createdomain-compatibility">
<title>Compatibility</title> <title>Compatibility</title>
<para> <para>
...@@ -251,7 +251,7 @@ CREATE TABLE us_snail_addy ( ...@@ -251,7 +251,7 @@ CREATE TABLE us_snail_addy (
</para> </para>
</refsect1> </refsect1>
<refsect1 id="SQL-CREATEDOMAIN-see-also"> <refsect1 id="sql-createdomain-see-also">
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_event_trigger.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_event_trigger.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEEVENTTRIGGER"> <refentry id="sql-createeventtrigger">
<indexterm zone="sql-createeventtrigger"> <indexterm zone="sql-createeventtrigger">
<primary>CREATE EVENT TRIGGER</primary> <primary>CREATE EVENT TRIGGER</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_extension.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_extension.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEEXTENSION"> <refentry id="sql-createextension">
<indexterm zone="sql-createextension"> <indexterm zone="sql-createextension">
<primary>CREATE EXTENSION</primary> <primary>CREATE EXTENSION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_foreign_data_wrapper.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_foreign_data_wrapper.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEFOREIGNDATAWRAPPER"> <refentry id="sql-createforeigndatawrapper">
<indexterm zone="sql-createforeigndatawrapper"> <indexterm zone="sql-createforeigndatawrapper">
<primary>CREATE FOREIGN DATA WRAPPER</primary> <primary>CREATE FOREIGN DATA WRAPPER</primary>
</indexterm> </indexterm>
......
<!-- doc/src/sgml/ref/create_foreign_table.sgml --> <!-- doc/src/sgml/ref/create_foreign_table.sgml -->
<refentry id="SQL-CREATEFOREIGNTABLE"> <refentry id="sql-createforeigntable">
<indexterm zone="sql-createforeigntable"> <indexterm zone="sql-createforeigntable">
<primary>CREATE FOREIGN TABLE</primary> <primary>CREATE FOREIGN TABLE</primary>
</indexterm> </indexterm>
...@@ -51,7 +51,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] ...@@ -51,7 +51,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="SQL-CREATEFOREIGNTABLE-description"> <refsect1 id="sql-createforeigntable-description">
<title>Description</title> <title>Description</title>
<para> <para>
...@@ -252,7 +252,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] ...@@ -252,7 +252,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ]
<para> <para>
The name of an existing foreign server to use for the foreign table. The name of an existing foreign server to use for the foreign table.
For details on defining a server, see <xref For details on defining a server, see <xref
linkend="SQL-CREATESERVER">. linkend="sql-createserver">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -310,7 +310,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] ...@@ -310,7 +310,7 @@ CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ]
</para> </para>
</refsect1> </refsect1>
<refsect1 id="SQL-CREATEFOREIGNTABLE-examples"> <refsect1 id="sql-createforeigntable-examples">
<title>Examples</title> <title>Examples</title>
<para> <para>
...@@ -342,8 +342,8 @@ CREATE FOREIGN TABLE measurement_y2016m07 ...@@ -342,8 +342,8 @@ CREATE FOREIGN TABLE measurement_y2016m07
</refsect1> </refsect1>
<refsect1 id="SQL-CREATEFOREIGNTABLE-compatibility"> <refsect1 id="sql-createforeigntable-compatibility">
<title id="SQL-CREATEFOREIGNTABLE-compatibility-title">Compatibility</title> <title id="sql-createforeigntable-compatibility-title">Compatibility</title>
<para> <para>
The <command>CREATE FOREIGN TABLE</command> command largely conforms to the The <command>CREATE FOREIGN TABLE</command> command largely conforms to the
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
doc/src/sgml/ref/create_function.sgml doc/src/sgml/ref/create_function.sgml
--> -->
<refentry id="SQL-CREATEFUNCTION"> <refentry id="sql-createfunction">
<indexterm zone="sql-createfunction"> <indexterm zone="sql-createfunction">
<primary>CREATE FUNCTION</primary> <primary>CREATE FUNCTION</primary>
</indexterm> </indexterm>
...@@ -543,7 +543,7 @@ CREATE [ OR REPLACE ] FUNCTION ...@@ -543,7 +543,7 @@ CREATE [ OR REPLACE ] FUNCTION
the SQL function. The string <replaceable the SQL function. The string <replaceable
class="parameter">obj_file</replaceable> is the name of the shared class="parameter">obj_file</replaceable> is the name of the shared
library file containing the compiled C function, and is interpreted library file containing the compiled C function, and is interpreted
as for the <xref linkend="SQL-LOAD"> command. The string as for the <xref linkend="sql-load"> command. The string
<replaceable class="parameter">link_symbol</replaceable> is the <replaceable class="parameter">link_symbol</replaceable> is the
function's link symbol, that is, the name of the function in the C function's link symbol, that is, the name of the function in the C
language source code. If the link symbol is omitted, it is assumed language source code. If the link symbol is omitted, it is assumed
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_group.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_group.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEGROUP"> <refentry id="sql-creategroup">
<indexterm zone="sql-creategroup"> <indexterm zone="sql-creategroup">
<primary>CREATE GROUP</primary> <primary>CREATE GROUP</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_index.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_index.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEINDEX"> <refentry id="sql-createindex">
<indexterm zone="sql-createindex"> <indexterm zone="sql-createindex">
<primary>CREATE INDEX</primary> <primary>CREATE INDEX</primary>
</indexterm> </indexterm>
...@@ -120,8 +120,8 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class= ...@@ -120,8 +120,8 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
updates, or deletes on the table; whereas a standard index build updates, or deletes on the table; whereas a standard index build
locks out writes (but not reads) on the table until it's done. locks out writes (but not reads) on the table until it's done.
There are several caveats to be aware of when using this option There are several caveats to be aware of when using this option
&mdash; see <xref linkend="SQL-CREATEINDEX-CONCURRENTLY" &mdash; see <xref linkend="sql-createindex-concurrently"
endterm="SQL-CREATEINDEX-CONCURRENTLY-title">. endterm="sql-createindex-concurrently-title">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -288,8 +288,8 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class= ...@@ -288,8 +288,8 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
</variablelist> </variablelist>
<refsect2 id="SQL-CREATEINDEX-storage-parameters"> <refsect2 id="sql-createindex-storage-parameters">
<title id="SQL-CREATEINDEX-storage-parameters-title">Index Storage Parameters</title> <title id="sql-createindex-storage-parameters-title">Index Storage Parameters</title>
<para> <para>
The optional <literal>WITH</literal> clause specifies <firstterm>storage The optional <literal>WITH</literal> clause specifies <firstterm>storage
...@@ -409,10 +409,10 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class= ...@@ -409,10 +409,10 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
</variablelist> </variablelist>
</refsect2> </refsect2>
<refsect2 id="SQL-CREATEINDEX-CONCURRENTLY"> <refsect2 id="sql-createindex-concurrently">
<title id="SQL-CREATEINDEX-CONCURRENTLY-title">Building Indexes Concurrently</title> <title id="sql-createindex-concurrently-title">Building Indexes Concurrently</title>
<indexterm zone="SQL-CREATEINDEX-CONCURRENTLY"> <indexterm zone="sql-createindex-concurrently">
<primary>index</primary> <primary>index</primary>
<secondary>building concurrently</secondary> <secondary>building concurrently</secondary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_language.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_language.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATELANGUAGE"> <refentry id="sql-createlanguage">
<indexterm zone="sql-createlanguage"> <indexterm zone="sql-createlanguage">
<primary>CREATE LANGUAGE</primary> <primary>CREATE LANGUAGE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_materialized_view.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_materialized_view.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEMATERIALIZEDVIEW"> <refentry id="sql-creatematerializedview">
<indexterm zone="sql-creatematerializedview"> <indexterm zone="sql-creatematerializedview">
<primary>CREATE MATERIALIZED VIEW</primary> <primary>CREATE MATERIALIZED VIEW</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_opclass.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_opclass.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPCLASS"> <refentry id="sql-createopclass">
<indexterm zone="sql-createopclass"> <indexterm zone="sql-createopclass">
<primary>CREATE OPERATOR CLASS</primary> <primary>CREATE OPERATOR CLASS</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_operator.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_operator.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPERATOR"> <refentry id="sql-createoperator">
<indexterm zone="sql-createoperator"> <indexterm zone="sql-createoperator">
<primary>CREATE OPERATOR</primary> <primary>CREATE OPERATOR</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_opfamily.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_opfamily.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPFAMILY"> <refentry id="sql-createopfamily">
<indexterm zone="sql-createopfamily"> <indexterm zone="sql-createopfamily">
<primary>CREATE OPERATOR FAMILY</primary> <primary>CREATE OPERATOR FAMILY</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_policy.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_policy.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEPOLICY"> <refentry id="sql-createpolicy">
<indexterm zone="sql-createpolicy"> <indexterm zone="sql-createpolicy">
<primary>CREATE POLICY</primary> <primary>CREATE POLICY</primary>
</indexterm> </indexterm>
...@@ -222,7 +222,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -222,7 +222,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
<variablelist> <variablelist>
<varlistentry id="SQL-CREATEPOLICY-ALL"> <varlistentry id="sql-createpolicy-all">
<term><literal>ALL</literal></term> <term><literal>ALL</literal></term>
<listitem> <listitem>
<para> <para>
...@@ -253,7 +253,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -253,7 +253,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATEPOLICY-SELECT"> <varlistentry id="sql-createpolicy-select">
<term><literal>SELECT</literal></term> <term><literal>SELECT</literal></term>
<listitem> <listitem>
<para> <para>
...@@ -273,7 +273,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -273,7 +273,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATEPOLICY-INSERT"> <varlistentry id="sql-createpolicy-insert">
<term><literal>INSERT</literal></term> <term><literal>INSERT</literal></term>
<listitem> <listitem>
<para> <para>
...@@ -294,7 +294,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -294,7 +294,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATEPOLICY-UPDATE"> <varlistentry id="sql-createpolicy-update">
<term><literal>UPDATE</literal></term> <term><literal>UPDATE</literal></term>
<listitem> <listitem>
<para> <para>
...@@ -353,7 +353,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable ...@@ -353,7 +353,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATEPOLICY-DELETE"> <varlistentry id="sql-createpolicy-delete">
<term><literal>DELETE</literal></term> <term><literal>DELETE</literal></term>
<listitem> <listitem>
<para> <para>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_publication.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_publication.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEPUBLICATION"> <refentry id="sql-createpublication">
<indexterm zone="sql-createpublication"> <indexterm zone="sql-createpublication">
<primary>CREATE PUBLICATION</primary> <primary>CREATE PUBLICATION</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_role.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_role.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEROLE"> <refentry id="sql-createrole">
<indexterm zone="sql-createrole"> <indexterm zone="sql-createrole">
<primary>CREATE ROLE</primary> <primary>CREATE ROLE</primary>
</indexterm> </indexterm>
...@@ -329,8 +329,8 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac ...@@ -329,8 +329,8 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-ALTERROLE"> to Use <xref linkend="sql-alterrole"> to
change the attributes of a role, and <xref linkend="SQL-DROPROLE"> change the attributes of a role, and <xref linkend="sql-droprole">
to remove a role. All the attributes to remove a role. All the attributes
specified by <command>CREATE ROLE</command> can be modified by later specified by <command>CREATE ROLE</command> can be modified by later
<command>ALTER ROLE</command> commands. <command>ALTER ROLE</command> commands.
...@@ -339,8 +339,8 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac ...@@ -339,8 +339,8 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
<para> <para>
The preferred way to add and remove members of roles that are being The preferred way to add and remove members of roles that are being
used as groups is to use used as groups is to use
<xref linkend="SQL-GRANT"> and <xref linkend="sql-grant"> and
<xref linkend="SQL-REVOKE">. <xref linkend="sql-revoke">.
</para> </para>
<para> <para>
...@@ -358,7 +358,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac ...@@ -358,7 +358,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
a member of a role with <literal>CREATEDB</literal> privilege does not immediately a member of a role with <literal>CREATEDB</literal> privilege does not immediately
grant the ability to create databases, even if <literal>INHERIT</literal> is set; grant the ability to create databases, even if <literal>INHERIT</literal> is set;
it would be necessary to become that role via it would be necessary to become that role via
<xref linkend="SQL-SET-ROLE"> before <xref linkend="sql-set-role"> before
creating a database. creating a database.
</para> </para>
...@@ -385,7 +385,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac ...@@ -385,7 +385,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
<para> <para>
<productname>PostgreSQL</productname> includes a program <xref <productname>PostgreSQL</productname> includes a program <xref
linkend="APP-CREATEUSER"> that has linkend="app-createuser"> that has
the same functionality as <command>CREATE ROLE</command> (in fact, the same functionality as <command>CREATE ROLE</command> (in fact,
it calls this command) but can be run from the command shell. it calls this command) but can be run from the command shell.
</para> </para>
...@@ -402,7 +402,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac ...@@ -402,7 +402,7 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
with this command. The password will be transmitted to the server with this command. The password will be transmitted to the server
in cleartext, and it might also be logged in the client's command in cleartext, and it might also be logged in the client's command
history or the server log. The command <xref history or the server log. The command <xref
linkend="APP-CREATEUSER">, however, transmits linkend="app-createuser">, however, transmits
the password encrypted. Also, <xref linkend="app-psql"> the password encrypted. Also, <xref linkend="app-psql">
contains a command contains a command
<command>\password</command> that can be used to safely change the <command>\password</command> that can be used to safely change the
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_rule.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_rule.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATERULE"> <refentry id="sql-createrule">
<indexterm zone="sql-createrule"> <indexterm zone="sql-createrule">
<primary>CREATE RULE</primary> <primary>CREATE RULE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_schema.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_schema.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESCHEMA"> <refentry id="sql-createschema">
<indexterm zone="sql-createschema"> <indexterm zone="sql-createschema">
<primary>CREATE SCHEMA</primary> <primary>CREATE SCHEMA</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_sequence.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_sequence.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESEQUENCE"> <refentry id="sql-createsequence">
<indexterm zone="sql-createsequence"> <indexterm zone="sql-createsequence">
<primary>CREATE SEQUENCE</primary> <primary>CREATE SEQUENCE</primary>
</indexterm> </indexterm>
......
...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_server.sgml ...@@ -3,7 +3,7 @@ doc/src/sgml/ref/create_server.sgml
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESERVER"> <refentry id="sql-createserver">
<indexterm zone="sql-createserver"> <indexterm zone="sql-createserver">
<primary>CREATE SERVER</primary> <primary>CREATE SERVER</primary>
</indexterm> </indexterm>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment