Remove unnecessary xref endterm attributes and title ids

The endterm attribute is mainly useful when the toolchain does not support
automatic link target text generation for a particular situation.  In  the
past, this was required by the man page tools for all reference page links,
but that is no longer the case, and it now actually gets in the way of
proper automatic link text generation.  The only remaining use cases are
currently xrefs to refsects.
This commit is contained in:
Peter Eisentraut 2010-04-03 07:23:02 +00:00
parent 7969145483
commit 6dcce3985b
203 changed files with 1132 additions and 1195 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.59 2009/06/17 21:58:48 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.60 2010/04/03 07:22:52 petere Exp $ -->
<chapter id="tutorial-advanced"> <chapter id="tutorial-advanced">
<title>Advanced Features</title> <title>Advanced Features</title>
@ -318,7 +318,7 @@ COMMIT;
<sect1 id="tutorial-window"> <sect1 id="tutorial-window">
<title id="tutorial-window-title">Window Functions</title> <title>Window Functions</title>
<indexterm zone="tutorial-window"> <indexterm zone="tutorial-window">
<primary>window function</primary> <primary>window function</primary>
@ -555,7 +555,7 @@ SELECT sum(salary) OVER w, avg(salary) OVER w
More details about window functions can be found in More details about window functions can be found in
<xref linkend="syntax-window-functions">, <xref linkend="syntax-window-functions">,
<xref linkend="queries-window">, and the <xref linkend="queries-window">, and the
<xref linkend="sql-select" endterm="sql-select-title"> reference page. <xref linkend="sql-select"> reference page.
</para> </para>
</sect1> </sect1>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/arch-dev.sgml,v 2.33 2009/10/10 01:43:45 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/arch-dev.sgml,v 2.34 2010/04/03 07:22:52 petere Exp $ -->
<chapter id="overview"> <chapter id="overview">
<title>Overview of PostgreSQL Internals</title> <title>Overview of PostgreSQL Internals</title>
@ -346,8 +346,8 @@
space. In particular, this occurs when executing queries space. In particular, this occurs when executing queries
involving large numbers of join operations. In order to determine involving large numbers of join operations. In order to determine
a reasonable (not necessarily optimal) query plan in a reasonable amount a reasonable (not necessarily optimal) query plan in a reasonable amount
of time, <productname>PostgreSQL</productname> uses a <xref of time, <productname>PostgreSQL</productname> uses a <firstterm>Genetic
linkend="geqo" endterm="geqo-title"> when the number of joins Query Optimizer</firstterm> (see <xref linkend="geqo">) when the number of joins
exceeds a threshold (see <xref linkend="guc-geqo-threshold">). exceeds a threshold (see <xref linkend="guc-geqo-threshold">).
</para> </para>
</note> </note>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/auto-explain.sgml,v 1.7 2010/02/20 22:24:29 adunstan Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/auto-explain.sgml,v 1.8 2010/04/03 07:22:52 petere Exp $ -->
<sect1 id="auto-explain"> <sect1 id="auto-explain">
<title>auto_explain</title> <title>auto_explain</title>
@ -10,7 +10,7 @@
<para> <para>
The <filename>auto_explain</filename> module provides a means for The <filename>auto_explain</filename> module provides a means for
logging execution plans of slow statements automatically, without logging execution plans of slow statements automatically, without
having to run <xref linkend="sql-explain" endterm="sql-explain-title"> having to run <xref linkend="sql-explain">
by hand. This is especially helpful for tracking down un-optimized queries by hand. This is especially helpful for tracking down un-optimized queries
in large applications. in large applications.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.149 2010/04/01 13:52:56 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.150 2010/04/03 07:22:52 petere Exp $ -->
<chapter id="backup"> <chapter id="backup">
<title>Backup and Restore</title> <title>Backup and Restore</title>
@ -166,10 +166,10 @@ pg_dump -h <replaceable>host1</> <replaceable>dbname</> | psql -h <replaceable>h
<para> <para>
After restoring a backup, it is wise to run <xref After restoring a backup, it is wise to run <xref
linkend="sql-analyze" endterm="sql-analyze-title"> on each linkend="sql-analyze"> on each
database so the query optimizer has useful statistics; database so the query optimizer has useful statistics;
see <xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> see <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. and <xref linkend="autovacuum"> for more information.
For more advice on how to load large amounts of data For more advice on how to load large amounts of data
into <productname>PostgreSQL</> efficiently, refer to <xref into <productname>PostgreSQL</> efficiently, refer to <xref
linkend="populate">. linkend="populate">.
@ -1293,14 +1293,14 @@ archive_command = 'local_backup_script.sh'
deleted rows will still retain pointers. In other words, if you modify a deleted rows will still retain pointers. In other words, if you modify a
table with a hash index on it then you will get incorrect query results table with a hash index on it then you will get incorrect query results
on a standby server. When recovery completes it is recommended that you on a standby server. When recovery completes it is recommended that you
manually <xref linkend="sql-reindex" endterm="sql-reindex-title"> manually <xref linkend="sql-reindex">
each such index after completing a recovery operation. each such index after completing a recovery operation.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
If a <xref linkend="sql-createdatabase" endterm="sql-createdatabase-title"> If a <xref linkend="sql-createdatabase">
command is executed while a base backup is being taken, and then command is executed while a base backup is being taken, and then
the template database that the <command>CREATE DATABASE</> copied the template database that the <command>CREATE DATABASE</> copied
is modified while the base backup is still in progress, it is is modified while the base backup is still in progress, it is
@ -1313,7 +1313,7 @@ archive_command = 'local_backup_script.sh'
<listitem> <listitem>
<para> <para>
<xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"> <xref linkend="sql-createtablespace">
commands are WAL-logged with the literal absolute path, and will commands are WAL-logged with the literal absolute path, and will
therefore be replayed as tablespace creations with the same therefore be replayed as tablespace creations with the same
absolute path. This might be undesirable if the log is being absolute path. This might be undesirable if the log is being

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.224 2010/03/25 14:44:33 alvherre Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.225 2010/04/03 07:22:52 petere Exp $ -->
<!-- <!--
Documentation of the system catalogs, directed toward PostgreSQL developers Documentation of the system catalogs, directed toward PostgreSQL developers
--> -->
@ -354,7 +354,7 @@
<para> <para>
New aggregate functions are registered with the <xref New aggregate functions are registered with the <xref
linkend="sql-createaggregate" endterm="sql-createaggregate-title"> linkend="sql-createaggregate">
command. See <xref linkend="xaggr"> for more information about command. See <xref linkend="xaggr"> for more information about
writing aggregate functions and the meaning of the transition writing aggregate functions and the meaning of the transition
functions, etc. functions, etc.
@ -886,7 +886,7 @@
<entry> <entry>
<structfield>attstattarget</structfield> controls the level of detail <structfield>attstattarget</structfield> controls the level of detail
of statistics accumulated for this column by of statistics accumulated for this column by
<xref linkend="sql-analyze" endterm="sql-analyze-title">. <xref linkend="sql-analyze">.
A zero value indicates that no statistics should be collected. A zero value indicates that no statistics should be collected.
A negative value says to use the system default statistics target. A negative value says to use the system default statistics target.
The exact meaning of positive values is data type-dependent. The exact meaning of positive values is data type-dependent.
@ -1274,7 +1274,7 @@
<para> <para>
The catalog <structname>pg_cast</structname> stores data type conversion The catalog <structname>pg_cast</structname> stores data type conversion
paths, both built-in paths and those defined with paths, both built-in paths and those defined with
<xref linkend="sql-createcast" endterm="sql-createcast-title">. <xref linkend="sql-createcast">.
</para> </para>
<para> <para>
@ -1662,8 +1662,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -1962,7 +1962,7 @@
<para> <para>
The catalog <structname>pg_conversion</structname> describes the The catalog <structname>pg_conversion</structname> describes the
available encoding conversion procedures. See available encoding conversion procedures. See
<xref linkend="sql-createconversion" endterm="sql-createconversion-title"> <xref linkend="sql-createconversion">
for more information. for more information.
</para> </para>
@ -2047,7 +2047,7 @@
<para> <para>
The catalog <structname>pg_database</structname> stores information about The catalog <structname>pg_database</structname> stores information about
the available databases. Databases are created with the <xref the available databases. Databases are created with the <xref
linkend="sql-createdatabase" endterm="sql-createdatabase-title"> command. linkend="sql-createdatabase"> command.
Consult <xref linkend="managing-databases"> for details about the meaning Consult <xref linkend="managing-databases"> for details about the meaning
of some of the parameters. of some of the parameters.
</para> </para>
@ -2185,8 +2185,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -2467,7 +2467,7 @@
<para> <para>
The catalog <structname>pg_description</> stores optional descriptions The catalog <structname>pg_description</> stores optional descriptions
(comments) for each database object. Descriptions can be manipulated (comments) for each database object. Descriptions can be manipulated
with the <xref linkend="sql-comment" endterm="sql-comment-title"> command and viewed with with the <xref linkend="sql-comment"> command and viewed with
<application>psql</application>'s <literal>\d</literal> commands. <application>psql</application>'s <literal>\d</literal> commands.
Descriptions of many built-in system objects are provided in the initial Descriptions of many built-in system objects are provided in the initial
contents of <structname>pg_description</structname>. contents of <structname>pg_description</structname>.
@ -2643,8 +2643,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -2732,8 +2732,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -3000,7 +3000,7 @@
<para> <para>
The catalog <structname>pg_language</structname> registers The catalog <structname>pg_language</structname> registers
languages in which you can write functions or stored procedures. languages in which you can write functions or stored procedures.
See <xref linkend="sql-createlanguage" endterm="sql-createlanguage-title"> See <xref linkend="sql-createlanguage">
and <xref linkend="xplang"> for more information about language handlers. and <xref linkend="xplang"> for more information about language handlers.
</para> </para>
@ -3076,7 +3076,7 @@
<entry> <entry>
This references a function that is responsible for executing This references a function that is responsible for executing
<quote>inline</> anonymous code blocks <quote>inline</> anonymous code blocks
(<xref linkend="sql-do" endterm="sql-do-title"> blocks). (<xref linkend="sql-do"> blocks).
Zero if inline blocks are not supported Zero if inline blocks are not supported
</entry> </entry>
</row> </row>
@ -3098,8 +3098,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -3231,8 +3231,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -3290,8 +3290,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -3418,7 +3418,7 @@
<para> <para>
The catalog <structname>pg_operator</> stores information about operators. The catalog <structname>pg_operator</> stores information about operators.
See <xref linkend="sql-createoperator" endterm="sql-createoperator-title"> See <xref linkend="sql-createoperator">
and <xref linkend="xoper"> for more information. and <xref linkend="xoper"> for more information.
</para> </para>
@ -3745,7 +3745,7 @@
<para> <para>
The catalog <structname>pg_proc</> stores information about functions (or procedures). The catalog <structname>pg_proc</> stores information about functions (or procedures).
See <xref linkend="sql-createfunction" endterm="sql-createfunction-title"> See <xref linkend="sql-createfunction">
and <xref linkend="xfunc"> for more information. and <xref linkend="xfunc"> for more information.
</para> </para>
@ -4011,8 +4011,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -4368,8 +4368,7 @@
<para> <para>
The catalog <structname>pg_shdescription</structname> stores optional The catalog <structname>pg_shdescription</structname> stores optional
descriptions (comments) for shared database objects. Descriptions can be descriptions (comments) for shared database objects. Descriptions can be
manipulated with the <xref linkend="sql-comment" manipulated with the <xref linkend="sql-comment"> command and viewed with
endterm="sql-comment-title"> command and viewed with
<application>psql</application>'s <literal>\d</literal> commands. <application>psql</application>'s <literal>\d</literal> commands.
</para> </para>
@ -4437,7 +4436,7 @@
<para> <para>
The catalog <structname>pg_statistic</structname> stores The catalog <structname>pg_statistic</structname> stores
statistical data about the contents of the database. Entries are statistical data about the contents of the database. Entries are
created by <xref linkend="sql-analyze" endterm="sql-analyze-title"> created by <xref linkend="sql-analyze">
and subsequently used by the query planner. Note that all the and subsequently used by the query planner. Note that all the
statistical data is inherently approximate, even assuming that it statistical data is inherently approximate, even assuming that it
is up-to-date. is up-to-date.
@ -4668,8 +4667,8 @@
<entry></entry> <entry></entry>
<entry> <entry>
Access privileges; see Access privileges; see
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title"> <xref linkend="sql-revoke">
for details for details
</entry> </entry>
</row> </row>
@ -4697,7 +4696,7 @@
<para> <para>
The catalog <structname>pg_trigger</structname> stores triggers on tables. The catalog <structname>pg_trigger</structname> stores triggers on tables.
See <xref linkend="sql-createtrigger" endterm="sql-createtrigger-title"> See <xref linkend="sql-createtrigger">
for more information. for more information.
</para> </para>
@ -5250,9 +5249,9 @@
<para> <para>
The catalog <structname>pg_type</structname> stores information about data The catalog <structname>pg_type</structname> stores information about data
types. Base types and enum types (scalar types) are created with types. Base types and enum types (scalar types) are created with
<xref linkend="sql-createtype" endterm="sql-createtype-title">, and <xref linkend="sql-createtype">, and
domains with domains with
<xref linkend="sql-createdomain" endterm="sql-createdomain-title">. <xref linkend="sql-createdomain">.
A composite type is automatically created for each table in the database, to A composite type is automatically created for each table in the database, to
represent the row structure of the table. It is also possible to create represent the row structure of the table. It is also possible to create
composite types with <command>CREATE TYPE AS</command>. composite types with <command>CREATE TYPE AS</command>.
@ -5917,7 +5916,7 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
via the <xref linkend="sql-declare" endterm="sql-declare-title"> via the <xref linkend="sql-declare">
statement in SQL statement in SQL
</para> </para>
</listitem> </listitem>
@ -6414,8 +6413,7 @@
<para> <para>
The <structname>pg_prepared_statements</structname> view displays The <structname>pg_prepared_statements</structname> view displays
all the prepared statements that are available in the current all the prepared statements that are available in the current
session. See <xref linkend="sql-prepare" session. See <xref linkend="sql-prepare"> for more information about prepared
endterm="sql-prepare-title"> for more information about prepared
statements. statements.
</para> </para>
@ -6423,8 +6421,7 @@
<structname>pg_prepared_statements</structname> contains one row <structname>pg_prepared_statements</structname> contains one row
for each prepared statement. Rows are added to the view when a new for each prepared statement. Rows are added to the view when a new
prepared statement is created and removed when a prepared statement prepared statement is created and removed when a prepared statement
is released (for example, via the <xref linkend="sql-deallocate" is released (for example, via the <xref linkend="sql-deallocate"> command).
endterm="sql-deallocate-title"> command).
</para> </para>
<table> <table>
@ -6504,8 +6501,7 @@
<para> <para>
The view <structname>pg_prepared_xacts</structname> displays The view <structname>pg_prepared_xacts</structname> displays
information about transactions that are currently prepared for two-phase information about transactions that are currently prepared for two-phase
commit (see <xref linkend="sql-prepare-transaction" commit (see <xref linkend="sql-prepare-transaction"> for details).
endterm="sql-prepare-transaction-title"> for details).
</para> </para>
<para> <para>
@ -6780,8 +6776,8 @@
<para> <para>
The view <structname>pg_settings</structname> provides access to The view <structname>pg_settings</structname> provides access to
run-time parameters of the server. It is essentially an alternative run-time parameters of the server. It is essentially an alternative
interface to the <xref linkend="sql-show" endterm="sql-show-title"> interface to the <xref linkend="sql-show">
and <xref linkend="sql-set" endterm="sql-set-title"> commands. and <xref linkend="sql-set"> commands.
It also provides access to some facts about each parameter that are It also provides access to some facts about each parameter that are
not directly available from <command>SHOW</>, such as minimum and not directly available from <command>SHOW</>, such as minimum and
maximum values. maximum values.
@ -6900,7 +6896,7 @@
The <structname>pg_settings</structname> view cannot be inserted into or The <structname>pg_settings</structname> view cannot be inserted into or
deleted from, but it can be updated. An <command>UPDATE</command> applied deleted from, but it can be updated. An <command>UPDATE</command> applied
to a row of <structname>pg_settings</structname> is equivalent to executing to a row of <structname>pg_settings</structname> is equivalent to executing
the <xref linkend="sql-set" endterm="sql-set-title"> command on that named the <xref linkend="sql-set"> command on that named
parameter. The change only affects the value used by the current parameter. The change only affects the value used by the current
session. If an <command>UPDATE</command> is issued within a transaction session. If an <command>UPDATE</command> is issued within a transaction
that is later aborted, the effects of the <command>UPDATE</command> command that is later aborted, the effects of the <command>UPDATE</command> command

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.135 2010/03/31 20:18:10 heikki Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.136 2010/04/03 07:22:53 petere Exp $ -->
<chapter id="client-authentication"> <chapter id="client-authentication">
<title>Client Authentication</title> <title>Client Authentication</title>
@ -785,8 +785,8 @@ omicron bryanh guest1
separate from operating system user passwords. The password for separate from operating system user passwords. The password for
each database user is stored in the <literal>pg_authid</> system each database user is stored in the <literal>pg_authid</> system
catalog. Passwords can be managed with the SQL commands catalog. Passwords can be managed with the SQL commands
<xref linkend="sql-createuser" endterm="sql-createuser-title"> and <xref linkend="sql-createuser"> and
<xref linkend="sql-alteruser" endterm="sql-alteruser-title">, <xref linkend="sql-alteruser">,
e.g., <userinput>CREATE USER foo WITH PASSWORD 'secret'</userinput>. e.g., <userinput>CREATE USER foo WITH PASSWORD 'secret'</userinput>.
If no password has been set up for a user, the stored password If no password has been set up for a user, the stored password
is null and password authentication will always fail for that user. is null and password authentication will always fail for that user.

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.261 2010/03/17 18:03:55 mha Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.262 2010/04/03 07:22:53 petere Exp $ -->
<chapter Id="runtime-config"> <chapter Id="runtime-config">
<title>Server Configuration</title> <title>Server Configuration</title>
@ -135,8 +135,8 @@ env PGOPTIONS='-c geqo=off' psql
Furthermore, it is possible to assign a set of parameter settings to Furthermore, it is possible to assign a set of parameter settings to
a user or a database. Whenever a session is started, the default a user or a database. Whenever a session is started, the default
settings for the user and database involved are loaded. The settings for the user and database involved are loaded. The
commands <xref linkend="sql-alteruser" endterm="sql-alteruser-title"> commands <xref linkend="sql-alteruser">
and <xref linkend="sql-alterdatabase" endterm="sql-alterdatabase-title">, and <xref linkend="sql-alterdatabase">,
respectively, are used to configure these settings. Per-database respectively, are used to configure these settings. Per-database
settings override anything received from the settings override anything received from the
<command>postgres</command> command-line or the configuration <command>postgres</command> command-line or the configuration
@ -146,7 +146,7 @@ env PGOPTIONS='-c geqo=off' psql
<para> <para>
Some parameters can be changed in individual <acronym>SQL</acronym> Some parameters can be changed in individual <acronym>SQL</acronym>
sessions with the <xref linkend="SQL-SET" endterm="SQL-SET-title"> sessions with the <xref linkend="SQL-SET">
command, for example: command, for example:
<screen> <screen>
SET ENABLE_SEQSCAN TO OFF; SET ENABLE_SEQSCAN TO OFF;
@ -161,7 +161,7 @@ SET ENABLE_SEQSCAN TO OFF;
</para> </para>
<para> <para>
The <xref linkend="SQL-SHOW" endterm="SQL-SHOW-title"> The <xref linkend="SQL-SHOW">
command allows inspection of the current values of all parameters. command allows inspection of the current values of all parameters.
</para> </para>
@ -654,8 +654,8 @@ SET ENABLE_SEQSCAN TO OFF;
<listitem> <listitem>
<para> <para>
When a password is specified in <xref When a password is specified in <xref
linkend="sql-createuser" endterm="sql-createuser-title"> or linkend="sql-createuser"> or
<xref linkend="sql-alteruser" endterm="sql-alteruser-title"> <xref linkend="sql-alteruser">
without writing either <literal>ENCRYPTED</> or without writing either <literal>ENCRYPTED</> or
<literal>UNENCRYPTED</>, this parameter determines whether the <literal>UNENCRYPTED</>, this parameter determines whether the
password is to be encrypted. The default is <literal>on</> password is to be encrypted. The default is <literal>on</>
@ -836,8 +836,7 @@ SET ENABLE_SEQSCAN TO OFF;
<para> <para>
Sets the maximum number of transactions that can be in the Sets the maximum number of transactions that can be in the
<quote>prepared</> state simultaneously (see <xref <quote>prepared</> state simultaneously (see <xref
linkend="sql-prepare-transaction" linkend="sql-prepare-transaction">).
endterm="sql-prepare-transaction-title">).
Setting this parameter to zero (which is the default) Setting this parameter to zero (which is the default)
disables the prepared-transaction feature. disables the prepared-transaction feature.
This parameter can only be set at server start. This parameter can only be set at server start.
@ -1039,14 +1038,12 @@ SET ENABLE_SEQSCAN TO OFF;
</sect2> </sect2>
<sect2 id="runtime-config-resource-vacuum-cost"> <sect2 id="runtime-config-resource-vacuum-cost">
<title id="runtime-config-resource-vacuum-cost-title"> <title>Cost-Based Vacuum Delay</title>
Cost-Based Vacuum Delay
</title>
<para> <para>
During the execution of <xref linkend="sql-vacuum" During the execution of <xref linkend="sql-vacuum">
endterm="sql-vacuum-title"> and <xref linkend="sql-analyze" and <xref linkend="sql-analyze">
endterm="sql-analyze-title"> commands, the system maintains an commands, the system maintains an
internal counter that keeps track of the estimated cost of the internal counter that keeps track of the estimated cost of the
various I/O operations that are performed. When the accumulated various I/O operations that are performed. When the accumulated
cost reaches a limit (specified by cost reaches a limit (specified by
@ -1908,10 +1905,9 @@ archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
of these configuration parameters to force the optimizer to of these configuration parameters to force the optimizer to
choose a different plan. choose a different plan.
Better ways to improve the quality of the Better ways to improve the quality of the
plans chosen by the optimizer include adjusting the <xref plans chosen by the optimizer include adjusting the planer cost
linkend="runtime-config-query-constants" constants (see <xref linkend="runtime-config-query-constants">),
endterm="runtime-config-query-constants-title">, running <xref running <xref linkend="sql-analyze"> manually, increasing
linkend="sql-analyze" endterm="sql-analyze-title"> manually, increasing
the value of the <xref the value of the <xref
linkend="guc-default-statistics-target"> configuration parameter, linkend="guc-default-statistics-target"> configuration parameter,
and increasing the amount of statistics collected for and increasing the amount of statistics collected for
@ -2058,9 +2054,7 @@ archive_command = 'copy "%p" "C:\\server\\archivedir\\%f"' # Windows
</variablelist> </variablelist>
</sect2> </sect2>
<sect2 id="runtime-config-query-constants"> <sect2 id="runtime-config-query-constants">
<title id="runtime-config-query-constants-title"> <title>Planner Cost Constants</title>
Planner Cost Constants
</title>
<para> <para>
The <firstterm>cost</> variables described in this section are measured The <firstterm>cost</> variables described in this section are measured
@ -4182,8 +4176,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<para> <para>
This parameter is normally on. When set to <literal>off</>, it This parameter is normally on. When set to <literal>off</>, it
disables validation of the function body string during <xref disables validation of the function body string during <xref
linkend="sql-createfunction" linkend="sql-createfunction">. Disabling validation is
endterm="sql-createfunction-title">. Disabling validation is
occasionally useful to avoid problems such as forward references occasionally useful to avoid problems such as forward references
when restoring function definitions from a dump. when restoring function definitions from a dump.
</para> </para>
@ -4210,8 +4203,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
<para> <para>
Consult <xref linkend="mvcc"> and <xref Consult <xref linkend="mvcc"> and <xref
linkend="sql-set-transaction" linkend="sql-set-transaction"> for more information.
endterm="sql-set-transaction-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -4233,8 +4225,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</para> </para>
<para> <para>
Consult <xref linkend="sql-set-transaction" Consult <xref linkend="sql-set-transaction"> for more information.
endterm="sql-set-transaction-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -4251,7 +4242,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
superuser privilege and results in discarding any previously cached superuser privilege and results in discarding any previously cached
query plans. Possible values are <literal>origin</> (the default), query plans. Possible values are <literal>origin</> (the default),
<literal>replica</> and <literal>local</>. <literal>replica</> and <literal>local</>.
See <xref linkend="sql-altertable" endterm="sql-altertable-title"> for See <xref linkend="sql-altertable"> for
more information. more information.
</para> </para>
</listitem> </listitem>

View File

@ -1,7 +1,7 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.247 2010/03/29 22:01:08 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.248 2010/04/03 07:22:53 petere Exp $ -->
<chapter id="datatype"> <chapter id="datatype">
<title id="datatype-title">Data Types</title> <title>Data Types</title>
<indexterm zone="datatype"> <indexterm zone="datatype">
<primary>data type</primary> <primary>data type</primary>
@ -16,7 +16,7 @@
<productname>PostgreSQL</productname> has a rich set of native data <productname>PostgreSQL</productname> has a rich set of native data
types available to users. Users can add new types to types available to users. Users can add new types to
<productname>PostgreSQL</productname> using the <xref <productname>PostgreSQL</productname> using the <xref
linkend="sql-createtype" endterm="sql-createtype-title"> command. linkend="sql-createtype"> command.
</para> </para>
<para> <para>
@ -2843,7 +2843,7 @@ SELECT * FROM test1 WHERE a;
<para> <para>
Enum types are created using the <xref Enum types are created using the <xref
linkend="sql-createtype" endterm="sql-createtype-title"> command, linkend="sql-createtype"> command,
for example: for example:
<programlisting> <programlisting>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/dblink.sgml,v 1.10 2010/01/06 19:07:05 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/dblink.sgml,v 1.11 2010/04/03 07:22:53 petere Exp $ -->
<sect1 id="dblink"> <sect1 id="dblink">
<title>dblink</title> <title>dblink</title>
@ -51,9 +51,9 @@
the corresponding foreign-data wrapper. See the example below, as the corresponding foreign-data wrapper. See the example below, as
well as the following: well as the following:
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createforeigndatawrapper" endterm="sql-createforeigndatawrapper-title"></member> <member><xref linkend="sql-createforeigndatawrapper"></member>
<member><xref linkend="sql-createserver" endterm="sql-createserver-title"></member> <member><xref linkend="sql-createserver"></member>
<member><xref linkend="sql-createusermapping" endterm="sql-createusermapping-title"></member> <member><xref linkend="sql-createusermapping"></member>
</simplelist> </simplelist>
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.91 2010/04/01 01:18:17 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.92 2010/04/03 07:22:53 petere Exp $ -->
<chapter id="ddl"> <chapter id="ddl">
<title>Data Definition</title> <title>Data Definition</title>
@ -78,7 +78,7 @@
<para> <para>
To create a table, you use the aptly named <xref To create a table, you use the aptly named <xref
linkend="sql-createtable" endterm="sql-createtable-title"> command. linkend="sql-createtable"> command.
In this command you specify at least a name for the new table, the In this command you specify at least a name for the new table, the
names of the columns and the data type of each column. For names of the columns and the data type of each column. For
example: example:
@ -138,7 +138,7 @@ CREATE TABLE products (
<para> <para>
If you no longer need a table, you can remove it using the <xref If you no longer need a table, you can remove it using the <xref
linkend="sql-droptable" endterm="sql-droptable-title"> command. linkend="sql-droptable"> command.
For example: For example:
<programlisting> <programlisting>
DROP TABLE my_first_table; DROP TABLE my_first_table;
@ -842,7 +842,7 @@ CREATE TABLE order_items (
If the foreign key references a unique constraint, there are some If the foreign key references a unique constraint, there are some
additional possibilities regarding how null values are matched. additional possibilities regarding how null values are matched.
These are explained in the reference documentation for These are explained in the reference documentation for
<xref linkend="sql-createtable" endterm="sql-createtable-title">. <xref linkend="sql-createtable">.
</para> </para>
</sect2> </sect2>
@ -1126,7 +1126,7 @@ CREATE TABLE circles (
</itemizedlist> </itemizedlist>
All these actions are performed using the All these actions are performed using the
<xref linkend="sql-altertable" endterm="sql-altertable-title"> <xref linkend="sql-altertable">
command, whose reference page contains details beyond those given command, whose reference page contains details beyond those given
here. here.
</para> </para>
@ -1393,7 +1393,7 @@ ALTER TABLE products RENAME TO items;
object vary depending on the object's type (table, function, etc). object vary depending on the object's type (table, function, etc).
For complete information on the different types of privileges For complete information on the different types of privileges
supported by <productname>PostgreSQL</productname>, refer to the supported by <productname>PostgreSQL</productname>, refer to the
<xref linkend="sql-grant" endterm="sql-grant-title"> reference <xref linkend="sql-grant"> reference
page. The following sections and chapters will also show you how page. The following sections and chapters will also show you how
those privileges are used. those privileges are used.
</para> </para>
@ -1406,7 +1406,7 @@ ALTER TABLE products RENAME TO items;
<note> <note>
<para> <para>
To change the owner of a table, index, sequence, or view, use the To change the owner of a table, index, sequence, or view, use the
<xref linkend="sql-altertable" endterm="sql-altertable-title"> <xref linkend="sql-altertable">
command. There are corresponding <literal>ALTER</> commands for command. There are corresponding <literal>ALTER</> commands for
other object types. other object types.
</para> </para>
@ -1453,9 +1453,8 @@ REVOKE ALL ON accounts FROM PUBLIC;
the right to grant it in turn to others. If the grant option is the right to grant it in turn to others. If the grant option is
subsequently revoked then all who received the privilege from that subsequently revoked then all who received the privilege from that
recipient (directly or through a chain of grants) will lose the recipient (directly or through a chain of grants) will lose the
privilege. For details see the <xref linkend="sql-grant" privilege. For details see the <xref linkend="sql-grant"> and
endterm="sql-grant-title"> and <xref linkend="sql-revoke" <xref linkend="sql-revoke"> reference pages.
endterm="sql-revoke-title"> reference pages.
</para> </para>
</sect1> </sect1>
@ -1536,8 +1535,8 @@ REVOKE ALL ON accounts FROM PUBLIC;
</indexterm> </indexterm>
<para> <para>
To create a schema, use the <xref linkend="sql-createschema" To create a schema, use the <xref linkend="sql-createschema">
endterm="sql-createschema-title"> command. Give the schema a name command. Give the schema a name
of your choice. For example: of your choice. For example:
<programlisting> <programlisting>
CREATE SCHEMA myschema; CREATE SCHEMA myschema;
@ -2109,11 +2108,11 @@ VALUES ('New York', NULL, NULL, 'NY');
<para> <para>
Table inheritance is typically established when the child table is Table inheritance is typically established when the child table is
created, using the <literal>INHERITS</> clause of the created, using the <literal>INHERITS</> clause of the
<xref linkend="sql-createtable" endterm="sql-createtable-title"> <xref linkend="sql-createtable">
statement. statement.
Alternatively, a table which is already defined in a compatible way can Alternatively, a table which is already defined in a compatible way can
have a new parent relationship added, using the <literal>INHERIT</literal> have a new parent relationship added, using the <literal>INHERIT</literal>
variant of <xref linkend="sql-altertable" endterm="sql-altertable-title">. variant of <xref linkend="sql-altertable">.
To do this the new child table must already include columns with To do this the new child table must already include columns with
the same names and types as the columns of the parent. It must also include the same names and types as the columns of the parent. It must also include
check constraints with the same names and check expressions as those of the check constraints with the same names and check expressions as those of the
@ -2145,7 +2144,7 @@ VALUES ('New York', NULL, NULL, 'NY');
</para> </para>
<para> <para>
<xref linkend="sql-altertable" endterm="sql-altertable-title"> will <xref linkend="sql-altertable"> will
propagate any changes in column data definitions and check propagate any changes in column data definitions and check
constraints down the inheritance hierarchy. Again, dropping constraints down the inheritance hierarchy. Again, dropping
columns that are depended on by other tables is only possible when using columns that are depended on by other tables is only possible when using

View File

@ -1,7 +1,7 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/dfunc.sgml,v 1.35 2007/02/01 00:28:16 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/dfunc.sgml,v 1.36 2010/04/03 07:22:53 petere Exp $ -->
<sect2 id="dfunc"> <sect2 id="dfunc">
<title id="dfunc-title">Compiling and Linking Dynamically-Loaded Functions</title> <title>Compiling and Linking Dynamically-Loaded Functions</title>
<para> <para>
Before you are able to use your Before you are able to use your

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/dml.sgml,v 1.21 2009/09/11 12:53:24 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/dml.sgml,v 1.22 2010/04/03 07:22:53 petere Exp $ -->
<chapter id="dml"> <chapter id="dml">
<title>Data Manipulation</title> <title>Data Manipulation</title>
@ -37,8 +37,8 @@
</para> </para>
<para> <para>
To create a new row, use the <xref linkend="sql-insert" To create a new row, use the <xref linkend="sql-insert">
endterm="sql-insert-title"> command. The command requires the command. The command requires the
table name and column values. For table name and column values. For
example, consider the products table from <xref linkend="ddl">: example, consider the products table from <xref linkend="ddl">:
<programlisting> <programlisting>
@ -105,9 +105,9 @@ INSERT INTO products (product_no, name, price) VALUES
<tip> <tip>
<para> <para>
When inserting a lot of data at the same time, considering using When inserting a lot of data at the same time, considering using
the <xref linkend="sql-copy" endterm="sql-copy-title"> command. the <xref linkend="sql-copy"> command.
It is not as flexible as the <xref linkend="sql-insert" It is not as flexible as the <xref linkend="sql-insert">
endterm="sql-insert-title"> command, but is more efficient. Refer command, but is more efficient. Refer
to <xref linkend="populate"> for more information on improving to <xref linkend="populate"> for more information on improving
bulk loading performance. bulk loading performance.
</para> </para>
@ -133,8 +133,8 @@ INSERT INTO products (product_no, name, price) VALUES
</para> </para>
<para> <para>
To update existing rows, use the <xref linkend="sql-update" To update existing rows, use the <xref linkend="sql-update">
endterm="sql-update-title"> command. This requires command. This requires
three pieces of information: three pieces of information:
<orderedlist spacing="compact"> <orderedlist spacing="compact">
<listitem> <listitem>
@ -235,7 +235,7 @@ UPDATE mytable SET a = 5, b = 3, c = 1 WHERE a &gt; 0;
</para> </para>
<para> <para>
You use the <xref linkend="sql-delete" endterm="sql-delete-title"> You use the <xref linkend="sql-delete">
command to remove rows; the syntax is very similar to the command to remove rows; the syntax is very similar to the
<command>UPDATE</command> command. For instance, to remove all <command>UPDATE</command> command. For instance, to remove all
rows from the products table that have a price of 10, use: rows from the products table that have a price of 10, use:

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/extend.sgml,v 1.37 2008/07/16 01:30:21 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/extend.sgml,v 1.38 2010/04/03 07:22:53 petere Exp $ -->
<chapter id="extend"> <chapter id="extend">
<title>Extending <acronym>SQL</acronym></title> <title>Extending <acronym>SQL</acronym></title>
@ -130,7 +130,7 @@
<para> <para>
Composite types, or row types, are created whenever the user Composite types, or row types, are created whenever the user
creates a table. It is also possible to use <xref creates a table. It is also possible to use <xref
linkend="sql-createtype" endterm="sql-createtype-title"> to linkend="sql-createtype"> to
define a <quote>stand-alone</> composite type with no associated define a <quote>stand-alone</> composite type with no associated
table. A composite type is simply a list of types with table. A composite type is simply a list of types with
associated field names. A value of a composite type is a row or associated field names. A value of a composite type is a row or
@ -152,7 +152,7 @@
<para> <para>
Domains can be created using the <acronym>SQL</> command Domains can be created using the <acronym>SQL</> command
<xref linkend="sql-createdomain" endterm="sql-createdomain-title">. <xref linkend="sql-createdomain">.
Their creation and use is not discussed in this chapter. Their creation and use is not discussed in this chapter.
</para> </para>
</sect2> </sect2>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.510 2010/03/18 15:29:44 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.511 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="functions"> <chapter id="functions">
<title>Functions and Operators</title> <title>Functions and Operators</title>
@ -8877,7 +8877,7 @@ table2-mapping
functions for operating on <firstterm>sequence objects</firstterm>. functions for operating on <firstterm>sequence objects</firstterm>.
Sequence objects (also called sequence generators or just Sequence objects (also called sequence generators or just
sequences) are special single-row tables created with <xref sequences) are special single-row tables created with <xref
linkend="sql-createsequence" endterm="sql-createsequence-title">. linkend="sql-createsequence">.
A sequence object is usually used to generate unique identifiers A sequence object is usually used to generate unique identifiers
for rows of a table. The sequence functions, listed in <xref for rows of a table. The sequence functions, listed in <xref
linkend="functions-sequence-table">, provide simple, multiuser-safe linkend="functions-sequence-table">, provide simple, multiuser-safe
@ -9070,7 +9070,7 @@ SELECT setval('foo', 42, false); <lineannotation>Next <function>nextval</> wi
If a sequence object has been created with default parameters, If a sequence object has been created with default parameters,
successive <function>nextval</function> calls will return successive values successive <function>nextval</function> calls will return successive values
beginning with 1. Other behaviors can be obtained by using beginning with 1. Other behaviors can be obtained by using
special parameters in the <xref linkend="sql-createsequence" endterm="sql-createsequence-title"> command; special parameters in the <xref linkend="sql-createsequence"> command;
see its command reference page for more information. see its command reference page for more information.
</para> </para>
@ -11657,11 +11657,11 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]);
<para> <para>
The <function>session_user</function> is normally the user who initiated The <function>session_user</function> is normally the user who initiated
the current database connection; but superusers can change this setting the current database connection; but superusers can change this setting
with <xref linkend="sql-set-session-authorization" endterm="sql-set-session-authorization-title">. with <xref linkend="sql-set-session-authorization">.
The <function>current_user</function> is the user identifier The <function>current_user</function> is the user identifier
that is applicable for permission checking. Normally it is equal that is applicable for permission checking. Normally it is equal
to the session user, but it can be changed with to the session user, but it can be changed with
<xref linkend="sql-set-role" endterm="sql-set-role-title">. <xref linkend="sql-set-role">.
It also changes during the execution of It also changes during the execution of
functions with the attribute <literal>SECURITY DEFINER</literal>. functions with the attribute <literal>SECURITY DEFINER</literal>.
In Unix parlance, the session user is the <quote>real user</quote> and In Unix parlance, the session user is the <quote>real user</quote> and
@ -11695,7 +11695,7 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
<para> <para>
<function>pg_listening_channels</function> returns a set of names of <function>pg_listening_channels</function> returns a set of names of
channels that the current session is listening to. See <xref channels that the current session is listening to. See <xref
linkend="sql-listen" endterm="sql-listen-title"> for more information. linkend="sql-listen"> for more information.
</para> </para>
<indexterm> <indexterm>
@ -12653,8 +12653,8 @@ SELECT typlen FROM pg_type WHERE oid = pg_typeof(33);
<para> <para>
The functions shown in <xref linkend="functions-info-comment-table"> The functions shown in <xref linkend="functions-info-comment-table">
extract comments previously stored with the <xref linkend="sql-comment" extract comments previously stored with the <xref linkend="sql-comment">
endterm="sql-comment-title"> command. A null value is returned if no command. A null value is returned if no
comment could be found for the specified parameters. comment could be found for the specified parameters.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/geqo.sgml,v 1.42 2009/08/10 22:41:38 alvherre Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/geqo.sgml,v 1.43 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="geqo"> <chapter id="geqo">
<chapterinfo> <chapterinfo>
@ -25,7 +25,7 @@
<date>1997-10-02</date> <date>1997-10-02</date>
</chapterinfo> </chapterinfo>
<title id="geqo-title">Genetic Query Optimizer</title> <title>Genetic Query Optimizer</title>
<para> <para>
<note> <note>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/gin.sgml,v 2.19 2009/04/09 19:07:44 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/gin.sgml,v 2.20 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="GIN"> <chapter id="GIN">
<title>GIN Indexes</title> <title>GIN Indexes</title>
@ -241,8 +241,8 @@
If consistent response time is more important than update speed, If consistent response time is more important than update speed,
use of pending entries can be disabled by turning off the use of pending entries can be disabled by turning off the
<literal>FASTUPDATE</literal> storage parameter for a <literal>FASTUPDATE</literal> storage parameter for a
<acronym>GIN</acronym> index. See <xref linkend="sql-createindex" <acronym>GIN</acronym> index. See <xref linkend="sql-createindex">
endterm="sql-createindex-title"> for details. for details.
</para> </para>
</sect2> </sect2>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.57 2010/03/31 20:41:50 heikki Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.58 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="high-availability"> <chapter id="high-availability">
<title>High Availability, Load Balancing, and Replication</title> <title>High Availability, Load Balancing, and Replication</title>
@ -201,9 +201,8 @@ protocol to make nodes agree on a serializable transactional order.
must query such values from a single server and then use those must query such values from a single server and then use those
values in write queries. Also, care must be taken that all values in write queries. Also, care must be taken that all
transactions either commit or abort on all servers, perhaps transactions either commit or abort on all servers, perhaps
using two-phase commit (<xref linkend="sql-prepare-transaction" using two-phase commit (<xref linkend="sql-prepare-transaction">
endterm="sql-prepare-transaction-title"> and <xref and <xref linkend="sql-commit-prepared">.
linkend="sql-commit-prepared" endterm="sql-commit-prepared-title">.
<productname>Pgpool-II</> and <productname>Sequoia</> are examples of <productname>Pgpool-II</> and <productname>Sequoia</> are examples of
this type of replication. this type of replication.
</para> </para>
@ -250,9 +249,8 @@ protocol to make nodes agree on a serializable transactional order.
<para> <para>
<productname>PostgreSQL</> does not offer this type of replication, <productname>PostgreSQL</> does not offer this type of replication,
though <productname>PostgreSQL</> two-phase commit (<xref though <productname>PostgreSQL</> two-phase commit (<xref
linkend="sql-prepare-transaction" linkend="sql-prepare-transaction"> and <xref
endterm="sql-prepare-transaction-title"> and <xref linkend="sql-commit-prepared">)
linkend="sql-commit-prepared" endterm="sql-commit-prepared-title">)
can be used to implement this in application code or middleware. can be used to implement this in application code or middleware.
</para> </para>
</listitem> </listitem>
@ -552,7 +550,7 @@ protocol to make nodes agree on a serializable transactional order.
associated with tablespaces will be passed across unmodified, so both associated with tablespaces will be passed across unmodified, so both
primary and standby servers must have the same mount paths for primary and standby servers must have the same mount paths for
tablespaces if that feature is used. Keep in mind that if tablespaces if that feature is used. Keep in mind that if
<xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"> <xref linkend="sql-createtablespace">
is executed on the primary, any new mount point needed for it must is executed on the primary, any new mount point needed for it must
be created on the primary and all standby servers before the command be created on the primary and all standby servers before the command
is executed. Hardware need not be exactly the same, but experience shows is executed. Hardware need not be exactly the same, but experience shows

View File

@ -1,7 +1,7 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/indices.sgml,v 1.80 2010/01/01 21:53:49 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/indices.sgml,v 1.81 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="indexes"> <chapter id="indexes">
<title id="indexes-title">Indexes</title> <title>Indexes</title>
<indexterm zone="indexes"> <indexterm zone="indexes">
<primary>index</primary> <primary>index</primary>
@ -997,7 +997,7 @@ SELECT am.amname AS index_method,
maintenance or tuning, it is still important to check maintenance or tuning, it is still important to check
which indexes are actually used by the real-life query workload. which indexes are actually used by the real-life query workload.
Examining index usage for an individual query is done with the Examining index usage for an individual query is done with the
<xref linkend="sql-explain" endterm="sql-explain-title"> <xref linkend="sql-explain">
command; its application for this purpose is command; its application for this purpose is
illustrated in <xref linkend="using-explain">. illustrated in <xref linkend="using-explain">.
It is also possible to gather overall statistics about index usage It is also possible to gather overall statistics about index usage
@ -1015,7 +1015,7 @@ SELECT am.amname AS index_method,
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Always run <xref linkend="sql-analyze" endterm="sql-analyze-title"> Always run <xref linkend="sql-analyze">
first. This command first. This command
collects statistics about the distribution of the values in the collects statistics about the distribution of the values in the
table. This information is required to estimate the number of rows table. This information is required to estimate the number of rows
@ -1025,8 +1025,8 @@ SELECT am.amname AS index_method,
almost certain to be inaccurate. Examining an application's almost certain to be inaccurate. Examining an application's
index usage without having run <command>ANALYZE</command> is index usage without having run <command>ANALYZE</command> is
therefore a lost cause. therefore a lost cause.
See <xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> See <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. and <xref linkend="autovacuum"> for more information.
</para> </para>
</listitem> </listitem>
@ -1093,7 +1093,7 @@ SELECT am.amname AS index_method,
An inaccurate selectivity estimate is due to An inaccurate selectivity estimate is due to
insufficient statistics. It might be possible to improve this by insufficient statistics. It might be possible to improve this by
tuning the statistics-gathering parameters (see tuning the statistics-gathering parameters (see
<xref linkend="sql-altertable" endterm="sql-altertable-title">). <xref linkend="sql-altertable">).
</para> </para>
<para> <para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.303 2010/02/27 03:41:34 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.304 2010/04/03 07:22:54 petere Exp $ -->
<chapter id="libpq"> <chapter id="libpq">
<title><application>libpq</application> - C Library</title> <title><application>libpq</application> - C Library</title>
@ -1804,12 +1804,12 @@ PGresult *PQprepare(PGconn *conn,
</variablelist> </variablelist>
Prepared statements for use with <function>PQexecPrepared</> can also Prepared statements for use with <function>PQexecPrepared</> can also
be created by executing SQL <xref linkend="sql-prepare" be created by executing SQL <xref linkend="sql-prepare">
endterm="sql-prepare-title"> statements. (But <function>PQprepare</> statements. (But <function>PQprepare</>
is more flexible since it does not require parameter types to be is more flexible since it does not require parameter types to be
pre-specified.) Also, although there is no <application>libpq</> pre-specified.) Also, although there is no <application>libpq</>
function for deleting a prepared statement, the SQL <xref function for deleting a prepared statement, the SQL <xref
linkend="sql-deallocate" endterm="sql-deallocate-title"> statement linkend="sql-deallocate"> statement
can be used for that purpose. can be used for that purpose.
</para> </para>
@ -4279,7 +4279,7 @@ typedef struct {
0 indicates the overall copy format is textual (rows separated by 0 indicates the overall copy format is textual (rows separated by
newlines, columns separated by separator characters, etc). 1 newlines, columns separated by separator characters, etc). 1
indicates the overall copy format is binary. See <xref indicates the overall copy format is binary. See <xref
linkend="sql-copy" endterm="sql-copy-title"> for more information. linkend="sql-copy"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -4359,8 +4359,7 @@ typedef struct {
into buffer loads of any convenient size. Buffer-load boundaries into buffer loads of any convenient size. Buffer-load boundaries
have no semantic significance when sending. The contents of the have no semantic significance when sending. The contents of the
data stream must match the data format expected by the data stream must match the data format expected by the
<command>COPY</> command; see <xref linkend="sql-copy" <command>COPY</> command; see <xref linkend="sql-copy"> for details.
endterm="sql-copy-title"> for details.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -6102,8 +6101,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
<para> <para>
The following environment variables can be used to specify default The following environment variables can be used to specify default
behavior for each <productname>PostgreSQL</productname> session. (See behavior for each <productname>PostgreSQL</productname> session. (See
also the <xref linkend="sql-alteruser" endterm="sql-alteruser-title"> also the <xref linkend="sql-alteruser">
and <xref linkend="sql-alterdatabase" endterm="sql-alterdatabase-title"> and <xref linkend="sql-alterdatabase">
commands for ways to set default behavior on a per-user or per-database commands for ways to set default behavior on a per-user or per-database
basis.) basis.)
@ -6151,8 +6150,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
</listitem> </listitem>
</itemizedlist> </itemizedlist>
Refer to the <acronym>SQL</acronym> command <xref linkend="sql-set" Refer to the <acronym>SQL</acronym> command <xref linkend="sql-set">
endterm="sql-set-title"> for information on correct values for these for information on correct values for these
environment variables. environment variables.
</para> </para>

View File

@ -1,7 +1,7 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.52 2010/02/17 04:19:37 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.53 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="largeObjects"> <chapter id="largeObjects">
<title id="largeObjects-title">Large Objects</title> <title>Large Objects</title>
<indexterm zone="largeobjects"><primary>large object</></> <indexterm zone="largeobjects"><primary>large object</></>
<indexterm><primary>BLOB</><see>large object</></> <indexterm><primary>BLOB</><see>large object</></>
@ -63,8 +63,8 @@
<para> <para>
As of <productname>PostgreSQL</> 9.0, large objects have an owner As of <productname>PostgreSQL</> 9.0, large objects have an owner
and a set of access permissions, which can be managed using and a set of access permissions, which can be managed using
<xref linkend="sql-grant" endterm="sql-grant-title"> and <xref linkend="sql-grant"> and
<xref linkend="sql-revoke" endterm="sql-revoke-title">. <xref linkend="sql-revoke">.
For compatibility with prior releases, see For compatibility with prior releases, see
<xref linkend="guc-lo-compat-privileges">. <xref linkend="guc-lo-compat-privileges">.
<literal>SELECT</literal> privileges are required to read a large <literal>SELECT</literal> privileges are required to read a large

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.101 2010/03/17 17:12:31 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.102 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="maintenance"> <chapter id="maintenance">
<title>Routine Database Maintenance Tasks</title> <title>Routine Database Maintenance Tasks</title>
@ -87,7 +87,7 @@
<para> <para>
<productname>PostgreSQL</productname>'s <productname>PostgreSQL</productname>'s
<xref linkend="sql-vacuum" endterm="sql-vacuum-title"> command has to <xref linkend="sql-vacuum"> command has to
process each table on a regular basis for several reasons: process each table on a regular basis for several reasons:
<orderedlist> <orderedlist>
@ -210,7 +210,7 @@
their busiest tables as often as once every few minutes.) If you have their busiest tables as often as once every few minutes.) If you have
multiple databases in a cluster, don't forget to multiple databases in a cluster, don't forget to
<command>VACUUM</command> each one; the program <xref <command>VACUUM</command> each one; the program <xref
linkend="app-vacuumdb" endterm="app-vacuumdb-title"> might be helpful. linkend="app-vacuumdb"> might be helpful.
</para> </para>
<tip> <tip>
@ -220,9 +220,9 @@
massive update or delete activity. If you have such a table and massive update or delete activity. If you have such a table and
you need to reclaim the excess disk space it occupies, you will need you need to reclaim the excess disk space it occupies, you will need
to use <command>VACUUM FULL</>, or alternatively to use <command>VACUUM FULL</>, or alternatively
<xref linkend="sql-cluster" endterm="sql-cluster-title"> <xref linkend="sql-cluster">
or one of the table-rewriting variants of or one of the table-rewriting variants of
<xref linkend="sql-altertable" endterm="sql-altertable-title">. <xref linkend="sql-altertable">.
These commands rewrite an entire new copy of the table and build These commands rewrite an entire new copy of the table and build
new indexes for it. All these options require exclusive lock. Note that new indexes for it. All these options require exclusive lock. Note that
they also temporarily use extra disk space approximately equal to the size they also temporarily use extra disk space approximately equal to the size
@ -235,7 +235,7 @@
<para> <para>
If you have a table whose entire contents are deleted on a periodic If you have a table whose entire contents are deleted on a periodic
basis, consider doing it with basis, consider doing it with
<xref linkend="sql-truncate" endterm="sql-truncate-title"> rather <xref linkend="sql-truncate"> rather
than using <command>DELETE</command> followed by than using <command>DELETE</command> followed by
<command>VACUUM</command>. <command>TRUNCATE</command> removes the <command>VACUUM</command>. <command>TRUNCATE</command> removes the
entire content of the table immediately, without requiring a entire content of the table immediately, without requiring a
@ -247,7 +247,7 @@
</sect2> </sect2>
<sect2 id="vacuum-for-statistics"> <sect2 id="vacuum-for-statistics">
<title id="vacuum-for-statistics-title">Updating Planner Statistics</title> <title>Updating Planner Statistics</title>
<indexterm zone="vacuum-for-statistics"> <indexterm zone="vacuum-for-statistics">
<primary>statistics</primary> <primary>statistics</primary>
@ -262,7 +262,7 @@
The <productname>PostgreSQL</productname> query planner relies on The <productname>PostgreSQL</productname> query planner relies on
statistical information about the contents of tables in order to statistical information about the contents of tables in order to
generate good plans for queries. These statistics are gathered by generate good plans for queries. These statistics are gathered by
the <xref linkend="sql-analyze" endterm="sql-analyze-title"> command, the <xref linkend="sql-analyze"> command,
which can be invoked by itself or which can be invoked by itself or
as an optional step in <command>VACUUM</>. It is important to have as an optional step in <command>VACUUM</>. It is important to have
reasonably accurate statistics, otherwise poor choices of plans might reasonably accurate statistics, otherwise poor choices of plans might
@ -555,7 +555,7 @@ HINT: Stop the postmaster and use a standalone backend to VACUUM in "mydb".
</sect2> </sect2>
<sect2 id="autovacuum"> <sect2 id="autovacuum">
<title id="autovacuum-title">The Autovacuum Daemon</title> <title>The Autovacuum Daemon</title>
<indexterm> <indexterm>
<primary>autovacuum</primary> <primary>autovacuum</primary>
@ -666,10 +666,8 @@ analyze threshold = analyze base threshold + analyze scale factor * number of tu
Another two parameters, Another two parameters,
<literal>autovacuum_vacuum_cost_delay</literal> and <literal>autovacuum_vacuum_cost_delay</literal> and
<literal>autovacuum_vacuum_cost_limit</literal>, are used to set <literal>autovacuum_vacuum_cost_limit</literal>, are used to set
table-specific values for the table-specific values for the cost-based vacuum delay feature
<xref linkend="runtime-config-resource-vacuum-cost" (see <xref linkend="runtime-config-resource-vacuum-cost">).
endterm="runtime-config-resource-vacuum-cost-title">
feature.
<literal>autovacuum_freeze_min_age</literal>, <literal>autovacuum_freeze_min_age</literal>,
<literal>autovacuum_freeze_max_age</literal> and <literal>autovacuum_freeze_max_age</literal> and
<literal>autovacuum_freeze_table_age</literal> are used to set <literal>autovacuum_freeze_table_age</literal> are used to set
@ -697,7 +695,7 @@ analyze threshold = analyze base threshold + analyze scale factor * number of tu
<para> <para>
In some situations it is worthwhile to rebuild indexes periodically In some situations it is worthwhile to rebuild indexes periodically
with the <xref linkend="sql-reindex" endterm="sql-reindex-title"> with the <xref linkend="sql-reindex">
command. command.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.61 2010/02/03 17:25:05 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.62 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="managing-databases"> <chapter id="managing-databases">
<title>Managing Databases</title> <title>Managing Databases</title>
@ -86,7 +86,7 @@ SELECT datname FROM pg_database;
<para> <para>
Databases are created with the SQL command Databases are created with the SQL command
<xref linkend="sql-createdatabase" endterm="sql-createdatabase-title">:<indexterm><primary>CREATE <xref linkend="sql-createdatabase">:<indexterm><primary>CREATE
DATABASE</></> DATABASE</></>
<synopsis> <synopsis>
CREATE DATABASE <replaceable>name</>; CREATE DATABASE <replaceable>name</>;
@ -314,7 +314,7 @@ ALTER DATABASE mydb SET geqo TO off;
<para> <para>
Databases are destroyed with the command Databases are destroyed with the command
<xref linkend="sql-dropdatabase" endterm="sql-dropdatabase-title">:<indexterm><primary>DROP DATABASE</></> <xref linkend="sql-dropdatabase">:<indexterm><primary>DROP DATABASE</></>
<synopsis> <synopsis>
DROP DATABASE <replaceable>name</>; DROP DATABASE <replaceable>name</>;
</synopsis> </synopsis>
@ -380,7 +380,7 @@ dropdb <replaceable class="parameter">dbname</replaceable>
<para> <para>
To define a tablespace, use the <xref To define a tablespace, use the <xref
linkend="sql-createtablespace" endterm="sql-createtablespace-title"> linkend="sql-createtablespace">
command, for example:<indexterm><primary>CREATE TABLESPACE</></>: command, for example:<indexterm><primary>CREATE TABLESPACE</></>:
<programlisting> <programlisting>
CREATE TABLESPACE fastspace LOCATION '/mnt/sda1/postgresql/data'; CREATE TABLESPACE fastspace LOCATION '/mnt/sda1/postgresql/data';
@ -472,7 +472,7 @@ CREATE TABLE foo(i int);
<para> <para>
To remove an empty tablespace, use the <xref To remove an empty tablespace, use the <xref
linkend="sql-droptablespace" endterm="sql-droptablespace-title"> linkend="sql-droptablespace">
command. command.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.76 2010/02/03 17:25:05 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/monitoring.sgml,v 1.77 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="monitoring"> <chapter id="monitoring">
<title>Monitoring Database Activity</title> <title>Monitoring Database Activity</title>
@ -27,8 +27,7 @@
<command>ps</>, <command>top</>, <command>iostat</>, and <command>vmstat</>. <command>ps</>, <command>top</>, <command>iostat</>, and <command>vmstat</>.
Also, once one has identified a Also, once one has identified a
poorly-performing query, further investigation might be needed using poorly-performing query, further investigation might be needed using
<productname>PostgreSQL</productname>'s <xref linkend="sql-explain" <productname>PostgreSQL</productname>'s <xref linkend="sql-explain"> command.
endterm="sql-explain-title"> command.
<xref linkend="using-explain"> discusses <command>EXPLAIN</> <xref linkend="using-explain"> discusses <command>EXPLAIN</>
and other methods for understanding the behavior of an individual and other methods for understanding the behavior of an individual
query. query.
@ -159,7 +158,7 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
Normally these parameters are set in <filename>postgresql.conf</> so Normally these parameters are set in <filename>postgresql.conf</> so
that they apply to all server processes, but it is possible to turn that they apply to all server processes, but it is possible to turn
them on or off in individual sessions using the <xref them on or off in individual sessions using the <xref
linkend="sql-set" endterm="sql-set-title"> command. (To prevent linkend="sql-set"> command. (To prevent
ordinary users from hiding their activity from the administrator, ordinary users from hiding their activity from the administrator,
only superusers are allowed to change these parameters with only superusers are allowed to change these parameters with
<command>SET</>.) <command>SET</>.)

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/mvcc.sgml,v 2.73 2010/02/24 14:10:24 alvherre Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/mvcc.sgml,v 2.74 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="mvcc"> <chapter id="mvcc">
<title>Concurrency Control</title> <title>Concurrency Control</title>
@ -227,7 +227,7 @@
<para> <para>
To set the transaction isolation level of a transaction, use the To set the transaction isolation level of a transaction, use the
command <xref linkend="sql-set-transaction" endterm="sql-set-transaction-title">. command <xref linkend="sql-set-transaction">.
</para> </para>
<sect2 id="xact-read-committed"> <sect2 id="xact-read-committed">
@ -557,7 +557,7 @@ SELECT SUM(value) FROM mytab WHERE class = 2;
which they are used automatically by which they are used automatically by
<productname>PostgreSQL</productname>. You can also acquire any <productname>PostgreSQL</productname>. You can also acquire any
of these locks explicitly with the command <xref of these locks explicitly with the command <xref
linkend="sql-lock" endterm="sql-lock-title">. linkend="sql-lock">.
Remember that all of these lock modes are table-level locks, Remember that all of these lock modes are table-level locks,
even if the name contains the word even if the name contains the word
<quote>row</quote>; the names of the lock modes are historical. <quote>row</quote>; the names of the lock modes are historical.

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/passwordcheck.sgml,v 1.1 2009/11/18 21:57:56 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/passwordcheck.sgml,v 1.2 2010/04/03 07:22:55 petere Exp $ -->
<sect1 id="passwordcheck"> <sect1 id="passwordcheck">
<title>passwordcheck</title> <title>passwordcheck</title>
@ -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" endterm="SQL-CREATEROLE-title"> or <xref linkend="SQL-CREATEROLE"> or
<xref linkend="SQL-ALTERROLE" endterm="SQL-ALTERROLE-title">. <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>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.74 2010/02/26 02:31:52 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/perform.sgml,v 1.75 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="performance-tips"> <chapter id="performance-tips">
<title>Performance Tips</title> <title>Performance Tips</title>
@ -32,7 +32,7 @@
is absolutely critical for good performance, so the system includes is absolutely critical for good performance, so the system includes
a complex <firstterm>planner</> that tries to choose good plans. a complex <firstterm>planner</> that tries to choose good plans.
You can use the You can use the
<xref linkend="sql-explain" endterm="sql-explain-title"> command <xref linkend="sql-explain"> command
to see what query plan the planner creates for any query. to see what query plan the planner creates for any query.
Plan-reading is an art that deserves an extensive tutorial, which Plan-reading is an art that deserves an extensive tutorial, which
this is not; but here is some basic information. this is not; but here is some basic information.
@ -801,7 +801,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
<title>Use <command>COPY</command></title> <title>Use <command>COPY</command></title>
<para> <para>
Use <xref linkend="sql-copy" endterm="sql-copy-title"> to load Use <xref linkend="sql-copy"> to load
all the rows in one command, instead of using a series of all the rows in one command, instead of using a series of
<command>INSERT</command> commands. The <command>COPY</command> <command>INSERT</command> commands. The <command>COPY</command>
command is optimized for loading large numbers of rows; it is less command is optimized for loading large numbers of rows; it is less
@ -813,7 +813,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
<para> <para>
If you cannot use <command>COPY</command>, it might help to use <xref If you cannot use <command>COPY</command>, it might help to use <xref
linkend="sql-prepare" endterm="sql-prepare-title"> to create a linkend="sql-prepare"> to create a
prepared <command>INSERT</command> statement, and then use prepared <command>INSERT</command> statement, and then use
<command>EXECUTE</command> as many times as required. This avoids <command>EXECUTE</command> as many times as required. This avoids
some of the overhead of repeatedly parsing and planning some of the overhead of repeatedly parsing and planning
@ -967,8 +967,7 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
<para> <para>
Whenever you have significantly altered the distribution of data Whenever you have significantly altered the distribution of data
within a table, running <xref linkend="sql-analyze" within a table, running <xref linkend="sql-analyze"> is strongly recommended. This
endterm="sql-analyze-title"> is strongly recommended. This
includes bulk loading large amounts of data into the table. Running includes bulk loading large amounts of data into the table. Running
<command>ANALYZE</command> (or <command>VACUUM ANALYZE</command>) <command>ANALYZE</command> (or <command>VACUUM ANALYZE</command>)
ensures that the planner has up-to-date statistics about the ensures that the planner has up-to-date statistics about the
@ -977,8 +976,8 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
performance on any tables with inaccurate or nonexistent performance on any tables with inaccurate or nonexistent
statistics. Note that if the autovacuum daemon is enabled, it might statistics. Note that if the autovacuum daemon is enabled, it might
run <command>ANALYZE</command> automatically; see run <command>ANALYZE</command> automatically; see
<xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. and <xref linkend="autovacuum"> for more information.
</para> </para>
</sect2> </sect2>
@ -1062,8 +1061,8 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
<varname>maintenance_work_mem</varname>; rather, you'd do that while <varname>maintenance_work_mem</varname>; rather, you'd do that while
manually recreating indexes and foreign keys afterwards. manually recreating indexes and foreign keys afterwards.
And don't forget to <command>ANALYZE</> when you're done; see And don't forget to <command>ANALYZE</> when you're done; see
<xref linkend="vacuum-for-statistics" endterm="vacuum-for-statistics-title"> <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum" endterm="autovacuum-title"> for more information. and <xref linkend="autovacuum"> for more information.
</para> </para>
</sect2> </sect2>
</sect1> </sect1>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/plhandler.sgml,v 1.9 2009/11/23 21:41:20 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/plhandler.sgml,v 1.10 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="plhandler"> <chapter id="plhandler">
<title>Writing A Procedural Language Handler</title> <title>Writing A Procedural Language Handler</title>
@ -162,10 +162,10 @@ CREATE LANGUAGE plsample
are a <firstterm>validator</firstterm> and an are a <firstterm>validator</firstterm> and an
<firstterm>inline handler</firstterm>. A validator can be provided <firstterm>inline handler</firstterm>. A validator can be provided
to allow language-specific checking to be done during to allow language-specific checking to be done during
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">. <xref linkend="sql-createfunction">.
An inline handler can be provided to allow the language to support An inline handler can be provided to allow the language to support
anonymous code blocks executed via the <xref linkend="sql-do" anonymous code blocks executed via the <xref linkend="sql-do"
endterm="sql-do-title"> command. > command.
</para> </para>
<para> <para>
@ -218,7 +218,7 @@ CREATE LANGUAGE plsample
The procedural languages included in the standard distribution The procedural languages included in the standard distribution
are good references when trying to write your own language handler. are good references when trying to write your own language handler.
Look into the <filename>src/pl</> subdirectory of the source tree. Look into the <filename>src/pl</> subdirectory of the source tree.
The <xref linkend="sql-createlanguage" endterm="sql-createlanguage-title"> The <xref linkend="sql-createlanguage">
reference page also has some useful details. reference page also has some useful details.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.82 2010/02/25 10:02:30 mha Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.83 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="plperl"> <chapter id="plperl">
<title>PL/Perl - Perl Procedural Language</title> <title>PL/Perl - Perl Procedural Language</title>
@ -51,7 +51,7 @@
<para> <para>
To create a function in the PL/Perl language, use the standard To create a function in the PL/Perl language, use the standard
<xref linkend="sql-createfunction" endterm="sql-createfunction-title"> <xref linkend="sql-createfunction">
syntax: syntax:
<programlisting> <programlisting>
@ -69,7 +69,7 @@ $$ LANGUAGE plperl;
<para> <para>
PL/Perl also supports anonymous code blocks called with the PL/Perl also supports anonymous code blocks called with the
<xref linkend="sql-do" endterm="sql-do-title"> statement: <xref linkend="sql-do"> statement:
<programlisting> <programlisting>
DO $$ DO $$

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.151 2010/02/17 04:19:37 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.152 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="plpgsql"> <chapter id="plpgsql">
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title> <title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@ -1124,7 +1124,7 @@ EXECUTE 'SELECT count(*) FROM '
<para> <para>
The <application>PL/pgSQL</application> The <application>PL/pgSQL</application>
<command>EXECUTE</command> statement is not related to the <command>EXECUTE</command> statement is not related to the
<xref linkend="sql-execute" endterm="sql-execute-title"> SQL <xref linkend="sql-execute"> SQL
statement supported by the statement supported by the
<productname>PostgreSQL</productname> server. The server's <productname>PostgreSQL</productname> server. The server's
<command>EXECUTE</command> statement cannot be used directly within <command>EXECUTE</command> statement cannot be used directly within
@ -2610,8 +2610,8 @@ FETCH <optional> <replaceable>direction</replaceable> { FROM | IN } </optional>
<para> <para>
The <replaceable>direction</replaceable> clause can be any of the The <replaceable>direction</replaceable> clause can be any of the
variants allowed in the SQL <xref linkend="sql-fetch" variants allowed in the SQL <xref linkend="sql-fetch">
endterm="sql-fetch-title"> command except the ones that can fetch command except the ones that can fetch
more than one row; namely, it can be more than one row; namely, it can be
<literal>NEXT</>, <literal>NEXT</>,
<literal>PRIOR</>, <literal>PRIOR</>,
@ -2662,8 +2662,8 @@ MOVE <optional> <replaceable>direction</replaceable> { FROM | IN } </optional> <
<para> <para>
The <replaceable>direction</replaceable> clause can be any of the The <replaceable>direction</replaceable> clause can be any of the
variants allowed in the SQL <xref linkend="sql-fetch" variants allowed in the SQL <xref linkend="sql-fetch">
endterm="sql-fetch-title"> command, namely command, namely
<literal>NEXT</>, <literal>NEXT</>,
<literal>PRIOR</>, <literal>PRIOR</>,
<literal>FIRST</>, <literal>FIRST</>,
@ -2705,7 +2705,7 @@ DELETE FROM <replaceable>table</replaceable> WHERE CURRENT OF <replaceable>curso
restrictions on what the cursor's query can be (in particular, restrictions on what the cursor's query can be (in particular,
no grouping) and it's best to use <literal>FOR UPDATE</> in the no grouping) and it's best to use <literal>FOR UPDATE</> in the
cursor. For more information see the cursor. For more information see the
<xref linkend="sql-declare" endterm="sql-declare-title"> <xref linkend="sql-declare">
reference page. reference page.
</para> </para>
@ -4625,7 +4625,7 @@ $$ LANGUAGE plpgsql;
the function always returns the same result when given the same the function always returns the same result when given the same
arguments) and <quote>strictness</quote> (whether the function arguments) and <quote>strictness</quote> (whether the function
returns null if any argument is null). Consult the <xref returns null if any argument is null). Consult the <xref
linkend="sql-createfunction" endterm="sql-createfunction-title"> linkend="sql-createfunction">
reference page for details. reference page for details.
</para> </para>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.48 2008/03/28 00:21:55 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/pltcl.sgml,v 2.49 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="pltcl"> <chapter id="pltcl">
<title>PL/Tcl - Tcl Procedural Language</title> <title>PL/Tcl - Tcl Procedural Language</title>
@ -79,8 +79,7 @@
<para> <para>
To create a function in the <application>PL/Tcl</> language, use To create a function in the <application>PL/Tcl</> language, use
the standard <xref linkend="sql-createfunction" the standard <xref linkend="sql-createfunction"> syntax:
endterm="sql-createfunction-title"> syntax:
<programlisting> <programlisting>
CREATE FUNCTION <replaceable>funcname</replaceable> (<replaceable>argument-types</replaceable>) RETURNS <replaceable>return-type</replaceable> AS $$ CREATE FUNCTION <replaceable>funcname</replaceable> (<replaceable>argument-types</replaceable>) RETURNS <replaceable>return-type</replaceable> AS $$

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.86 2010/03/17 00:28:15 sriggs Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/protocol.sgml,v 1.87 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="protocol"> <chapter id="protocol">
<title>Frontend/Backend Protocol</title> <title>Frontend/Backend Protocol</title>
@ -2419,7 +2419,7 @@ CopyInResponse (B)
characters, etc). characters, etc).
1 indicates the overall copy format is binary (similar 1 indicates the overall copy format is binary (similar
to DataRow format). to DataRow format).
See <xref linkend="sql-copy" endterm="sql-copy-title"> See <xref linkend="sql-copy">
for more information. for more information.
</para> </para>
</listitem> </listitem>
@ -2493,8 +2493,7 @@ CopyOutResponse (B)
is textual (rows separated by newlines, columns is textual (rows separated by newlines, columns
separated by separator characters, etc). 1 indicates separated by separator characters, etc). 1 indicates
the overall copy format is binary (similar to DataRow the overall copy format is binary (similar to DataRow
format). See <xref linkend="sql-copy" format). See <xref linkend="sql-copy"> for more information.
endterm="sql-copy-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.56 2009/10/21 20:22:38 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.57 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="queries"> <chapter id="queries">
<title>Queries</title> <title>Queries</title>
@ -24,7 +24,7 @@
<para> <para>
The process of retrieving or the command to retrieve data from a The process of retrieving or the command to retrieve data from a
database is called a <firstterm>query</firstterm>. In SQL the database is called a <firstterm>query</firstterm>. In SQL the
<xref linkend="sql-select" endterm="sql-select-title"> command is <xref linkend="sql-select"> command is
used to specify queries. The general syntax of the used to specify queries. The general syntax of the
<command>SELECT</command> command is <command>SELECT</command> command is
<synopsis> <synopsis>
@ -1508,8 +1508,7 @@ SELECT <replaceable>select_list</replaceable> FROM <replaceable>table_expression
</para> </para>
<para> <para>
For more information see <xref linkend="sql-values" For more information see <xref linkend="sql-values">.
endterm="sql-values-title">.
</para> </para>
</sect1> </sect1>

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.54 2010/02/19 01:15:54 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/query.sgml,v 1.55 2010/04/03 07:22:55 petere Exp $ -->
<chapter id="tutorial-sql"> <chapter id="tutorial-sql">
<title>The <acronym>SQL</acronym> Language</title> <title>The <acronym>SQL</acronym> Language</title>
@ -267,8 +267,7 @@ COPY weather FROM '/home/user/weather.txt';
where the file name for the source file must be available to the where the file name for the source file must be available to the
backend server machine, not the client, since the backend server backend server machine, not the client, since the backend server
reads the file directly. You can read more about the reads the file directly. You can read more about the
<command>COPY</command> command in <xref linkend="sql-copy" <command>COPY</command> command in <xref linkend="sql-copy">.
endterm="sql-copy-title">.
</para> </para>
</sect1> </sect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/abort.sgml,v 1.18 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/abort.sgml,v 1.19 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ABORT"> <refentry id="SQL-ABORT">
<refmeta> <refmeta>
<refentrytitle id="sql-abort-title">ABORT</refentrytitle> <refentrytitle>ABORT</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -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" endterm="SQL-ROLLBACK-TITLE">, <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 ]
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-COMMIT" endterm="SQL-COMMIT-TITLE"> to Use <xref linkend="SQL-COMMIT"> to
successfully terminate a transaction. successfully terminate a transaction.
</para> </para>
@ -93,9 +93,9 @@ ABORT;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-begin" endterm="sql-begin-title"></member> <member><xref linkend="sql-begin"></member>
<member><xref linkend="sql-commit" endterm="sql-commit-title"></member> <member><xref linkend="sql-commit"></member>
<member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member> <member><xref linkend="sql-rollback"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_aggregate.sgml,v 1.10 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_aggregate.sgml,v 1.11 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERAGGREGATE"> <refentry id="SQL-ALTERAGGREGATE">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERAGGREGATE-TITLE">ALTER AGGREGATE</refentrytitle> <refentrytitle>ALTER AGGREGATE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -142,8 +142,8 @@ ALTER AGGREGATE myavg(integer) SET SCHEMA myschema;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createaggregate" endterm="sql-createaggregate-title"></member> <member><xref linkend="sql-createaggregate"></member>
<member><xref linkend="sql-dropaggregate" endterm="sql-dropaggregate-title"></member> <member><xref linkend="sql-dropaggregate"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_conversion.sgml,v 1.10 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_conversion.sgml,v 1.11 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERCONVERSION"> <refentry id="SQL-ALTERCONVERSION">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERCONVERSION-TITLE">ALTER CONVERSION</refentrytitle> <refentrytitle>ALTER CONVERSION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -111,8 +111,8 @@ ALTER CONVERSION iso_8859_1_to_utf8 OWNER TO joe;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createconversion" endterm="sql-createconversion-title"></member> <member><xref linkend="sql-createconversion"></member>
<member><xref linkend="sql-dropconversion" endterm="sql-dropconversion-title"></member> <member><xref linkend="sql-dropconversion"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_database.sgml,v 1.24 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_database.sgml,v 1.25 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDATABASE"> <refentry id="SQL-ALTERDATABASE">
<refmeta> <refmeta>
<refentrytitle id="sql-alterdatabase-title">ALTER DATABASE</refentrytitle> <refentrytitle>ALTER DATABASE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -160,7 +160,7 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
</para> </para>
<para> <para>
See <xref linkend="sql-set" endterm="sql-set-title"> and <xref linkend="runtime-config"> See <xref linkend="sql-set"> and <xref linkend="runtime-config">
for more information about allowed parameter names for more information about allowed parameter names
and values. and values.
</para> </para>
@ -175,7 +175,7 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
<para> <para>
It is also possible to tie a session default to a specific role It is also possible to tie a session default to a specific role
rather than to a database; see rather than to a database; see
<xref linkend="sql-alterrole" endterm="sql-alterrole-title">. <xref linkend="sql-alterrole">.
Role-specific settings override database-specific Role-specific settings override database-specific
ones if there is a conflict. ones if there is a conflict.
</para> </para>
@ -207,10 +207,10 @@ ALTER DATABASE test SET enable_indexscan TO off;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createdatabase" endterm="sql-createdatabase-title"></member> <member><xref linkend="sql-createdatabase"></member>
<member><xref linkend="sql-dropdatabase" endterm="sql-dropdatabase-title"></member> <member><xref linkend="sql-dropdatabase"></member>
<member><xref linkend="sql-set" endterm="sql-set-title"></member> <member><xref linkend="sql-set"></member>
<member><xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"></member> <member><xref linkend="sql-createtablespace"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_default_privileges.sgml,v 1.2 2009/10/12 23:41:43 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_default_privileges.sgml,v 1.3 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDEFAULTPRIVILEGES"> <refentry id="SQL-ALTERDEFAULTPRIVILEGES">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERDEFAULTPRIVILEGES-TITLE">ALTER DEFAULT PRIVILEGES</refentrytitle> <refentrytitle>ALTER DEFAULT PRIVILEGES</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -85,7 +85,7 @@ REVOKE [ GRANT OPTION FOR ]
</para> </para>
<para> <para>
As explained under <xref linkend="sql-grant" endterm="sql-grant-title">, As explained under <xref linkend="sql-grant">,
the default privileges for any object type normally grant all grantable the default privileges for any object type normally grant all grantable
permissions to the object owner, and may grant some privileges to permissions to the object owner, and may grant some privileges to
<literal>PUBLIC</> as well. However, this behavior can be changed by <literal>PUBLIC</> as well. However, this behavior can be changed by
@ -127,8 +127,8 @@ REVOKE [ GRANT OPTION FOR ]
This parameter, and all the other parameters in This parameter, and all the other parameters in
<replaceable class="parameter">abbreviated_grant_or_revoke</>, <replaceable class="parameter">abbreviated_grant_or_revoke</>,
act as described under act as described under
<xref linkend="sql-grant" endterm="sql-grant-title"> or <xref linkend="sql-grant"> or
<xref linkend="sql-revoke" endterm="sql-revoke-title">, <xref linkend="sql-revoke">,
except that one is setting permissions for a whole class of objects except that one is setting permissions for a whole class of objects
rather than specific named objects. rather than specific named objects.
</para> </para>
@ -146,7 +146,7 @@ REVOKE [ GRANT OPTION FOR ]
to obtain information about existing assignments of default privileges. to obtain information about existing assignments of default privileges.
The meaning of the privilege values is the same as explained for The meaning of the privilege values is the same as explained for
<command>\dp</command> under <command>\dp</command> under
<xref linkend="sql-grant" endterm="sql-grant-title">. <xref linkend="sql-grant">.
</para> </para>
<para> <para>
@ -203,8 +203,8 @@ ALTER DEFAULT PRIVILEGES FOR ROLE admin REVOKE EXECUTE ON FUNCTIONS FROM PUBLIC;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member> <member><xref linkend="sql-grant"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member> <member><xref linkend="sql-revoke"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.24 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.25 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERDOMAIN"> <refentry id="SQL-ALTERDOMAIN">
<refmeta> <refmeta>
<refentrytitle id="sql-alterdomain-title">ALTER DOMAIN</refentrytitle> <refentrytitle>ALTER DOMAIN</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -74,7 +74,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" endterm="SQL-CREATEDOMAIN-TITLE">. <xref linkend="SQL-CREATEDOMAIN">.
This will only succeed if all columns using the domain satisfy the This will only succeed if all columns using the domain satisfy the
new constraint. new constraint.
</para> </para>
@ -260,8 +260,8 @@ ALTER DOMAIN zipcode SET SCHEMA customers;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createdomain" endterm="sql-createdomain-title"></member> <member><xref linkend="sql-createdomain"></member>
<member><xref linkend="sql-dropdomain" endterm="sql-dropdomain-title"></member> <member><xref linkend="sql-dropdomain"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_foreign_data_wrapper.sgml,v 1.3 2009/06/19 15:28:25 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_foreign_data_wrapper.sgml,v 1.4 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERFOREIGNDATAWRAPPER"> <refentry id="SQL-ALTERFOREIGNDATAWRAPPER">
<refmeta> <refmeta>
<refentrytitle id="sql-alterforeigndatawrapper-title">ALTER FOREIGN DATA WRAPPER</refentrytitle> <refentrytitle>ALTER FOREIGN DATA WRAPPER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -136,8 +136,8 @@ ALTER FOREIGN DATA WRAPPER dbi VALIDATOR bob.myvalidator;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createforeigndatawrapper" endterm="sql-createforeigndatawrapper-title"></member> <member><xref linkend="sql-createforeigndatawrapper"></member>
<member><xref linkend="sql-dropforeigndatawrapper" endterm="sql-dropforeigndatawrapper-title"></member> <member><xref linkend="sql-dropforeigndatawrapper"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_function.sgml,v 1.18 2009/09/18 05:00:41 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_function.sgml,v 1.19 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERFUNCTION"> <refentry id="SQL-ALTERFUNCTION">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERFUNCTION-TITLE">ALTER FUNCTION</refentrytitle> <refentrytitle>ALTER FUNCTION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -159,8 +159,8 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
null. <literal>RETURNS NULL ON NULL INPUT</literal> or null. <literal>RETURNS NULL ON NULL INPUT</literal> or
<literal>STRICT</literal> changes the function so that it is not <literal>STRICT</literal> changes the function so that it is not
invoked if any of its arguments are null; instead, a null result invoked if any of its arguments are null; instead, a null result
is assumed automatically. See <xref linkend="sql-createfunction" is assumed automatically. See <xref linkend="sql-createfunction">
endterm="sql-createfunction-title"> for more information. for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -173,8 +173,7 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
<listitem> <listitem>
<para> <para>
Change the volatility of the function to the specified setting. Change the volatility of the function to the specified setting.
See <xref linkend="sql-createfunction" See <xref linkend="sql-createfunction"> for details.
endterm="sql-createfunction-title"> for details.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -187,8 +186,7 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
<para> <para>
Change whether the function is a security definer or not. The Change whether the function is a security definer or not. The
key word <literal>EXTERNAL</literal> is ignored for SQL key word <literal>EXTERNAL</literal> is ignored for SQL
conformance. See <xref linkend="sql-createfunction" conformance. See <xref linkend="sql-createfunction"> for more information about
endterm="sql-createfunction-title"> for more information about
this capability. this capability.
</para> </para>
</listitem> </listitem>
@ -200,8 +198,7 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
<listitem> <listitem>
<para> <para>
Change the estimated execution cost of the function. Change the estimated execution cost of the function.
See <xref linkend="sql-createfunction" See <xref linkend="sql-createfunction"> for more information.
endterm="sql-createfunction-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -212,8 +209,7 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
<listitem> <listitem>
<para> <para>
Change the estimated number of rows returned by a set-returning Change the estimated number of rows returned by a set-returning
function. See <xref linkend="sql-createfunction" function. See <xref linkend="sql-createfunction"> for more information.
endterm="sql-createfunction-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -235,7 +231,7 @@ ALTER FUNCTION <replaceable>name</replaceable> ( [ [ <replaceable class="paramet
</para> </para>
<para> <para>
See <xref linkend="sql-set" endterm="sql-set-title"> and See <xref linkend="sql-set"> and
<xref linkend="runtime-config"> <xref linkend="runtime-config">
for more information about allowed parameter names and values. for more information about allowed parameter names and values.
</para> </para>
@ -317,8 +313,8 @@ ALTER FUNCTION check_password(text) RESET search_path;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member> <member><xref linkend="sql-createfunction"></member>
<member><xref linkend="sql-dropfunction" endterm="sql-dropfunction-title"></member> <member><xref linkend="sql-dropfunction"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.19 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_group.sgml,v 1.20 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERGROUP"> <refentry id="SQL-ALTERGROUP">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERGROUP-title">ALTER GROUP</refentrytitle> <refentrytitle>ALTER GROUP</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -44,14 +44,14 @@ ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <r
<quote>group</> for this purpose.) These variants are effectively <quote>group</> 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</>; so the preferred way to do this is to use <quote>group</>; so the preferred way to do this is to use
<xref linkend="SQL-GRANT" endterm="SQL-GRANT-title"> or <xref linkend="SQL-GRANT"> or
<xref linkend="SQL-REVOKE" endterm="SQL-REVOKE-title">. <xref linkend="SQL-REVOKE">.
</para> </para>
<para> <para>
The third variant changes the name of the group. This is exactly The third variant changes the name of the group. This is exactly
equivalent to renaming the role with equivalent to renaming the role with
<xref linkend="sql-alterrole" endterm="sql-alterrole-title">. <xref linkend="sql-alterrole">.
</para> </para>
</refsect1> </refsect1>
@ -121,9 +121,9 @@ ALTER GROUP workers DROP USER beth;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member> <member><xref linkend="sql-grant"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member> <member><xref linkend="sql-revoke"></member>
<member><xref linkend="sql-alterrole" endterm="sql-alterrole-title"></member> <member><xref linkend="sql-alterrole"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.14 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_index.sgml,v 1.15 2010/04/03 07:22:56 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERINDEX"> <refentry id="SQL-ALTERINDEX">
<refmeta> <refmeta>
<refentrytitle id="sql-alterindex-title">ALTER INDEX</refentrytitle> <refentrytitle>ALTER INDEX</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -54,7 +54,7 @@ ALTER INDEX <replaceable class="PARAMETER">name</replaceable> RESET ( <replaceab
This form changes the index's tablespace to the specified tablespace and This form changes the index's tablespace to the specified tablespace and
moves the data file(s) associated with the index to the new tablespace. moves the data file(s) associated with the index to the new tablespace.
See also See also
<xref linkend="SQL-CREATETABLESPACE" endterm="sql-createtablespace-title">. <xref linkend="SQL-CREATETABLESPACE">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -65,11 +65,11 @@ ALTER INDEX <replaceable class="PARAMETER">name</replaceable> RESET ( <replaceab
<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" endterm="sql-createindex-title"> <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" endterm="sql-reindex-title"> <xref linkend="SQL-REINDEX">
to get the desired effects. to get the desired effects.
</para> </para>
</listitem> </listitem>
@ -151,7 +151,7 @@ ALTER INDEX <replaceable class="PARAMETER">name</replaceable> RESET ( <replaceab
<para> <para>
These operations are also possible using These operations are also possible using
<xref linkend="SQL-ALTERTABLE" endterm="SQL-ALTERTABLE-TITLE">. <xref linkend="SQL-ALTERTABLE">.
<command>ALTER INDEX</> is in fact just an alias for the forms <command>ALTER INDEX</> is in fact just an alias for the forms
of <command>ALTER TABLE</> that apply to indexes. of <command>ALTER TABLE</> that apply to indexes.
</para> </para>
@ -209,8 +209,8 @@ REINDEX INDEX distributors;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createindex" endterm="sql-createindex-title"></member> <member><xref linkend="sql-createindex"></member>
<member><xref linkend="sql-reindex" endterm="sql-reindex-title"></member> <member><xref linkend="sql-reindex"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_language.sgml,v 1.9 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_language.sgml,v 1.10 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERLANGUAGE"> <refentry id="SQL-ALTERLANGUAGE">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERLANGUAGE-title">ALTER LANGUAGE</refentrytitle> <refentrytitle>ALTER LANGUAGE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -83,8 +83,8 @@ ALTER [ PROCEDURAL ] LANGUAGE <replaceable>name</replaceable> OWNER TO <replacea
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createlanguage" endterm="sql-createlanguage-title"></member> <member><xref linkend="sql-createlanguage"></member>
<member><xref linkend="sql-droplanguage" endterm="sql-droplanguage-title"></member> <member><xref linkend="sql-droplanguage"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_large_object.sgml,v 1.2 2009/12/19 03:29:28 itagaki Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_large_object.sgml,v 1.3 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERLARGEOBJECT"> <refentry id="SQL-ALTERLARGEOBJECT">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERLARGEOBJECT-title">ALTER LARGE OBJECT</refentrytitle> <refentrytitle>ALTER LARGE OBJECT</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -73,7 +73,7 @@ ALTER LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable>
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="largeObjects" endterm="largeObjects-title"></member> <member><xref linkend="largeobjects"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opclass.sgml,v 1.10 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_opclass.sgml,v 1.11 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPCLASS"> <refentry id="SQL-ALTEROPCLASS">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTEROPCLASS-TITLE">ALTER OPERATOR CLASS</refentrytitle> <refentrytitle>ALTER OPERATOR CLASS</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -101,9 +101,9 @@ ALTER OPERATOR CLASS <replaceable>name</replaceable> USING <replaceable class="p
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createopclass" endterm="sql-createopclass-title"></member> <member><xref linkend="sql-createopclass"></member>
<member><xref linkend="sql-dropopclass" endterm="sql-dropopclass-title"></member> <member><xref linkend="sql-dropopclass"></member>
<member><xref linkend="sql-alteropfamily" endterm="sql-alteropfamily-title"></member> <member><xref linkend="sql-alteropfamily"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_operator.sgml,v 1.5 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_operator.sgml,v 1.6 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPERATOR"> <refentry id="SQL-ALTEROPERATOR">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTEROPERATOR-TITLE">ALTER OPERATOR</refentrytitle> <refentrytitle>ALTER OPERATOR</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -112,8 +112,8 @@ ALTER OPERATOR @@ (text, text) OWNER TO joe;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createoperator" endterm="sql-createoperator-title"></member> <member><xref linkend="sql-createoperator"></member>
<member><xref linkend="sql-dropoperator" endterm="sql-dropoperator-title"></member> <member><xref linkend="sql-dropoperator"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.6 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_opfamily.sgml,v 1.7 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTEROPFAMILY"> <refentry id="SQL-ALTEROPFAMILY">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTEROPFAMILY-TITLE">ALTER OPERATOR FAMILY</refentrytitle> <refentrytitle>ALTER OPERATOR FAMILY</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -52,8 +52,7 @@ ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="
are compatible with the family's semantics, but are not required for are compatible with the family's semantics, but are not required for
correct functioning of any specific index. (Operators and functions correct functioning of any specific index. (Operators and functions
that are so required should be declared as part of an operator class, that are so required should be declared as part of an operator class,
instead; see <xref linkend="sql-createopclass" instead; see <xref linkend="sql-createopclass">.)
endterm="sql-createopclass-title">.)
<productname>PostgreSQL</productname> will allow loose members of a <productname>PostgreSQL</productname> will allow loose members of a
family to be dropped from the family at any time, but members of an family to be dropped from the family at any time, but members of an
operator class cannot be dropped without dropping the whole class and operator class cannot be dropped without dropping the whole class and
@ -313,11 +312,11 @@ ALTER OPERATOR FAMILY integer_ops USING btree DROP
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createopfamily" endterm="sql-createopfamily-title"></member> <member><xref linkend="sql-createopfamily"></member>
<member><xref linkend="sql-dropopfamily" endterm="sql-dropopfamily-title"></member> <member><xref linkend="sql-dropopfamily"></member>
<member><xref linkend="sql-createopclass" endterm="sql-createopclass-title"></member> <member><xref linkend="sql-createopclass"></member>
<member><xref linkend="sql-alteropclass" endterm="sql-alteropclass-title"></member> <member><xref linkend="sql-alteropclass"></member>
<member><xref linkend="sql-dropopclass" endterm="sql-dropopclass-title"></member> <member><xref linkend="sql-dropopclass"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.15 2009/10/07 22:14:16 alvherre Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_role.sgml,v 1.16 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERROLE"> <refentry id="SQL-ALTERROLE">
<refmeta> <refmeta>
<refentrytitle id="sql-alterrole-title">ALTER ROLE</refentrytitle> <refentrytitle>ALTER ROLE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -55,11 +55,11 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<para> <para>
The first variant of this command listed in the synopsis can change The first variant of this command listed in the synopsis can change
many of the role attributes that can be specified in many of the role attributes that can be specified in
<xref linkend="sql-createrole" endterm="sql-createrole-title">. <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" endterm="SQL-GRANT-title"> and <xref linkend="SQL-GRANT"> and
<xref linkend="SQL-REVOKE" endterm="SQL-REVOKE-title"> 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</> privilege can change any of these Roles having <literal>CREATEROLE</> privilege can change any of these
@ -88,7 +88,7 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<filename>postgresql.conf</> or has been received from the postgres <filename>postgresql.conf</> or has been received from the postgres
command line. This only happens at login time, so configuration command line. This only happens at login time, so configuration
settings associated with a role to which you've <xref settings associated with a role to which you've <xref
linkend="sql-set-role" endterm="sql-set-role-title"> will be ignored. Settings set to linkend="sql-set-role"> will be ignored. Settings set to
a role directly are overridden by any database specific settings attached to a role. a role directly are overridden by any database specific settings attached to a role.
Superusers can change anyone's session defaults. Roles having Superusers can change anyone's session defaults. Roles having
<literal>CREATEROLE</> privilege can change defaults for non-superuser <literal>CREATEROLE</> privilege can change defaults for non-superuser
@ -131,8 +131,7 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<listitem> <listitem>
<para> <para>
These clauses alter attributes originally set by These clauses alter attributes originally set by
<xref linkend="SQL-CREATEROLE" <xref linkend="SQL-CREATEROLE">. For more information, see the
endterm="SQL-CREATEROLE-title">. For more information, see the
<command>CREATE ROLE</command> reference page. <command>CREATE ROLE</command> reference page.
</para> </para>
</listitem> </listitem>
@ -176,12 +175,12 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<para> <para>
Role-specific variable setting take effect only at login; Role-specific variable setting take effect only at login;
<xref linkend="sql-set-role" endterm="sql-set-role-title"> <xref linkend="sql-set-role">
does not process role-specific variable settings. does not process role-specific variable settings.
</para> </para>
<para> <para>
See <xref linkend="sql-set" endterm="sql-set-title"> and <xref See <xref linkend="sql-set"> and <xref
linkend="runtime-config"> for more information about allowed linkend="runtime-config"> for more information about allowed
parameter names and values. parameter names and values.
</para> </para>
@ -194,15 +193,14 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-CREATEROLE" endterm="SQL-CREATEROLE-title"> Use <xref linkend="SQL-CREATEROLE">
to add new roles, and <xref linkend="SQL-DROPROLE" to add new roles, and <xref linkend="SQL-DROPROLE"> to remove a role.
endterm="SQL-DROPROLE-title"> 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" endterm="SQL-GRANT-title"> and Use <xref linkend="SQL-GRANT"> and
<xref linkend="SQL-REVOKE" endterm="SQL-REVOKE-title"> <xref linkend="SQL-REVOKE">
to do that. to do that.
</para> </para>
@ -210,8 +208,8 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
Caution must be exercised when specifying an unencrypted password Caution must be exercised when specifying an unencrypted password
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. <xref linkend="app-psql" history or the server log. <xref linkend="app-psql">
endterm="app-psql-title"> contains a command contains a command
<command>\password</command> that can be used to safely change a <command>\password</command> that can be used to safely change a
role's password. role's password.
</para> </para>
@ -219,7 +217,7 @@ ALTER ROLE <replaceable class="PARAMETER">name</replaceable> [ IN DATABASE <repl
<para> <para>
It is also possible to tie a It is also possible to tie a
session default to a specific database rather than to a role; see session default to a specific database rather than to a role; see
<xref linkend="sql-alterdatabase" endterm="sql-alterdatabase-title">. <xref linkend="sql-alterdatabase">.
If there is a conflict, database-role-specific settings override role-specific If there is a conflict, database-role-specific settings override role-specific
ones, which in turn override database-specific ones. ones, which in turn override database-specific ones.
</para> </para>
@ -300,9 +298,9 @@ ALTER ROLE fred IN DATABASE devel SET client_min_messages = DEBUG;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createrole" endterm="sql-createrole-title"></member> <member><xref linkend="sql-createrole"></member>
<member><xref linkend="sql-droprole" endterm="sql-droprole-title"></member> <member><xref linkend="sql-droprole"></member>
<member><xref linkend="sql-set" endterm="sql-set-title"></member> <member><xref linkend="sql-set"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_schema.sgml,v 1.11 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_schema.sgml,v 1.12 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSCHEMA"> <refentry id="SQL-ALTERSCHEMA">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERSCHEMA-title">ALTER SCHEMA</refentrytitle> <refentrytitle>ALTER SCHEMA</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -92,8 +92,8 @@ ALTER SCHEMA <replaceable>name</replaceable> OWNER TO <replaceable>new_owner</re
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createschema" endterm="sql-createschema-title"></member> <member><xref linkend="sql-createschema"></member>
<member><xref linkend="sql-dropschema" endterm="sql-dropschema-title"></member> <member><xref linkend="sql-dropschema"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_sequence.sgml,v 1.24 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_sequence.sgml,v 1.25 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSEQUENCE"> <refentry id="SQL-ALTERSEQUENCE">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERSEQUENCE-TITLE">ALTER SEQUENCE</refentrytitle> <refentrytitle>ALTER SEQUENCE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -302,8 +302,8 @@ ALTER SEQUENCE serial RESTART WITH 105;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createsequence" endterm="sql-createsequence-title"></member> <member><xref linkend="sql-createsequence"></member>
<member><xref linkend="sql-dropsequence" endterm="sql-dropsequence-title"></member> <member><xref linkend="sql-dropsequence"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_server.sgml,v 1.3 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_server.sgml,v 1.4 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERSERVER"> <refentry id="SQL-ALTERSERVER">
<refmeta> <refmeta>
<refentrytitle id="sql-alterserver-title">ALTER SERVER</refentrytitle> <refentrytitle>ALTER SERVER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -116,8 +116,8 @@ ALTER SERVER foo VERSION '8.4' OPTIONS (SET host 'baz');
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createserver" endterm="sql-createserver-title"></member> <member><xref linkend="sql-createserver"></member>
<member><xref linkend="sql-dropserver" endterm="sql-dropserver-title"></member> <member><xref linkend="sql-dropserver"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.111 2010/01/22 17:30:24 rhaas Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.112 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTABLE"> <refentry id="SQL-ALTERTABLE">
<refmeta> <refmeta>
<refentrytitle id="sql-altertable-title">ALTER TABLE</refentrytitle> <refentrytitle>ALTER TABLE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -78,7 +78,7 @@ ALTER TABLE <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" endterm="SQL-CREATETABLE-TITLE">. <xref linkend="SQL-CREATETABLE">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -147,7 +147,7 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
<para> <para>
This form This form
sets the per-column statistics-gathering target for subsequent sets the per-column statistics-gathering target for subsequent
<xref linkend="sql-analyze" endterm="sql-analyze-title"> operations. <xref linkend="sql-analyze"> operations.
The target can be set in the range 0 to 10000; alternatively, set it The target can be set in the range 0 to 10000; alternatively, set it
to -1 to revert to using the system default statistics to -1 to revert to using the system default statistics
target (<xref linkend="guc-default-statistics-target">). target (<xref linkend="guc-default-statistics-target">).
@ -167,7 +167,7 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
define attribute-level options are <literal>n_distinct</> and define attribute-level options are <literal>n_distinct</> and
<literal>n_distinct_inherited</>, which override the <literal>n_distinct_inherited</>, which override the
number-of-distinct-values estimate made by subsequent number-of-distinct-values estimate made by subsequent
<xref linkend="sql-analyze" endterm="sql-analyze-title"> <xref linkend="sql-analyze">
operations. <literal>n_distinct</> affects the statistics for the table operations. <literal>n_distinct</> affects the statistics for the table
itself, while <literal>n_distinct_inherited</> affects the statistics itself, while <literal>n_distinct_inherited</> affects the statistics
gathered for the table and its inheritance children. When set to a gathered for the table and its inheritance children. When set to a
@ -223,7 +223,7 @@ ALTER TABLE <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" endterm="SQL-CREATETABLE-TITLE">. <xref linkend="SQL-CREATETABLE">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -284,7 +284,7 @@ ALTER TABLE <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" endterm="sql-cluster-title"> <xref linkend="SQL-CLUSTER">
operations. It does not actually re-cluster the table. operations. It does not actually re-cluster the table.
</para> </para>
</listitem> </listitem>
@ -295,7 +295,7 @@ ALTER TABLE <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" endterm="sql-cluster-title"> <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>
@ -338,12 +338,12 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
<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 <xref linkend="SQL-CLUSTER" That can be done with <xref linkend="SQL-CLUSTER">
endterm="sql-cluster-title"> or one of the forms of <command>ALTER or one of the forms of <command>ALTER
TABLE</> that forces a table rewrite. TABLE</> that forces a table rewrite.
</para> </para>
@ -426,7 +426,7 @@ ALTER TABLE <replaceable class="PARAMETER">name</replaceable>
Indexes on the table, if any, are not moved; but they can be moved Indexes on the table, if any, are not moved; but they can be moved
separately with additional <literal>SET TABLESPACE</literal> commands. separately with additional <literal>SET TABLESPACE</literal> commands.
See also See also
<xref linkend="SQL-CREATETABLESPACE" endterm="sql-createtablespace-title">. <xref linkend="SQL-CREATETABLESPACE">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -774,8 +774,7 @@ ALTER TABLE table ALTER COLUMN anycol TYPE anytype;
</para> </para>
<para> <para>
Refer to <xref linkend="sql-createtable" Refer to <xref linkend="sql-createtable"> for a further description of valid
endterm="sql-createtable-title"> for a further description of valid
parameters. <xref linkend="ddl"> has further information on parameters. <xref linkend="ddl"> has further information on
inheritance. inheritance.
</para> </para>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tablespace.sgml,v 1.6 2010/01/05 21:53:58 rhaas Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_tablespace.sgml,v 1.7 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTABLESPACE"> <refentry id="SQL-ALTERTABLESPACE">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERTABLESPACE-TITLE">ALTER TABLESPACE</refentrytitle> <refentrytitle>ALTER TABLESPACE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -128,8 +128,8 @@ ALTER TABLESPACE index_space OWNER TO mary;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"></member> <member><xref linkend="sql-createtablespace"></member>
<member><xref linkend="sql-droptablespace" endterm="sql-droptablespace-title"></member> <member><xref linkend="sql-droptablespace"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_trigger.sgml,v 1.12 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_trigger.sgml,v 1.13 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTRIGGER"> <refentry id="SQL-ALTERTRIGGER">
<refmeta> <refmeta>
<refentrytitle id="sql-altertrigger-title">ALTER TRIGGER</refentrytitle> <refentrytitle>ALTER TRIGGER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -78,7 +78,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" endterm="SQL-ALTERTABLE-TITLE">, not by <xref linkend="SQL-ALTERTABLE">, not by
<command>ALTER TRIGGER</>, because <command>ALTER TRIGGER</> has no <command>ALTER TRIGGER</>, because <command>ALTER TRIGGER</> 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.
@ -109,7 +109,7 @@ ALTER TRIGGER emp_stamp ON emp RENAME TO emp_track_chgs;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertable" endterm="sql-altertable-title"></member> <member><xref linkend="sql-altertable"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsconfig.sgml,v 1.5 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsconfig.sgml,v 1.6 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSCONFIG"> <refentry id="SQL-ALTERTSCONFIG">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERTSCONFIG-TITLE">ALTER TEXT SEARCH CONFIGURATION</refentrytitle> <refentrytitle>ALTER TEXT SEARCH CONFIGURATION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -172,8 +172,8 @@ ALTER TEXT SEARCH CONFIGURATION my_config
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtsconfig" endterm="sql-createtsconfig-title"></member> <member><xref linkend="sql-createtsconfig"></member>
<member><xref linkend="sql-droptsconfig" endterm="sql-droptsconfig-title"></member> <member><xref linkend="sql-droptsconfig"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsdictionary.sgml,v 1.5 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsdictionary.sgml,v 1.6 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSDICTIONARY"> <refentry id="SQL-ALTERTSDICTIONARY">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERTSDICTIONARY-TITLE">ALTER TEXT SEARCH DICTIONARY</refentrytitle> <refentrytitle>ALTER TEXT SEARCH DICTIONARY</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -153,8 +153,8 @@ ALTER TEXT SEARCH DICTIONARY my_dict ( dummy );
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtsdictionary" endterm="sql-createtsdictionary-title"></member> <member><xref linkend="sql-createtsdictionary"></member>
<member><xref linkend="sql-droptsdictionary" endterm="sql-droptsdictionary-title"></member> <member><xref linkend="sql-droptsdictionary"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsparser.sgml,v 1.3 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_tsparser.sgml,v 1.4 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSPARSER"> <refentry id="SQL-ALTERTSPARSER">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERTSPARSER-TITLE">ALTER TEXT SEARCH PARSER</refentrytitle> <refentrytitle>ALTER TEXT SEARCH PARSER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -76,8 +76,8 @@ ALTER TEXT SEARCH PARSER <replaceable>name</replaceable> RENAME TO <replaceable>
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtsparser" endterm="sql-createtsparser-title"></member> <member><xref linkend="sql-createtsparser"></member>
<member><xref linkend="sql-droptsparser" endterm="sql-droptsparser-title"></member> <member><xref linkend="sql-droptsparser"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_tstemplate.sgml,v 1.3 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_tstemplate.sgml,v 1.4 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTSTEMPLATE"> <refentry id="SQL-ALTERTSTEMPLATE">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERTSTEMPLATE-TITLE">ALTER TEXT SEARCH TEMPLATE</refentrytitle> <refentrytitle>ALTER TEXT SEARCH TEMPLATE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -76,8 +76,8 @@ ALTER TEXT SEARCH TEMPLATE <replaceable>name</replaceable> RENAME TO <replaceabl
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtstemplate" endterm="sql-createtstemplate-title"></member> <member><xref linkend="sql-createtstemplate"></member>
<member><xref linkend="sql-droptstemplate" endterm="sql-droptstemplate-title"></member> <member><xref linkend="sql-droptstemplate"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_type.sgml,v 1.7 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_type.sgml,v 1.8 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERTYPE"> <refentry id="SQL-ALTERTYPE">
<refmeta> <refmeta>
<refentrytitle id="sql-altertype-title">ALTER TYPE</refentrytitle> <refentrytitle>ALTER TYPE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.47 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_user.sgml,v 1.48 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERUSER"> <refentry id="SQL-ALTERUSER">
<refmeta> <refmeta>
<refentrytitle id="sql-alteruser-title">ALTER USER</refentrytitle> <refentrytitle>ALTER USER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -49,7 +49,7 @@ ALTER USER <replaceable class="PARAMETER">name</replaceable> RESET ALL
<para> <para>
<command>ALTER USER</command> is now an alias for <command>ALTER USER</command> is now an alias for
<xref linkend="sql-alterrole" endterm="sql-alterrole-title">. <xref linkend="sql-alterrole">.
</para> </para>
</refsect1> </refsect1>
@ -67,7 +67,7 @@ ALTER USER <replaceable class="PARAMETER">name</replaceable> RESET ALL
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterrole" endterm="sql-alterrole-title"></member> <member><xref linkend="sql-alterrole"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_user_mapping.sgml,v 1.4 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_user_mapping.sgml,v 1.5 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERUSERMAPPING"> <refentry id="SQL-ALTERUSERMAPPING">
<refmeta> <refmeta>
<refentrytitle id="sql-alterusermapping-title">ALTER USER MAPPING</refentrytitle> <refentrytitle>ALTER USER MAPPING</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -117,8 +117,8 @@ ALTER USER MAPPING FOR bob SERVER foo OPTIONS (user 'bob', password 'public');
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createusermapping" endterm="sql-createusermapping-title"></member> <member><xref linkend="sql-createusermapping"></member>
<member><xref linkend="sql-dropusermapping" endterm="sql-dropusermapping-title"></member> <member><xref linkend="sql-dropusermapping"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/alter_view.sgml,v 1.5 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/alter_view.sgml,v 1.6 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ALTERVIEW"> <refentry id="SQL-ALTERVIEW">
<refmeta> <refmeta>
<refentrytitle id="SQL-ALTERVIEW-TITLE">ALTER VIEW</refentrytitle> <refentrytitle>ALTER VIEW</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -140,8 +140,8 @@ ALTER VIEW foo RENAME TO bar;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createview" endterm="sql-createview-title"></member> <member><xref linkend="sql-createview"></member>
<member><xref linkend="sql-dropview" endterm="sql-dropview-title"></member> <member><xref linkend="sql-dropview"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/analyze.sgml,v 1.28 2010/01/22 16:40:18 rhaas Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/analyze.sgml,v 1.29 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-ANALYZE"> <refentry id="SQL-ANALYZE">
<refmeta> <refmeta>
<refentrytitle id="sql-analyze-title">ANALYZE</refentrytitle> <refentrytitle>ANALYZE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -102,7 +102,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
just after making major changes in the contents of a table. Accurate just after making major changes in the contents of a table. Accurate
statistics will help the planner to choose the most appropriate query statistics will help the planner to choose the most appropriate query
plan, and thereby improve the speed of query processing. A common plan, and thereby improve the speed of query processing. A common
strategy is to run <xref linkend="sql-vacuum" endterm="sql-vacuum-title"> strategy is to run <xref linkend="sql-vacuum">
and <command>ANALYZE</command> once a day during a low-usage time of day. and <command>ANALYZE</command> once a day during a low-usage time of day.
</para> </para>
@ -132,7 +132,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
will change slightly each time <command>ANALYZE</command> is run, will change slightly each time <command>ANALYZE</command> is run,
even if the actual table contents did not change. This might result even if the actual table contents did not change. This might result
in small changes in the planner's estimated costs shown by in small changes in the planner's estimated costs shown by
<xref linkend="sql-explain" endterm="sql-explain-title">. <xref linkend="sql-explain">.
In rare situations, this non-determinism will cause the planner's In rare situations, this non-determinism will cause the planner's
choices of query plans to change after <command>ANALYZE</command> is run. choices of query plans to change after <command>ANALYZE</command> is run.
To avoid this, raise the amount of statistics collected by To avoid this, raise the amount of statistics collected by
@ -144,8 +144,8 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
<xref linkend="guc-default-statistics-target"> configuration variable, or <xref linkend="guc-default-statistics-target"> configuration variable, or
on a column-by-column basis by setting the per-column statistics on a column-by-column basis by setting the per-column statistics
target with <command>ALTER TABLE ... ALTER COLUMN ... SET target with <command>ALTER TABLE ... ALTER COLUMN ... SET
STATISTICS</command> (see <xref linkend="sql-altertable" STATISTICS</command> (see <xref linkend="sql-altertable">).
endterm="sql-altertable-title">). The target value sets the The target value sets the
maximum number of entries in the most-common-value list and the maximum number of entries in the most-common-value list and the
maximum number of bins in the histogram. The default target value maximum number of bins in the histogram. The default target value
is 100, but this can be adjusted up or down to trade off accuracy of is 100, but this can be adjusted up or down to trade off accuracy of
@ -174,7 +174,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
bad query plans, a more accurate value can be determined manually and then bad query plans, a more accurate value can be determined manually and then
installed with installed with
<command>ALTER TABLE ... ALTER COLUMN ... SET (n_distinct = ...)</> <command>ALTER TABLE ... ALTER COLUMN ... SET (n_distinct = ...)</>
(see <xref linkend="sql-altertable" endterm="sql-altertable-title">). (see <xref linkend="sql-altertable">).
</para> </para>
</refsect1> </refsect1>
@ -190,10 +190,10 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table</replaceable> [ ( <re
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-vacuum" endterm="sql-vacuum-title"></member> <member><xref linkend="sql-vacuum"></member>
<member><xref linkend="app-vacuumdb" endterm="app-vacuumdb-title"></member> <member><xref linkend="app-vacuumdb"></member>
<member><xref linkend="runtime-config-resource-vacuum-cost" endterm="runtime-config-resource-vacuum-cost-title"></member> <member><xref linkend="runtime-config-resource-vacuum-cost"></member>
<member><xref linkend="autovacuum" endterm="autovacuum-title"></member> <member><xref linkend="autovacuum"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/begin.sgml,v 1.38 2009/09/18 05:00:41 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/begin.sgml,v 1.39 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-BEGIN"> <refentry id="SQL-BEGIN">
<refmeta> <refmeta>
<refentrytitle id="SQL-BEGIN-TITLE">BEGIN</refentrytitle> <refentrytitle>BEGIN</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -37,8 +37,8 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
<command>BEGIN</command> initiates a transaction block, that is, <command>BEGIN</command> initiates a transaction block, that is,
all statements after a <command>BEGIN</command> command will be all statements after a <command>BEGIN</command> command will be
executed in a single transaction until an explicit <xref executed in a single transaction until an explicit <xref
linkend="sql-commit" endterm="sql-commit-title"> or <xref linkend="sql-commit"> or <xref
linkend="sql-rollback" endterm="sql-rollback-title"> is given. linkend="sql-rollback"> is given.
By default (without <command>BEGIN</command>), By default (without <command>BEGIN</command>),
<productname>PostgreSQL</productname> executes <productname>PostgreSQL</productname> executes
transactions in <quote>autocommit</quote> mode, that is, each transactions in <quote>autocommit</quote> mode, that is, each
@ -59,7 +59,7 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
<para> <para>
If the isolation level or read/write mode is specified, the new If the isolation level or read/write mode is specified, the new
transaction has those characteristics, as if transaction has those characteristics, as if
<xref linkend="sql-set-transaction" endterm="sql-set-transaction-title"> <xref linkend="sql-set-transaction">
was executed. was executed.
</para> </para>
</refsect1> </refsect1>
@ -80,8 +80,7 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
</variablelist> </variablelist>
<para> <para>
Refer to <xref linkend="sql-set-transaction" Refer to <xref linkend="sql-set-transaction"> for information on the meaning
endterm="sql-set-transaction-title"> for information on the meaning
of the other parameters to this statement. of the other parameters to this statement.
</para> </para>
</refsect1> </refsect1>
@ -90,14 +89,13 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
<title>Notes</title> <title>Notes</title>
<para> <para>
<xref linkend="sql-start-transaction" <xref linkend="sql-start-transaction"> has the same functionality
endterm="sql-start-transaction-title"> has the same functionality
as <command>BEGIN</>. as <command>BEGIN</>.
</para> </para>
<para> <para>
Use <xref linkend="SQL-COMMIT" endterm="SQL-COMMIT-TITLE"> or Use <xref linkend="SQL-COMMIT"> or
<xref linkend="SQL-ROLLBACK" endterm="SQL-ROLLBACK-TITLE"> <xref linkend="SQL-ROLLBACK">
to terminate a transaction block. to terminate a transaction block.
</para> </para>
@ -105,7 +103,7 @@ BEGIN [ WORK | TRANSACTION ] [ <replaceable class="parameter">transaction_mode</
Issuing <command>BEGIN</> when already inside a transaction block will Issuing <command>BEGIN</> when already inside a transaction block will
provoke a warning message. The state of the transaction is not affected. provoke a warning message. The state of the transaction is not affected.
To nest transactions within a transaction block, use savepoints To nest transactions within a transaction block, use savepoints
(see <xref linkend="sql-savepoint" endterm="sql-savepoint-title">). (see <xref linkend="sql-savepoint">).
</para> </para>
<para> <para>
@ -133,8 +131,7 @@ BEGIN;
<para> <para>
<command>BEGIN</command> is a <productname>PostgreSQL</productname> <command>BEGIN</command> is a <productname>PostgreSQL</productname>
language extension. It is equivalent to the SQL-standard command language extension. It is equivalent to the SQL-standard command
<xref linkend="sql-start-transaction" <xref linkend="sql-start-transaction">, whose reference page
endterm="sql-start-transaction-title">, whose reference page
contains additional compatibility information. contains additional compatibility information.
</para> </para>
@ -149,10 +146,10 @@ BEGIN;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-commit" endterm="sql-commit-title"></member> <member><xref linkend="sql-commit"></member>
<member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member> <member><xref linkend="sql-rollback"></member>
<member><xref linkend="sql-start-transaction" endterm="sql-start-transaction-title"></member> <member><xref linkend="sql-start-transaction"></member>
<member><xref linkend="sql-savepoint" endterm="sql-savepoint-title"></member> <member><xref linkend="sql-savepoint"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,8 +1,8 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/checkpoint.sgml,v 1.17 2009/12/19 01:32:31 sriggs Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/ref/checkpoint.sgml,v 1.18 2010/04/03 07:22:57 petere Exp $ -->
<refentry id="sql-checkpoint"> <refentry id="sql-checkpoint">
<refmeta> <refmeta>
<refentrytitle id="sql-checkpoint-title">CHECKPOINT</refentrytitle> <refentrytitle>CHECKPOINT</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.28 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/close.sgml,v 1.29 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CLOSE"> <refentry id="SQL-CLOSE">
<refmeta> <refmeta>
<refentrytitle id="SQL-CLOSE-TITLE">CLOSE</refentrytitle> <refentrytitle>CLOSE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -84,7 +84,7 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
<productname>PostgreSQL</productname> does not have an explicit <productname>PostgreSQL</productname> does not have an explicit
<command>OPEN</command> cursor statement; a cursor is considered <command>OPEN</command> cursor statement; a cursor is considered
open when it is declared. Use the open when it is declared. Use the
<xref linkend="sql-declare" endterm="sql-declare-title"> <xref linkend="sql-declare">
statement to declare a cursor. statement to declare a cursor.
</para> </para>
@ -125,9 +125,9 @@ CLOSE liahona;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-declare" endterm="sql-declare-title"></member> <member><xref linkend="sql-declare"></member>
<member><xref linkend="sql-fetch" endterm="sql-fetch-title"></member> <member><xref linkend="sql-fetch"></member>
<member><xref linkend="sql-move" endterm="sql-move-title"></member> <member><xref linkend="sql-move"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/cluster.sgml,v 1.48 2010/02/07 20:48:09 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/cluster.sgml,v 1.49 2010/04/03 07:22:57 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CLUSTER"> <refentry id="SQL-CLUSTER">
<refmeta> <refmeta>
<refentrytitle id="sql-cluster-title">CLUSTER</refentrytitle> <refentrytitle>CLUSTER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -141,8 +141,8 @@ CLUSTER [VERBOSE]
<para> <para>
Because the planner records statistics about the ordering of Because the planner records statistics about the ordering of
tables, it is advisable to run <xref linkend="sql-analyze" tables, it is advisable to run <xref linkend="sql-analyze">
endterm="sql-analyze-title"> on the newly clustered table. on the newly clustered table.
Otherwise, the planner might make poor choices of query plans. Otherwise, the planner might make poor choices of query plans.
</para> </para>
@ -226,7 +226,7 @@ CLUSTER <replaceable class="PARAMETER">index_name</replaceable> ON <replaceable
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="app-clusterdb" endterm="app-clusterdb-title"></member> <member><xref linkend="app-clusterdb"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.27 2010/02/19 14:36:45 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.28 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="APP-CLUSTERDB"> <refentry id="APP-CLUSTERDB">
<refmeta> <refmeta>
<refentrytitle id="APP-CLUSTERDB-TITLE"><application>clusterdb</application></refentrytitle> <refentrytitle><application>clusterdb</application></refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
<refmiscinfo>Application</refmiscinfo> <refmiscinfo>Application</refmiscinfo>
</refmeta> </refmeta>
@ -48,7 +48,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" endterm="sql-cluster-title">. 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>
@ -263,8 +263,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">
endterm="sql-cluster-title"> 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
@ -300,7 +300,7 @@ PostgreSQL documentation
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-cluster" endterm="sql-cluster-title"></member> <member><xref linkend="sql-cluster"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/comment.sgml,v 1.39 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/comment.sgml,v 1.40 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMENT"> <refentry id="SQL-COMMENT">
<refmeta> <refmeta>
<refentrytitle id="SQL-COMMENT-TITLE">COMMENT</refentrytitle> <refentrytitle>COMMENT</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/commit.sgml,v 1.21 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/commit.sgml,v 1.22 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMIT"> <refentry id="SQL-COMMIT">
<refmeta> <refmeta>
<refentrytitle id="SQL-COMMIT-TITLE">COMMIT</refentrytitle> <refentrytitle>COMMIT</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -55,7 +55,7 @@ COMMIT [ WORK | TRANSACTION ]
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-ROLLBACK" endterm="SQL-ROLLBACK-TITLE"> to Use <xref linkend="SQL-ROLLBACK"> to
abort a transaction. abort a transaction.
</para> </para>
@ -90,8 +90,8 @@ COMMIT;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-begin" endterm="sql-begin-title"></member> <member><xref linkend="sql-begin"></member>
<member><xref linkend="sql-rollback" endterm="sql-rollback-title"></member> <member><xref linkend="sql-rollback"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/commit_prepared.sgml,v 1.4 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/commit_prepared.sgml,v 1.5 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COMMIT-PREPARED"> <refentry id="SQL-COMMIT-PREPARED">
<refmeta> <refmeta>
<refentrytitle id="sql-commit-prepared-title">COMMIT PREPARED</refentrytitle> <refentrytitle>COMMIT PREPARED</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -88,8 +88,8 @@ COMMIT PREPARED 'foobar';
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-prepare-transaction" endterm="sql-prepare-transaction-title"></member> <member><xref linkend="sql-prepare-transaction"></member>
<member><xref linkend="sql-rollback-prepared" endterm="sql-rollback-prepared-title"></member> <member><xref linkend="sql-rollback-prepared"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,12 +1,12 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.95 2010/02/23 21:38:35 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.96 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-COPY"> <refentry id="SQL-COPY">
<refmeta> <refmeta>
<refentrytitle id="sql-copy-title">COPY</refentrytitle> <refentrytitle>COPY</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -103,8 +103,8 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
<term><replaceable class="parameter">query</replaceable></term> <term><replaceable class="parameter">query</replaceable></term>
<listitem> <listitem>
<para> <para>
A <xref linkend="sql-select" endterm="sql-select-title"> or A <xref linkend="sql-select"> or
<xref linkend="sql-values" endterm="sql-values-title"> command <xref linkend="sql-values"> command
whose results are to be copied. whose results are to be copied.
Note that parentheses are required around the query. Note that parentheses are required around the query.
</para> </para>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.39 2008/11/14 10:22:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.40 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEAGGREGATE"> <refentry id="SQL-CREATEAGGREGATE">
<refmeta> <refmeta>
<refentrytitle id="sql-createaggregate-title">CREATE AGGREGATE</refentrytitle> <refentrytitle>CREATE AGGREGATE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -304,8 +304,8 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alteraggregate" endterm="sql-alteraggregate-title"></member> <member><xref linkend="sql-alteraggregate"></member>
<member><xref linkend="sql-dropaggregate" endterm="sql-dropaggregate-title"></member> <member><xref linkend="sql-dropaggregate"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,8 +1,8 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.32 2009/09/19 10:23:26 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_cast.sgml,v 1.33 2010/04/03 07:22:58 petere Exp $ -->
<refentry id="SQL-CREATECAST"> <refentry id="SQL-CREATECAST">
<refmeta> <refmeta>
<refentrytitle id="SQL-CREATECAST-TITLE">CREATE CAST</refentrytitle> <refentrytitle>CREATE CAST</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -150,7 +150,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
ambiguity that cannot be avoided as above. The parser has a fallback ambiguity that cannot be avoided as above. The parser has a fallback
heuristic based on <firstterm>type categories</> and <firstterm>preferred heuristic based on <firstterm>type categories</> and <firstterm>preferred
types</> that can help to provide desired behavior in such cases. See types</> that can help to provide desired behavior in such cases. See
<xref linkend="sql-createtype" endterm="sql-createtype-title"> for <xref linkend="sql-createtype"> for
more information. more information.
</para> </para>
</note> </note>
@ -290,8 +290,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="sql-dropcast" Use <xref linkend="sql-dropcast"> to remove user-defined casts.
endterm="sql-dropcast-title"> to remove user-defined casts.
</para> </para>
<para> <para>
@ -401,9 +400,9 @@ CREATE CAST (bigint AS int4) WITH FUNCTION int4(bigint) AS ASSIGNMENT;
<title>See Also</title> <title>See Also</title>
<para> <para>
<xref linkend="sql-createfunction" endterm="sql-createfunction-title">, <xref linkend="sql-createfunction">,
<xref linkend="sql-createtype" endterm="sql-createtype-title">, <xref linkend="sql-createtype">,
<xref linkend="sql-dropcast" endterm="sql-dropcast-title"> <xref linkend="sql-dropcast">
</para> </para>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_constraint.sgml,v 1.21 2009/11/20 20:38:09 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_constraint.sgml,v 1.22 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATECONSTRAINT"> <refentry id="SQL-CREATECONSTRAINT">
<refmeta> <refmeta>
<refentrytitle id="sql-createconstraint-title">CREATE CONSTRAINT TRIGGER</refentrytitle> <refentrytitle>CREATE CONSTRAINT TRIGGER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -39,7 +39,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<command>CREATE CONSTRAINT TRIGGER</command> creates a <command>CREATE CONSTRAINT TRIGGER</command> creates a
<firstterm>constraint trigger</>. This is the same as a regular trigger <firstterm>constraint trigger</>. This is the same as a regular trigger
except that the timing of the trigger firing can be adjusted using except that the timing of the trigger firing can be adjusted using
<xref linkend="SQL-SET-CONSTRAINTS" endterm="SQL-SET-CONSTRAINTS-TITLE">. <xref linkend="SQL-SET-CONSTRAINTS">.
Constraint triggers must be <literal>AFTER ROW</> triggers. They can Constraint triggers must be <literal>AFTER ROW</> triggers. They can
be fired either at the end of the statement causing the triggering event, be fired either at the end of the statement causing the triggering event,
or at the end of the containing transaction; in the latter case they are or at the end of the containing transaction; in the latter case they are
@ -104,7 +104,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
The default timing of the trigger. The default timing of the trigger.
See the <xref linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-TITLE"> See the <xref linkend="SQL-CREATETABLE">
documentation for details of these constraint options. documentation for details of these constraint options.
</para> </para>
</listitem> </listitem>
@ -116,7 +116,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<para> <para>
A Boolean expression that determines whether the trigger function A Boolean expression that determines whether the trigger function
will actually be executed. This acts the same as in <xref will actually be executed. This acts the same as in <xref
linkend="SQL-CREATETRIGGER" endterm="SQL-CREATETRIGGER-TITLE">. linkend="SQL-CREATETRIGGER">.
Note in particular that evaluation of the <literal>WHEN</> Note in particular that evaluation of the <literal>WHEN</>
condition is not deferred, but occurs immediately after the row condition is not deferred, but occurs immediately after the row
update operation is performed. If the condition does not evaluate update operation is performed. If the condition does not evaluate
@ -131,7 +131,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
The function to call when the trigger is fired. See <xref The function to call when the trigger is fired. See <xref
linkend="SQL-CREATETRIGGER" endterm="SQL-CREATETRIGGER-TITLE"> for linkend="SQL-CREATETRIGGER"> for
details. details.
</para> </para>
</listitem> </listitem>
@ -142,7 +142,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<listitem> <listitem>
<para> <para>
Optional argument strings to pass to the trigger function. See <xref Optional argument strings to pass to the trigger function. See <xref
linkend="SQL-CREATETRIGGER" endterm="SQL-CREATETRIGGER-TITLE"> for linkend="SQL-CREATETRIGGER"> for
details. details.
</para> </para>
</listitem> </listitem>
@ -163,9 +163,9 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtrigger" endterm="sql-createtrigger-title"></member> <member><xref linkend="sql-createtrigger"></member>
<member><xref linkend="sql-droptrigger" endterm="sql-droptrigger-title"></member> <member><xref linkend="sql-droptrigger"></member>
<member><xref linkend="sql-set-constraints" endterm="sql-set-constraints-title"></member> <member><xref linkend="sql-set-constraints"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,8 +1,8 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.22 2009/09/19 10:23:26 petere Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/ref/create_conversion.sgml,v 1.23 2010/04/03 07:22:58 petere Exp $ -->
<refentry id="SQL-CREATECONVERSION"> <refentry id="SQL-CREATECONVERSION">
<refmeta> <refmeta>
<refentrytitle id="SQL-CREATECONVERSION-TITLE">CREATE CONVERSION</refentrytitle> <refentrytitle>CREATE CONVERSION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -162,9 +162,9 @@ CREATE CONVERSION myconv FOR 'UTF8' TO 'LATIN1' FROM myfunc;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterconversion" endterm="sql-alterconversion-title"></member> <member><xref linkend="sql-alterconversion"></member>
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member> <member><xref linkend="sql-createfunction"></member>
<member><xref linkend="sql-dropconversion" endterm="sql-dropconversion-title"></member> <member><xref linkend="sql-dropconversion"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_database.sgml,v 1.53 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_database.sgml,v 1.54 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEDATABASE"> <refentry id="SQL-CREATEDATABASE">
<refmeta> <refmeta>
<refentrytitle id="sql-createdatabase-title">CREATE DATABASE</refentrytitle> <refentrytitle>CREATE DATABASE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -43,7 +43,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</> privilege. <literal>CREATEDB</> privilege.
See <xref linkend="SQL-CREATEUSER" endterm="SQL-CREATEUSER-title">. See <xref linkend="SQL-CREATEUSER">.
</para> </para>
<para> <para>
@ -147,7 +147,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
template database's tablespace. This template database's tablespace. This
tablespace will be the default tablespace used for objects tablespace will be the default tablespace used for objects
created in this database. See created in this database. See
<xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"> <xref linkend="sql-createtablespace">
for more information. for more information.
</para> </para>
</listitem> </listitem>
@ -185,11 +185,11 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
</para> </para>
<para> <para>
Use <xref linkend="SQL-DROPDATABASE" endterm="SQL-DROPDATABASE-title"> to remove a database. Use <xref linkend="SQL-DROPDATABASE"> to remove a database.
</para> </para>
<para> <para>
The program <xref linkend="APP-CREATEDB" endterm="APP-CREATEDB-title"> 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>
@ -287,8 +287,8 @@ CREATE DATABASE music ENCODING 'LATIN1' TEMPLATE template0;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterdatabase" endterm="sql-alterdatabase-title"></member> <member><xref linkend="sql-alterdatabase"></member>
<member><xref linkend="sql-dropdatabase" endterm="sql-dropdatabase-title"></member> <member><xref linkend="sql-dropdatabase"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.33 2009/09/18 05:00:41 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.34 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEDOMAIN"> <refentry id="SQL-CREATEDOMAIN">
<refmeta> <refmeta>
<refentrytitle id="sql-createdomain-title">CREATE DOMAIN</refentrytitle> <refentrytitle>CREATE DOMAIN</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -201,8 +201,8 @@ CREATE TABLE us_snail_addy (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterdomain" endterm="sql-alterdomain-title"></member> <member><xref linkend="sql-alterdomain"></member>
<member><xref linkend="sql-dropdomain" endterm="sql-dropdomain-title"></member> <member><xref linkend="sql-dropdomain"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_foreign_data_wrapper.sgml,v 1.6 2009/12/23 12:23:58 heikki Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_foreign_data_wrapper.sgml,v 1.7 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEFOREIGNDATAWRAPPER"> <refentry id="SQL-CREATEFOREIGNDATAWRAPPER">
<refmeta> <refmeta>
<refentrytitle id="sql-createforeigndatawrapper-title">CREATE FOREIGN DATA WRAPPER</refentrytitle> <refentrytitle>CREATE FOREIGN DATA WRAPPER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -167,10 +167,10 @@ CREATE FOREIGN DATA WRAPPER mywrapper
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterforeigndatawrapper" endterm="sql-alterforeigndatawrapper-title"></member> <member><xref linkend="sql-alterforeigndatawrapper"></member>
<member><xref linkend="sql-dropforeigndatawrapper" endterm="sql-dropforeigndatawrapper-title"></member> <member><xref linkend="sql-dropforeigndatawrapper"></member>
<member><xref linkend="sql-createserver" endterm="sql-createserver-title"></member> <member><xref linkend="sql-createserver"></member>
<member><xref linkend="sql-createusermapping" endterm="sql-createusermapping-title"></member> <member><xref linkend="sql-createusermapping"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,10 +1,10 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.93 2010/03/03 03:23:12 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.94 2010/04/03 07:22:58 petere Exp $
--> -->
<refentry id="SQL-CREATEFUNCTION"> <refentry id="SQL-CREATEFUNCTION">
<refmeta> <refmeta>
<refentrytitle id="SQL-CREATEFUNCTION-TITLE">CREATE FUNCTION</refentrytitle> <refentrytitle>CREATE FUNCTION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -423,7 +423,7 @@ CREATE [ OR REPLACE ] FUNCTION
</para> </para>
<para> <para>
See <xref linkend="sql-set" endterm="sql-set-title"> and See <xref linkend="sql-set"> and
<xref linkend="runtime-config"> <xref linkend="runtime-config">
for more information about allowed parameter names and values. for more information about allowed parameter names and values.
</para> </para>
@ -702,7 +702,7 @@ $$ LANGUAGE plpgsql
<para> <para>
Another point to keep in mind is that by default, execute privilege Another point to keep in mind is that by default, execute privilege
is granted to <literal>PUBLIC</> for newly created functions is granted to <literal>PUBLIC</> for newly created functions
(see <xref linkend="sql-grant" endterm="sql-grant-title"> for more (see <xref linkend="sql-grant"> for more
information). Frequently you will wish to restrict use of a security information). Frequently you will wish to restrict use of a security
definer function to only some users. To do that, you must revoke definer function to only some users. To do that, you must revoke
the default <literal>PUBLIC</> privileges and then grant execute the default <literal>PUBLIC</> privileges and then grant execute
@ -752,12 +752,12 @@ COMMIT;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterfunction" endterm="sql-alterfunction-title"></member> <member><xref linkend="sql-alterfunction"></member>
<member><xref linkend="sql-dropfunction" endterm="sql-dropfunction-title"></member> <member><xref linkend="sql-dropfunction"></member>
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member> <member><xref linkend="sql-grant"></member>
<member><xref linkend="sql-load" endterm="sql-load-title"></member> <member><xref linkend="sql-load"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member> <member><xref linkend="sql-revoke"></member>
<member><xref linkend="app-createlang" endterm="app-createlang-title"></member> <member><xref linkend="app-createlang"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_group.sgml,v 1.21 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_group.sgml,v 1.22 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEGROUP"> <refentry id="SQL-CREATEGROUP">
<refmeta> <refmeta>
<refentrytitle id="sql-creategroup-title">CREATE GROUP</refentrytitle> <refentrytitle>CREATE GROUP</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -47,7 +47,7 @@ CREATE GROUP <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <repla
<para> <para>
<command>CREATE GROUP</command> is now an alias for <command>CREATE GROUP</command> is now an alias for
<xref linkend="sql-createrole" endterm="sql-createrole-title">. <xref linkend="sql-createrole">.
</para> </para>
</refsect1> </refsect1>
@ -64,7 +64,7 @@ CREATE GROUP <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <repla
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createrole" endterm="sql-createrole-title"></member> <member><xref linkend="sql-createrole"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_index.sgml,v 1.73 2010/03/17 15:55:50 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_index.sgml,v 1.74 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEINDEX"> <refentry id="SQL-CREATEINDEX">
<refmeta> <refmeta>
<refentrytitle id="sql-createindex-title">CREATE INDEX</refentrytitle> <refentrytitle>CREATE INDEX</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -488,7 +488,7 @@ Indexes:
</para> </para>
<para> <para>
Use <xref linkend="sql-dropindex" endterm="sql-dropindex-title"> Use <xref linkend="sql-dropindex">
to remove an index. to remove an index.
</para> </para>
@ -588,8 +588,8 @@ CREATE INDEX CONCURRENTLY sales_quantity_index ON sales_table (quantity);
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterindex" endterm="sql-alterindex-title"></member> <member><xref linkend="sql-alterindex"></member>
<member><xref linkend="sql-dropindex" endterm="sql-dropindex-title"></member> <member><xref linkend="sql-dropindex"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_language.sgml,v 1.49 2010/02/23 22:51:42 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_language.sgml,v 1.50 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATELANGUAGE"> <refentry id="SQL-CREATELANGUAGE">
<refmeta> <refmeta>
<refentrytitle id="sql-createlanguage-title">CREATE LANGUAGE</refentrytitle> <refentrytitle>CREATE LANGUAGE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -168,7 +168,7 @@ CREATE [ OR REPLACE ] [ TRUSTED ] [ PROCEDURAL ] LANGUAGE <replaceable class="pa
<replaceable class="parameter">inline_handler</replaceable> is the <replaceable class="parameter">inline_handler</replaceable> is the
name of a previously registered function that will be called name of a previously registered function that will be called
to execute an anonymous code block to execute an anonymous code block
(<xref linkend="sql-do" endterm="sql-do-title"> command) (<xref linkend="sql-do"> command)
in this language. in this language.
If no <replaceable class="parameter">inline_handler</replaceable> If no <replaceable class="parameter">inline_handler</replaceable>
function is specified, the language does not support anonymous code function is specified, the language does not support anonymous code
@ -227,7 +227,7 @@ CREATE [ OR REPLACE ] [ TRUSTED ] [ PROCEDURAL ] LANGUAGE <replaceable class="pa
</para> </para>
<para> <para>
Use <xref linkend="sql-droplanguage" endterm="sql-droplanguage-title">, or better yet the <xref Use <xref linkend="sql-droplanguage">, or better yet the <xref
linkend="app-droplang"> program, to drop procedural languages. linkend="app-droplang"> program, to drop procedural languages.
</para> </para>
@ -312,13 +312,13 @@ CREATE LANGUAGE plsample
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterlanguage" endterm="sql-alterlanguage-title"></member> <member><xref linkend="sql-alterlanguage"></member>
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member> <member><xref linkend="sql-createfunction"></member>
<member><xref linkend="sql-droplanguage" endterm="sql-droplanguage-title"></member> <member><xref linkend="sql-droplanguage"></member>
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member> <member><xref linkend="sql-grant"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member> <member><xref linkend="sql-revoke"></member>
<member><xref linkend="app-createlang" endterm="app-createlang-title"></member> <member><xref linkend="app-createlang"></member>
<member><xref linkend="app-droplang" endterm="app-droplang-title"></member> <member><xref linkend="app-droplang"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.24 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_opclass.sgml,v 1.25 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPCLASS"> <refentry id="SQL-CREATEOPCLASS">
<refmeta> <refmeta>
<refentrytitle id="sql-createopclass-title">CREATE OPERATOR CLASS</refentrytitle> <refentrytitle>CREATE OPERATOR CLASS</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -297,10 +297,10 @@ CREATE OPERATOR CLASS gist__int_ops
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alteropclass" endterm="sql-alteropclass-title"></member> <member><xref linkend="sql-alteropclass"></member>
<member><xref linkend="sql-dropopclass" endterm="sql-dropopclass-title"></member> <member><xref linkend="sql-dropopclass"></member>
<member><xref linkend="sql-createopfamily" endterm="sql-createopfamily-title"></member> <member><xref linkend="sql-createopfamily"></member>
<member><xref linkend="sql-alteropfamily" endterm="sql-alteropfamily-title"></member> <member><xref linkend="sql-alteropfamily"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.51 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.52 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPERATOR"> <refentry id="SQL-CREATEOPERATOR">
<refmeta> <refmeta>
<refentrytitle id="sql-createoperator-title">CREATE OPERATOR</refentrytitle> <refentrytitle>CREATE OPERATOR</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -231,10 +231,8 @@ COMMUTATOR = OPERATOR(myschema.===) ,
</para> </para>
<para> <para>
Use <xref linkend="sql-dropoperator" Use <xref linkend="sql-dropoperator"> to delete user-defined operators
endterm="sql-dropoperator-title"> to delete user-defined operators from a database. Use <xref linkend="sql-alteroperator"> to modify operators in a
from a database. Use <xref linkend="sql-alteroperator"
endterm="sql-alteroperator-title"> to modify operators in a
database. database.
</para> </para>
</refsect1> </refsect1>
@ -274,9 +272,9 @@ CREATE OPERATOR === (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alteroperator" endterm="sql-alteroperator-title"></member> <member><xref linkend="sql-alteroperator"></member>
<member><xref linkend="sql-createopclass" endterm="sql-createopclass-title"></member> <member><xref linkend="sql-createopclass"></member>
<member><xref linkend="sql-dropoperator" endterm="sql-dropoperator-title"></member> <member><xref linkend="sql-dropoperator"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.4 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_opfamily.sgml,v 1.5 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEOPFAMILY"> <refentry id="SQL-CREATEOPFAMILY">
<refmeta> <refmeta>
<refentrytitle id="sql-createopfamily-title">CREATE OPERATOR FAMILY</refentrytitle> <refentrytitle>CREATE OPERATOR FAMILY</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -108,11 +108,11 @@ CREATE OPERATOR FAMILY <replaceable class="parameter">name</replaceable> USING <
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alteropfamily" endterm="sql-alteropfamily-title"></member> <member><xref linkend="sql-alteropfamily"></member>
<member><xref linkend="sql-dropopfamily" endterm="sql-dropopfamily-title"></member> <member><xref linkend="sql-dropopfamily"></member>
<member><xref linkend="sql-createopclass" endterm="sql-createopclass-title"></member> <member><xref linkend="sql-createopclass"></member>
<member><xref linkend="sql-alteropclass" endterm="sql-alteropclass-title"></member> <member><xref linkend="sql-alteropclass"></member>
<member><xref linkend="sql-dropopclass" endterm="sql-dropopclass-title"></member> <member><xref linkend="sql-dropopclass"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.13 2009/09/19 10:23:26 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_role.sgml,v 1.14 2010/04/03 07:22:58 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATEROLE"> <refentry id="SQL-CREATEROLE">
<refmeta> <refmeta>
<refentrytitle id="sql-createrole-title">CREATE ROLE</refentrytitle> <refentrytitle>CREATE ROLE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -307,9 +307,9 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
<title>Notes</title> <title>Notes</title>
<para> <para>
Use <xref linkend="SQL-ALTERROLE" endterm="SQL-ALTERROLE-title"> 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">
endterm="SQL-DROPROLE-title"> to remove a role. All the attributes to remove a role. All the attributes
specified by <command>CREATE ROLE</> can be modified by later specified by <command>CREATE ROLE</> can be modified by later
<command>ALTER ROLE</> commands. <command>ALTER ROLE</> commands.
</para> </para>
@ -317,8 +317,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" endterm="SQL-GRANT-title"> and <xref linkend="SQL-GRANT"> and
<xref linkend="SQL-REVOKE" endterm="SQL-REVOKE-title">. <xref linkend="SQL-REVOKE">.
</para> </para>
<para> <para>
@ -336,7 +336,7 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
a member of a role with <literal>CREATEDB</> privilege does not immediately a member of a role with <literal>CREATEDB</> privilege does not immediately
grant the ability to create databases, even if <literal>INHERIT</> is set; grant the ability to create databases, even if <literal>INHERIT</> 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" endterm="SQL-SET-ROLE-title"> before <xref linkend="SQL-SET-ROLE"> before
creating a database. creating a database.
</para> </para>
@ -363,7 +363,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" endterm="APP-CREATEUSER-title"> 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>
@ -380,9 +380,9 @@ 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" endterm="APP-CREATEUSER-title">, however, transmits linkend="APP-CREATEUSER">, however, transmits
the password encrypted. Also, <xref linkend="app-psql" the password encrypted. Also, <xref linkend="app-psql">
endterm="app-psql-title"> 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
password later. password later.
</para> </para>
@ -459,11 +459,11 @@ CREATE ROLE <replaceable class="PARAMETER">name</> [ WITH ADMIN <replaceable cla
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-set-role" endterm="sql-set-role-title"></member> <member><xref linkend="sql-set-role"></member>
<member><xref linkend="sql-alterrole" endterm="sql-alterrole-title"></member> <member><xref linkend="sql-alterrole"></member>
<member><xref linkend="sql-droprole" endterm="sql-droprole-title"></member> <member><xref linkend="sql-droprole"></member>
<member><xref linkend="sql-grant" endterm="sql-grant-title"></member> <member><xref linkend="sql-grant"></member>
<member><xref linkend="sql-revoke" endterm="sql-revoke-title"></member> <member><xref linkend="sql-revoke"></member>
<member><xref linkend="app-createuser"></member> <member><xref linkend="app-createuser"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.53 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_rule.sgml,v 1.54 2010/04/03 07:22:59 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATERULE"> <refentry id="SQL-CREATERULE">
<refmeta> <refmeta>
<refentrytitle id="sql-createrule-title">CREATE RULE</refentrytitle> <refentrytitle>CREATE RULE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.21 2009/09/19 10:23:27 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.22 2010/04/03 07:22:59 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESCHEMA"> <refentry id="SQL-CREATESCHEMA">
<refmeta> <refmeta>
<refentrytitle id="sql-createschema-title">CREATE SCHEMA</refentrytitle> <refentrytitle>CREATE SCHEMA</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -184,8 +184,8 @@ CREATE VIEW hollywood.winners AS
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterschema" endterm="sql-alterschema-title"></member> <member><xref linkend="sql-alterschema"></member>
<member><xref linkend="sql-dropschema" endterm="sql-dropschema-title"></member> <member><xref linkend="sql-dropschema"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.49 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_sequence.sgml,v 1.50 2010/04/03 07:22:59 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESEQUENCE"> <refentry id="SQL-CREATESEQUENCE">
<refmeta> <refmeta>
<refentrytitle id="sql-createsequence-title">CREATE SEQUENCE</refentrytitle> <refentrytitle>CREATE SEQUENCE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -356,8 +356,8 @@ END;
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altersequence" endterm="sql-altersequence-title"></member> <member><xref linkend="sql-altersequence"></member>
<member><xref linkend="sql-dropsequence" endterm="sql-dropsequence-title"></member> <member><xref linkend="sql-dropsequence"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_server.sgml,v 1.6 2009/09/19 10:23:27 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_server.sgml,v 1.7 2010/04/03 07:22:59 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATESERVER"> <refentry id="SQL-CREATESERVER">
<refmeta> <refmeta>
<refentrytitle id="sql-createserver-title">CREATE SERVER</refentrytitle> <refentrytitle>CREATE SERVER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -152,10 +152,10 @@ CREATE SERVER myserver FOREIGN DATA WRAPPER pgsql OPTIONS (host 'foo', dbname 'f
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-alterserver" endterm="sql-alterserver-title"></member> <member><xref linkend="sql-alterserver"></member>
<member><xref linkend="sql-dropserver" endterm="sql-dropserver-title"></member> <member><xref linkend="sql-dropserver"></member>
<member><xref linkend="sql-createforeigndatawrapper" endterm="sql-createforeigndatawrapper-title"></member> <member><xref linkend="sql-createforeigndatawrapper"></member>
<member><xref linkend="sql-createusermapping" endterm="sql-createusermapping-title"></member> <member><xref linkend="sql-createusermapping"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.124 2010/04/01 00:18:21 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table.sgml,v 1.125 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETABLE"> <refentry id="SQL-CREATETABLE">
<refmeta> <refmeta>
<refentrytitle id="sql-createtable-title">CREATE TABLE</refentrytitle> <refentrytitle>CREATE TABLE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -484,7 +484,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
Each <replaceable class="parameter">exclude_element</replaceable> Each <replaceable class="parameter">exclude_element</replaceable>
can optionally specify an operator class and/or ordering options; can optionally specify an operator class and/or ordering options;
these are described fully under these are described fully under
<xref linkend="sql-createindex" endterm="sql-createindex-title">. <xref linkend="sql-createindex">.
</para> </para>
<para> <para>
@ -630,7 +630,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
constraint that is not deferrable will be checked immediately constraint that is not deferrable will be checked immediately
after every command. Checking of constraints that are after every command. Checking of constraints that are
deferrable can be postponed until the end of the transaction deferrable can be postponed until the end of the transaction
(using the <xref linkend="sql-set-constraints" endterm="sql-set-constraints-title"> command). (using the <xref linkend="sql-set-constraints"> command).
<literal>NOT DEFERRABLE</literal> is the default. <literal>NOT DEFERRABLE</literal> is the default.
Currently, only <literal>UNIQUE</>, <literal>PRIMARY KEY</>, Currently, only <literal>UNIQUE</>, <literal>PRIMARY KEY</>,
<literal>EXCLUDE</>, and <literal>EXCLUDE</>, and
@ -652,7 +652,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
statement. This is the default. If the constraint is statement. This is the default. If the constraint is
<literal>INITIALLY DEFERRED</literal>, it is checked only at the <literal>INITIALLY DEFERRED</literal>, it is checked only at the
end of the transaction. The constraint check time can be end of the transaction. The constraint check time can be
altered with the <xref linkend="sql-set-constraints" endterm="sql-set-constraints-title"> command. altered with the <xref linkend="sql-set-constraints"> command.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -690,7 +690,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
<para> <para>
To remove OIDs from a table after it has been created, use <xref To remove OIDs from a table after it has been created, use <xref
linkend="sql-altertable" endterm="sql-altertable-title">. linkend="sql-altertable">.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -733,7 +733,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
<para> <para>
All rows in the temporary table will be deleted at the end All rows in the temporary table will be deleted at the end
of each transaction block. Essentially, an automatic <xref of each transaction block. Essentially, an automatic <xref
linkend="sql-truncate" endterm="sql-truncate-title"> is done linkend="sql-truncate"> is done
at each commit. at each commit.
</para> </para>
</listitem> </listitem>
@ -794,8 +794,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
for tables, and for indexes associated with a <literal>UNIQUE</literal>, for tables, and for indexes associated with a <literal>UNIQUE</literal>,
<literal>PRIMARY KEY</literal>, or <literal>EXCLUDE</> constraint. <literal>PRIMARY KEY</literal>, or <literal>EXCLUDE</> constraint.
Storage parameters for Storage parameters for
indexes are documented in <xref linkend="SQL-CREATEINDEX" indexes are documented in <xref linkend="SQL-CREATEINDEX">. The storage parameters currently
endterm="sql-createindex-title">. The storage parameters currently
available for tables are listed below. For each parameter, unless noted, available for tables are listed below. For each parameter, unless noted,
there is an additional, identically named parameter, prefixed with there is an additional, identically named parameter, prefixed with
<literal>toast.</literal> which can be used to control the behavior of the <literal>toast.</literal> which can be used to control the behavior of the
@ -978,7 +977,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable class="PAR
index for each unique constraint and primary key constraint to index for each unique constraint and primary key constraint to
enforce uniqueness. Thus, it is not necessary to create an enforce uniqueness. Thus, it is not necessary to create an
index explicitly for primary key columns. (See <xref index explicitly for primary key columns. (See <xref
linkend="sql-createindex" endterm="sql-createindex-title"> for more information.) linkend="sql-createindex"> for more information.)
</para> </para>
<para> <para>
@ -1380,10 +1379,10 @@ CREATE TABLE employees OF employee_type (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertable" endterm="sql-altertable-title"></member> <member><xref linkend="sql-altertable"></member>
<member><xref linkend="sql-droptable" endterm="sql-droptable-title"></member> <member><xref linkend="sql-droptable"></member>
<member><xref linkend="sql-createtablespace" endterm="sql-createtablespace-title"></member> <member><xref linkend="sql-createtablespace"></member>
<member><xref linkend="sql-createtype" endterm="sql-createtype-title"></member> <member><xref linkend="sql-createtype"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.40 2008/11/20 14:04:45 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_table_as.sgml,v 1.41 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETABLEAS"> <refentry id="SQL-CREATETABLEAS">
<refmeta> <refmeta>
<refentrytitle id="sql-createtableas-title">CREATE TABLE AS</refentrytitle> <refentrytitle>CREATE TABLE AS</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -63,7 +63,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
<listitem> <listitem>
<para> <para>
Ignored for compatibility. Refer to <xref Ignored for compatibility. Refer to <xref
linkend="sql-createtable" endterm="sql-createtable-title"> for linkend="sql-createtable"> for
details. details.
</para> </para>
</listitem> </listitem>
@ -76,7 +76,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
<listitem> <listitem>
<para> <para>
If specified, the table is created as a temporary table. If specified, the table is created as a temporary table.
Refer to <xref linkend="sql-createtable" endterm="sql-createtable-title"> for details. Refer to <xref linkend="sql-createtable"> for details.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -115,8 +115,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
to specify that rows of the new table to specify that rows of the new table
should have OIDs (object identifiers) assigned to them, or should have OIDs (object identifiers) assigned to them, or
<literal>OIDS=FALSE</> to specify that the rows should not have OIDs. <literal>OIDS=FALSE</> to specify that the rows should not have OIDs.
See <xref linkend="sql-createtable" See <xref linkend="sql-createtable"> for more information.
endterm="sql-createtable-title"> for more information.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -159,7 +158,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
<para> <para>
All rows in the temporary table will be deleted at the end All rows in the temporary table will be deleted at the end
of each transaction block. Essentially, an automatic <xref of each transaction block. Essentially, an automatic <xref
linkend="sql-truncate" endterm="sql-truncate-title"> is done linkend="sql-truncate"> is done
at each commit. at each commit.
</para> </para>
</listitem> </listitem>
@ -197,10 +196,10 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
<listitem> <listitem>
<para> <para>
A <xref linkend="sql-select" A <xref linkend="sql-select"
endterm="sql-select-title">, <link linkend="sql-table">TABLE</link>, >, <link linkend="sql-table">TABLE</link>,
or or
<xref linkend="sql-values" endterm="sql-values-title"> command, <xref linkend="sql-values"> command,
or an <xref linkend="sql-execute" endterm="sql-execute-title"> command or an <xref linkend="sql-execute"> command
that runs a prepared <command>SELECT</>, <command>TABLE</>, or <command>VALUES</> query. that runs a prepared <command>SELECT</>, <command>TABLE</>, or <command>VALUES</> query.
</para> </para>
</listitem> </listitem>
@ -225,7 +224,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE <replaceable>table_name
<para> <para>
This command is functionally similar to <xref This command is functionally similar to <xref
linkend="sql-selectinto" endterm="sql-selectinto-title">, but it is linkend="sql-selectinto">, but it is
preferred since it is less likely to be confused with other uses of preferred since it is less likely to be confused with other uses of
the <command>SELECT INTO</> syntax. Furthermore, <command>CREATE the <command>SELECT INTO</> syntax. Furthermore, <command>CREATE
TABLE AS</command> offers a superset of the functionality offered TABLE AS</command> offers a superset of the functionality offered
@ -313,7 +312,7 @@ CREATE TEMP TABLE films_recent WITH (OIDS) ON COMMIT DROP AS
<para> <para>
<productname>PostgreSQL</> handles temporary tables in a way <productname>PostgreSQL</> handles temporary tables in a way
rather different from the standard; see rather different from the standard; see
<xref linkend="sql-createtable" endterm="sql-createtable-title"> <xref linkend="sql-createtable">
for details. for details.
</para> </para>
</listitem> </listitem>
@ -340,11 +339,11 @@ CREATE TEMP TABLE films_recent WITH (OIDS) ON COMMIT DROP AS
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createtable" endterm="sql-createtable-title"></member> <member><xref linkend="sql-createtable"></member>
<member><xref linkend="sql-execute" endterm="sql-execute-title"></member> <member><xref linkend="sql-execute"></member>
<member><xref linkend="sql-select" endterm="sql-select-title"></member> <member><xref linkend="sql-select"></member>
<member><xref linkend="sql-selectinto" endterm="sql-selectinto-title"></member> <member><xref linkend="sql-selectinto"></member>
<member><xref linkend="sql-values" endterm="sql-values-title"></member> <member><xref linkend="sql-values"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tablespace.sgml,v 1.10 2009/09/19 10:23:27 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tablespace.sgml,v 1.11 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETABLESPACE"> <refentry id="SQL-CREATETABLESPACE">
<refmeta> <refmeta>
<refentrytitle id="sql-createtablespace-title">CREATE TABLESPACE</refentrytitle> <refentrytitle>CREATE TABLESPACE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -135,11 +135,11 @@ CREATE TABLESPACE indexspace OWNER genevieve LOCATION '/data/indexes';
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createdatabase" endterm="sql-createdatabase-title"></member> <member><xref linkend="sql-createdatabase"></member>
<member><xref linkend="sql-createtable" endterm="sql-createtable-title"></member> <member><xref linkend="sql-createtable"></member>
<member><xref linkend="sql-createindex" endterm="sql-createindex-title"></member> <member><xref linkend="sql-createindex"></member>
<member><xref linkend="sql-droptablespace" endterm="sql-droptablespace-title"></member> <member><xref linkend="sql-droptablespace"></member>
<member><xref linkend="sql-altertablespace" endterm="sql-altertablespace-title"></member> <member><xref linkend="sql-altertablespace"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.52 2009/11/20 20:38:09 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.53 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETRIGGER"> <refentry id="SQL-CREATETRIGGER">
<refmeta> <refmeta>
<refentrytitle id="SQL-CREATETRIGGER-TITLE">CREATE TRIGGER</refentrytitle> <refentrytitle>CREATE TRIGGER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -233,8 +233,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
</para> </para>
<para> <para>
Use <xref linkend="sql-droptrigger" Use <xref linkend="sql-droptrigger"> to remove a trigger.
endterm="sql-droptrigger-title"> to remove a trigger.
</para> </para>
<para> <para>
@ -406,9 +405,9 @@ CREATE TRIGGER log_update
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-createfunction" endterm="sql-createfunction-title"></member> <member><xref linkend="sql-createfunction"></member>
<member><xref linkend="sql-altertrigger" endterm="sql-altertrigger-title"></member> <member><xref linkend="sql-altertrigger"></member>
<member><xref linkend="sql-droptrigger" endterm="sql-droptrigger-title"></member> <member><xref linkend="sql-droptrigger"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tsconfig.sgml,v 1.3 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tsconfig.sgml,v 1.4 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETSCONFIG"> <refentry id="SQL-CREATETSCONFIG">
<refmeta> <refmeta>
<refentrytitle id="sql-createtsconfig-title">CREATE TEXT SEARCH CONFIGURATION</refentrytitle> <refentrytitle>CREATE TEXT SEARCH CONFIGURATION</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -119,8 +119,8 @@ CREATE TEXT SEARCH CONFIGURATION <replaceable class="parameter">name</replaceabl
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertsconfig" endterm="sql-altertsconfig-title"></member> <member><xref linkend="sql-altertsconfig"></member>
<member><xref linkend="sql-droptsconfig" endterm="sql-droptsconfig-title"></member> <member><xref linkend="sql-droptsconfig"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tsdictionary.sgml,v 1.3 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tsdictionary.sgml,v 1.4 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETSDICTIONARY"> <refentry id="SQL-CREATETSDICTIONARY">
<refmeta> <refmeta>
<refentrytitle id="sql-createtsdictionary-title">CREATE TEXT SEARCH DICTIONARY</refentrytitle> <refentrytitle>CREATE TEXT SEARCH DICTIONARY</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -134,8 +134,8 @@ CREATE TEXT SEARCH DICTIONARY my_russian (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertsdictionary" endterm="sql-altertsdictionary-title"></member> <member><xref linkend="sql-altertsdictionary"></member>
<member><xref linkend="sql-droptsdictionary" endterm="sql-droptsdictionary-title"></member> <member><xref linkend="sql-droptsdictionary"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tsparser.sgml,v 1.2 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tsparser.sgml,v 1.3 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETSPARSER"> <refentry id="SQL-CREATETSPARSER">
<refmeta> <refmeta>
<refentrytitle id="sql-createtsparser-title">CREATE TEXT SEARCH PARSER</refentrytitle> <refentrytitle>CREATE TEXT SEARCH PARSER</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -146,8 +146,8 @@ CREATE TEXT SEARCH PARSER <replaceable class="parameter">name</replaceable> (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertsparser" endterm="sql-altertsparser-title"></member> <member><xref linkend="sql-altertsparser"></member>
<member><xref linkend="sql-droptsparser" endterm="sql-droptsparser-title"></member> <member><xref linkend="sql-droptsparser"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

View File

@ -1,11 +1,11 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_tstemplate.sgml,v 1.2 2008/11/14 10:22:46 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_tstemplate.sgml,v 1.3 2010/04/03 07:23:00 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
<refentry id="SQL-CREATETSTEMPLATE"> <refentry id="SQL-CREATETSTEMPLATE">
<refmeta> <refmeta>
<refentrytitle id="sql-createtstemplate-title">CREATE TEXT SEARCH TEMPLATE</refentrytitle> <refentrytitle>CREATE TEXT SEARCH TEMPLATE</refentrytitle>
<manvolnum>7</manvolnum> <manvolnum>7</manvolnum>
<refmiscinfo>SQL - Language Statements</refmiscinfo> <refmiscinfo>SQL - Language Statements</refmiscinfo>
</refmeta> </refmeta>
@ -119,8 +119,8 @@ CREATE TEXT SEARCH TEMPLATE <replaceable class="parameter">name</replaceable> (
<title>See Also</title> <title>See Also</title>
<simplelist type="inline"> <simplelist type="inline">
<member><xref linkend="sql-altertstemplate" endterm="sql-altertstemplate-title"></member> <member><xref linkend="sql-altertstemplate"></member>
<member><xref linkend="sql-droptstemplate" endterm="sql-droptstemplate-title"></member> <member><xref linkend="sql-droptstemplate"></member>
</simplelist> </simplelist>
</refsect1> </refsect1>
</refentry> </refentry>

Some files were not shown because too many files have changed in this diff Show More