Commit 44b3230e authored by Peter Eisentraut's avatar Peter Eisentraut

Use lower-case SGML attribute values

for DocBook XML compatibility
parent 82c117cb
...@@ -507,7 +507,7 @@ EXEC SQL COMMIT; ...@@ -507,7 +507,7 @@ EXEC SQL COMMIT;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>EXEC SQL PREPARE TRANSACTION </literal><replaceable class="PARAMETER">transaction_id</></term> <term><literal>EXEC SQL PREPARE TRANSACTION </literal><replaceable class="parameter">transaction_id</></term>
<listitem> <listitem>
<para> <para>
Prepare the current transaction for two-phase commit. Prepare the current transaction for two-phase commit.
...@@ -516,7 +516,7 @@ EXEC SQL COMMIT; ...@@ -516,7 +516,7 @@ EXEC SQL COMMIT;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>EXEC SQL COMMIT PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term> <term><literal>EXEC SQL COMMIT PREPARED </literal><replaceable class="parameter">transaction_id</></term>
<listitem> <listitem>
<para> <para>
Commit a transaction that is in prepared state. Commit a transaction that is in prepared state.
...@@ -525,7 +525,7 @@ EXEC SQL COMMIT; ...@@ -525,7 +525,7 @@ EXEC SQL COMMIT;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>EXEC SQL ROLLBACK PREPARED </literal><replaceable class="PARAMETER">transaction_id</></term> <term><literal>EXEC SQL ROLLBACK PREPARED </literal><replaceable class="parameter">transaction_id</></term>
<listitem> <listitem>
<para> <para>
Roll back a transaction that is in prepared state. Roll back a transaction that is in prepared state.
...@@ -6264,7 +6264,7 @@ c++ test_cpp.o test_mod.o -lecpg -o test_cpp ...@@ -6264,7 +6264,7 @@ c++ test_cpp.o test_mod.o -lecpg -o test_cpp
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable> ALLOCATE DESCRIPTOR <replaceable class="parameter">name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -6288,7 +6288,7 @@ ALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable> ...@@ -6288,7 +6288,7 @@ ALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
A name of SQL descriptor, case sensitive. This can be an SQL A name of SQL descriptor, case sensitive. This can be an SQL
...@@ -6356,10 +6356,10 @@ DATABASE <replaceable>connection_target</replaceable> ...@@ -6356,10 +6356,10 @@ DATABASE <replaceable>connection_target</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">connection_target</replaceable></term> <term><replaceable class="parameter">connection_target</replaceable></term>
<listitem> <listitem>
<para> <para>
<replaceable class="PARAMETER">connection_target</replaceable> <replaceable class="parameter">connection_target</replaceable>
specifies the target server of the connection on one of specifies the target server of the connection on one of
several forms. several forms.
...@@ -6416,7 +6416,7 @@ DATABASE <replaceable>connection_target</replaceable> ...@@ -6416,7 +6416,7 @@ DATABASE <replaceable>connection_target</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">connection_object</replaceable></term> <term><replaceable class="parameter">connection_object</replaceable></term>
<listitem> <listitem>
<para> <para>
An optional identifier for the connection, so that it can be An optional identifier for the connection, so that it can be
...@@ -6427,7 +6427,7 @@ DATABASE <replaceable>connection_target</replaceable> ...@@ -6427,7 +6427,7 @@ DATABASE <replaceable>connection_target</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">connection_user</replaceable></term> <term><replaceable class="parameter">connection_user</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name for the database connection. The user name for the database connection.
...@@ -6553,7 +6553,7 @@ EXEC SQL END DECLARE SECTION; ...@@ -6553,7 +6553,7 @@ EXEC SQL END DECLARE SECTION;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DEALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable> DEALLOCATE DESCRIPTOR <replaceable class="parameter">name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -6571,7 +6571,7 @@ DEALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable> ...@@ -6571,7 +6571,7 @@ DEALLOCATE DESCRIPTOR <replaceable class="PARAMETER">name</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the descriptor which is going to be deallocated. The name of the descriptor which is going to be deallocated.
...@@ -6619,8 +6619,8 @@ EXEC SQL DEALLOCATE DESCRIPTOR mydesc; ...@@ -6619,8 +6619,8 @@ EXEC SQL DEALLOCATE DESCRIPTOR mydesc;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ INSENSITIVE ] [ [ NO ] SCROLL ] CURSOR [ { WITH | WITHOUT } HOLD ] FOR <replaceable class="PARAMETER">prepared_name</replaceable> DECLARE <replaceable class="parameter">cursor_name</replaceable> [ BINARY ] [ INSENSITIVE ] [ [ NO ] SCROLL ] CURSOR [ { WITH | WITHOUT } HOLD ] FOR <replaceable class="parameter">prepared_name</replaceable>
DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ INSENSITIVE ] [ [ NO ] SCROLL ] CURSOR [ { WITH | WITHOUT } HOLD ] FOR <replaceable class="PARAMETER">query</replaceable> DECLARE <replaceable class="parameter">cursor_name</replaceable> [ BINARY ] [ INSENSITIVE ] [ [ NO ] SCROLL ] CURSOR [ { WITH | WITHOUT } HOLD ] FOR <replaceable class="parameter">query</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -6645,7 +6645,7 @@ DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ IN ...@@ -6645,7 +6645,7 @@ DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ IN
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cursor_name</replaceable></term> <term><replaceable class="parameter">cursor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A cursor name, case sensitive. This can be an SQL identifier A cursor name, case sensitive. This can be an SQL identifier
...@@ -6655,7 +6655,7 @@ DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ IN ...@@ -6655,7 +6655,7 @@ DECLARE <replaceable class="PARAMETER">cursor_name</replaceable> [ BINARY ] [ IN
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">prepared_name</replaceable></term> <term><replaceable class="parameter">prepared_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a prepared query, either as an SQL identifier or a The name of a prepared query, either as an SQL identifier or a
...@@ -6730,9 +6730,9 @@ EXEC SQL DECLARE cur1 CURSOR FOR stmt1; ...@@ -6730,9 +6730,9 @@ EXEC SQL DECLARE cur1 CURSOR FOR stmt1;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> USING [ SQL ] DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> DESCRIBE [ OUTPUT ] <replaceable class="parameter">prepared_name</replaceable> USING [ SQL ] DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable>
DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> INTO [ SQL ] DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> DESCRIBE [ OUTPUT ] <replaceable class="parameter">prepared_name</replaceable> INTO [ SQL ] DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable>
DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> INTO <replaceable class="PARAMETER">sqlda_name</replaceable> DESCRIBE [ OUTPUT ] <replaceable class="parameter">prepared_name</replaceable> INTO <replaceable class="parameter">sqlda_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -6751,7 +6751,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I ...@@ -6751,7 +6751,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">prepared_name</replaceable></term> <term><replaceable class="parameter">prepared_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a prepared statement. This can be an SQL The name of a prepared statement. This can be an SQL
...@@ -6761,7 +6761,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I ...@@ -6761,7 +6761,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_name</replaceable></term> <term><replaceable class="parameter">descriptor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A descriptor name. It is case sensitive. It can be an SQL A descriptor name. It is case sensitive. It can be an SQL
...@@ -6771,7 +6771,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I ...@@ -6771,7 +6771,7 @@ DESCRIBE [ OUTPUT ] <replaceable class="PARAMETER">prepared_name</replaceable> I
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">sqlda_name</replaceable></term> <term><replaceable class="parameter">sqlda_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an SQLDA variable. The name of an SQLDA variable.
...@@ -6819,7 +6819,7 @@ EXEC SQL DEALLOCATE DESCRIPTOR mydesc; ...@@ -6819,7 +6819,7 @@ EXEC SQL DEALLOCATE DESCRIPTOR mydesc;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DISCONNECT <replaceable class="PARAMETER">connection_name</replaceable> DISCONNECT <replaceable class="parameter">connection_name</replaceable>
DISCONNECT [ CURRENT ] DISCONNECT [ CURRENT ]
DISCONNECT DEFAULT DISCONNECT DEFAULT
DISCONNECT ALL DISCONNECT ALL
...@@ -6840,7 +6840,7 @@ DISCONNECT ALL ...@@ -6840,7 +6840,7 @@ DISCONNECT ALL
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">connection_name</replaceable></term> <term><replaceable class="parameter">connection_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A database connection name established by A database connection name established by
...@@ -6929,7 +6929,7 @@ main(void) ...@@ -6929,7 +6929,7 @@ main(void)
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
EXECUTE IMMEDIATE <replaceable class="PARAMETER">string</replaceable> EXECUTE IMMEDIATE <replaceable class="parameter">string</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -6948,7 +6948,7 @@ EXECUTE IMMEDIATE <replaceable class="PARAMETER">string</replaceable> ...@@ -6948,7 +6948,7 @@ EXECUTE IMMEDIATE <replaceable class="PARAMETER">string</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">string</replaceable></term> <term><replaceable class="parameter">string</replaceable></term>
<listitem> <listitem>
<para> <para>
A literal C string or a host variable containing the SQL A literal C string or a host variable containing the SQL
...@@ -6990,8 +6990,8 @@ EXEC SQL EXECUTE IMMEDIATE :command; ...@@ -6990,8 +6990,8 @@ EXEC SQL EXECUTE IMMEDIATE :command;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> <replaceable class="PARAMETER">:cvariable</replaceable> = <replaceable class="PARAMETER">descriptor_header_item</replaceable> [, ... ] GET DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable> <replaceable class="parameter">:cvariable</replaceable> = <replaceable class="parameter">descriptor_header_item</replaceable> [, ... ]
GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALUE <replaceable class="PARAMETER">column_number</replaceable> <replaceable class="PARAMETER">:cvariable</replaceable> = <replaceable class="PARAMETER">descriptor_item</replaceable> [, ... ] GET DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable> VALUE <replaceable class="parameter">column_number</replaceable> <replaceable class="parameter">:cvariable</replaceable> = <replaceable class="parameter">descriptor_item</replaceable> [, ... ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7022,7 +7022,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7022,7 +7022,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_name</replaceable></term> <term><replaceable class="parameter">descriptor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A descriptor name. A descriptor name.
...@@ -7031,7 +7031,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7031,7 +7031,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_header_item</replaceable></term> <term><replaceable class="parameter">descriptor_header_item</replaceable></term>
<listitem> <listitem>
<para> <para>
A token identifying which header information item to retrieve. A token identifying which header information item to retrieve.
...@@ -7042,7 +7042,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7042,7 +7042,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_number</replaceable></term> <term><replaceable class="parameter">column_number</replaceable></term>
<listitem> <listitem>
<para> <para>
The number of the column about which information is to be The number of the column about which information is to be
...@@ -7052,7 +7052,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7052,7 +7052,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_item</replaceable></term> <term><replaceable class="parameter">descriptor_item</replaceable></term>
<listitem> <listitem>
<para> <para>
A token identifying which item of information about a column A token identifying which item of information about a column
...@@ -7063,7 +7063,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7063,7 +7063,7 @@ GET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cvariable</replaceable></term> <term><replaceable class="parameter">cvariable</replaceable></term>
<listitem> <listitem>
<para> <para>
A host variable that will receive the data retrieved from the A host variable that will receive the data retrieved from the
...@@ -7178,9 +7178,9 @@ d_data = testdb ...@@ -7178,9 +7178,9 @@ d_data = testdb
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
OPEN <replaceable class="PARAMETER">cursor_name</replaceable> OPEN <replaceable class="parameter">cursor_name</replaceable>
OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING <replaceable class="PARAMETER">value</replaceable> [, ... ] OPEN <replaceable class="parameter">cursor_name</replaceable> USING <replaceable class="parameter">value</replaceable> [, ... ]
OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> OPEN <replaceable class="parameter">cursor_name</replaceable> USING SQL DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7202,7 +7202,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT ...@@ -7202,7 +7202,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cursor_name</replaceable></term> <term><replaceable class="parameter">cursor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the cursor to be opened. This can be an SQL The name of the cursor to be opened. This can be an SQL
...@@ -7212,7 +7212,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT ...@@ -7212,7 +7212,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">value</replaceable></term> <term><replaceable class="parameter">value</replaceable></term>
<listitem> <listitem>
<para> <para>
A value to be bound to a placeholder in the cursor. This can A value to be bound to a placeholder in the cursor. This can
...@@ -7223,7 +7223,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT ...@@ -7223,7 +7223,7 @@ OPEN <replaceable class="PARAMETER">cursor_name</replaceable> USING SQL DESCRIPT
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_name</replaceable></term> <term><replaceable class="parameter">descriptor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a descriptor containing values to be bound to the The name of a descriptor containing values to be bound to the
...@@ -7272,7 +7272,7 @@ EXEC SQL OPEN :curname1; ...@@ -7272,7 +7272,7 @@ EXEC SQL OPEN :curname1;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
PREPARE <replaceable class="PARAMETER">name</replaceable> FROM <replaceable class="PARAMETER">string</replaceable> PREPARE <replaceable class="parameter">name</replaceable> FROM <replaceable class="parameter">string</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7293,7 +7293,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> FROM <replaceable clas ...@@ -7293,7 +7293,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> FROM <replaceable clas
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">prepared_name</replaceable></term> <term><replaceable class="parameter">prepared_name</replaceable></term>
<listitem> <listitem>
<para> <para>
An identifier for the prepared query. An identifier for the prepared query.
...@@ -7302,7 +7302,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> FROM <replaceable clas ...@@ -7302,7 +7302,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> FROM <replaceable clas
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">string</replaceable></term> <term><replaceable class="parameter">string</replaceable></term>
<listitem> <listitem>
<para> <para>
A literal C string or a host variable containing a preparable A literal C string or a host variable containing a preparable
...@@ -7385,7 +7385,7 @@ SET AUTOCOMMIT { = | TO } { ON | OFF } ...@@ -7385,7 +7385,7 @@ SET AUTOCOMMIT { = | TO } { ON | OFF }
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SET CONNECTION [ TO | = ] <replaceable class="PARAMETER">connection_name</replaceable> SET CONNECTION [ TO | = ] <replaceable class="parameter">connection_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7404,7 +7404,7 @@ SET CONNECTION [ TO | = ] <replaceable class="PARAMETER">connection_name</replac ...@@ -7404,7 +7404,7 @@ SET CONNECTION [ TO | = ] <replaceable class="PARAMETER">connection_name</replac
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">connection_name</replaceable></term> <term><replaceable class="parameter">connection_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A database connection name established by A database connection name established by
...@@ -7459,8 +7459,8 @@ EXEC SQL SET CONNECTION = con1; ...@@ -7459,8 +7459,8 @@ EXEC SQL SET CONNECTION = con1;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> <replaceable class="PARAMETER">descriptor_header_item</replaceable> = <replaceable>value</replaceable> [, ... ] SET DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable> <replaceable class="parameter">descriptor_header_item</replaceable> = <replaceable>value</replaceable> [, ... ]
SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALUE <replaceable class="PARAMETER">number</replaceable> <replaceable class="PARAMETER">descriptor_item</replaceable> = <replaceable>value</replaceable> [, ...] SET DESCRIPTOR <replaceable class="parameter">descriptor_name</replaceable> VALUE <replaceable class="parameter">number</replaceable> <replaceable class="parameter">descriptor_item</replaceable> = <replaceable>value</replaceable> [, ...]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7486,7 +7486,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7486,7 +7486,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_name</replaceable></term> <term><replaceable class="parameter">descriptor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A descriptor name. A descriptor name.
...@@ -7495,7 +7495,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7495,7 +7495,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_header_item</replaceable></term> <term><replaceable class="parameter">descriptor_header_item</replaceable></term>
<listitem> <listitem>
<para> <para>
A token identifying which header information item to set. A token identifying which header information item to set.
...@@ -7506,7 +7506,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7506,7 +7506,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">number</replaceable></term> <term><replaceable class="parameter">number</replaceable></term>
<listitem> <listitem>
<para> <para>
The number of the descriptor item to set. The count starts at The number of the descriptor item to set. The count starts at
...@@ -7516,7 +7516,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7516,7 +7516,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">descriptor_item</replaceable></term> <term><replaceable class="parameter">descriptor_item</replaceable></term>
<listitem> <listitem>
<para> <para>
A token identifying which item of information to set in the A token identifying which item of information to set in the
...@@ -7527,7 +7527,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU ...@@ -7527,7 +7527,7 @@ SET DESCRIPTOR <replaceable class="PARAMETER">descriptor_name</replaceable> VALU
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">value</replaceable></term> <term><replaceable class="parameter">value</replaceable></term>
<listitem> <listitem>
<para> <para>
A value to store into the descriptor item. This can be an SQL A value to store into the descriptor item. This can be an SQL
...@@ -7575,7 +7575,7 @@ EXEC SQL SET DESCRIPTOR indesc VALUE 2 INDICATOR = :val2null, DATA = :val2; ...@@ -7575,7 +7575,7 @@ EXEC SQL SET DESCRIPTOR indesc VALUE 2 INDICATOR = :val2null, DATA = :val2;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
TYPE <replaceable class="PARAMETER">type_name</replaceable> IS <replaceable class="PARAMETER">ctype</replaceable> TYPE <replaceable class="parameter">type_name</replaceable> IS <replaceable class="parameter">ctype</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -7599,7 +7599,7 @@ TYPE <replaceable class="PARAMETER">type_name</replaceable> IS <replaceable clas ...@@ -7599,7 +7599,7 @@ TYPE <replaceable class="PARAMETER">type_name</replaceable> IS <replaceable clas
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">type_name</replaceable></term> <term><replaceable class="parameter">type_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name for the new type. It must be a valid C type name. The name for the new type. It must be a valid C type name.
...@@ -7608,7 +7608,7 @@ TYPE <replaceable class="PARAMETER">type_name</replaceable> IS <replaceable clas ...@@ -7608,7 +7608,7 @@ TYPE <replaceable class="PARAMETER">type_name</replaceable> IS <replaceable clas
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">ctype</replaceable></term> <term><replaceable class="parameter">ctype</replaceable></term>
<listitem> <listitem>
<para> <para>
A C type specification. A C type specification.
...@@ -7732,7 +7732,7 @@ VAR <replaceable>varname</replaceable> IS <replaceable>ctype</replaceable> ...@@ -7732,7 +7732,7 @@ VAR <replaceable>varname</replaceable> IS <replaceable>ctype</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">varname</replaceable></term> <term><replaceable class="parameter">varname</replaceable></term>
<listitem> <listitem>
<para> <para>
A C variable name. A C variable name.
...@@ -7741,7 +7741,7 @@ VAR <replaceable>varname</replaceable> IS <replaceable>ctype</replaceable> ...@@ -7741,7 +7741,7 @@ VAR <replaceable>varname</replaceable> IS <replaceable>ctype</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">ctype</replaceable></term> <term><replaceable class="parameter">ctype</replaceable></term>
<listitem> <listitem>
<para> <para>
A C type specification. A C type specification.
...@@ -7779,7 +7779,7 @@ EXEC SQL VAR a IS int; ...@@ -7779,7 +7779,7 @@ EXEC SQL VAR a IS int;
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
WHENEVER { NOT FOUND | SQLERROR | SQLWARNING } <replaceable class="PARAMETER">action</replaceable> WHENEVER { NOT FOUND | SQLERROR | SQLWARNING } <replaceable class="parameter">action</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -9491,7 +9491,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9491,7 +9491,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>plainto_tsquery</primary> <primary>plainto_tsquery</primary>
</indexterm> </indexterm>
<literal><function>plainto_tsquery(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">query</> <type>text</type>)</function></literal> <literal><function>plainto_tsquery(<optional> <replaceable class="parameter">config</> <type>regconfig</> , </optional> <replaceable class="parameter">query</> <type>text</type>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>produce <type>tsquery</> ignoring punctuation</entry> <entry>produce <type>tsquery</> ignoring punctuation</entry>
...@@ -9503,7 +9503,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9503,7 +9503,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>phraseto_tsquery</primary> <primary>phraseto_tsquery</primary>
</indexterm> </indexterm>
<literal><function>phraseto_tsquery(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">query</> <type>text</type>)</function></literal> <literal><function>phraseto_tsquery(<optional> <replaceable class="parameter">config</> <type>regconfig</> , </optional> <replaceable class="parameter">query</> <type>text</type>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>produce <type>tsquery</> that searches for a phrase, <entry>produce <type>tsquery</> that searches for a phrase,
...@@ -9516,7 +9516,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9516,7 +9516,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>querytree</primary> <primary>querytree</primary>
</indexterm> </indexterm>
<literal><function>querytree(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>)</function></literal> <literal><function>querytree(<replaceable class="parameter">query</replaceable> <type>tsquery</>)</function></literal>
</entry> </entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry>get indexable part of a <type>tsquery</></entry> <entry>get indexable part of a <type>tsquery</></entry>
...@@ -9528,10 +9528,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9528,10 +9528,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>setweight</primary> <primary>setweight</primary>
</indexterm> </indexterm>
<literal><function>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>)</function></literal> <literal><function>setweight(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">weight</replaceable> <type>"char"</>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>assign <replaceable class="PARAMETER">weight</replaceable> to each element of <replaceable class="PARAMETER">vector</replaceable></entry> <entry>assign <replaceable class="parameter">weight</replaceable> to each element of <replaceable class="parameter">vector</replaceable></entry>
<entry><literal>setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A')</literal></entry> <entry><literal>setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A')</literal></entry>
<entry><literal>'cat':3A 'fat':2A,4A 'rat':5A</literal></entry> <entry><literal>'cat':3A 'fat':2A,4A 'rat':5A</literal></entry>
</row> </row>
...@@ -9541,10 +9541,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9541,10 +9541,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<primary>setweight</primary> <primary>setweight</primary>
<secondary>setweight for specific lexeme(s)</secondary> <secondary>setweight for specific lexeme(s)</secondary>
</indexterm> </indexterm>
<literal><function>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>, <replaceable class="PARAMETER">lexemes</replaceable> <type>text[]</>)</function></literal> <literal><function>setweight(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">weight</replaceable> <type>"char"</>, <replaceable class="parameter">lexemes</replaceable> <type>text[]</>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>assign <replaceable class="PARAMETER">weight</replaceable> to elements of <replaceable class="PARAMETER">vector</replaceable> that are listed in <replaceable class="PARAMETER">lexemes</replaceable></entry> <entry>assign <replaceable class="parameter">weight</replaceable> to elements of <replaceable class="parameter">vector</replaceable> that are listed in <replaceable class="parameter">lexemes</replaceable></entry>
<entry><literal>setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A', '{cat,rat}')</literal></entry> <entry><literal>setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A', '{cat,rat}')</literal></entry>
<entry><literal>'cat':3A 'fat':2,4 'rat':5A</literal></entry> <entry><literal>'cat':3A 'fat':2,4 'rat':5A</literal></entry>
</row> </row>
...@@ -9565,7 +9565,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9565,7 +9565,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>to_tsquery</primary> <primary>to_tsquery</primary>
</indexterm> </indexterm>
<literal><function>to_tsquery(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">query</> <type>text</type>)</function></literal> <literal><function>to_tsquery(<optional> <replaceable class="parameter">config</> <type>regconfig</> , </optional> <replaceable class="parameter">query</> <type>text</type>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>normalize words and convert to <type>tsquery</></entry> <entry>normalize words and convert to <type>tsquery</></entry>
...@@ -9577,7 +9577,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9577,7 +9577,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>to_tsvector</primary> <primary>to_tsvector</primary>
</indexterm> </indexterm>
<literal><function>to_tsvector(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">document</> <type>text</type>)</function></literal> <literal><function>to_tsvector(<optional> <replaceable class="parameter">config</> <type>regconfig</> , </optional> <replaceable class="parameter">document</> <type>text</type>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>reduce document text to <type>tsvector</></entry> <entry>reduce document text to <type>tsvector</></entry>
...@@ -9586,7 +9586,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9586,7 +9586,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
</row> </row>
<row> <row>
<entry> <entry>
<literal><function>to_tsvector(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">document</> <type>json(b)</type>)</function></literal> <literal><function>to_tsvector(<optional> <replaceable class="parameter">config</> <type>regconfig</> , </optional> <replaceable class="parameter">document</> <type>json(b)</type>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry> <entry>
...@@ -9601,20 +9601,20 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9601,20 +9601,20 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_delete</primary> <primary>ts_delete</primary>
</indexterm> </indexterm>
<literal><function>ts_delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexeme</replaceable> <type>text</>)</function></literal> <literal><function>ts_delete(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">lexeme</replaceable> <type>text</>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>remove given <replaceable class="PARAMETER">lexeme</replaceable> from <replaceable class="PARAMETER">vector</replaceable></entry> <entry>remove given <replaceable class="parameter">lexeme</replaceable> from <replaceable class="parameter">vector</replaceable></entry>
<entry><literal>ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, 'fat')</literal></entry> <entry><literal>ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, 'fat')</literal></entry>
<entry><literal>'cat':3 'rat':5A</literal></entry> <entry><literal>'cat':3 'rat':5A</literal></entry>
</row> </row>
<row> <row>
<entry> <entry>
<!-- previous indexterm entry covers this too --> <!-- previous indexterm entry covers this too -->
<literal><function>ts_delete(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">lexemes</replaceable> <type>text[]</>)</function></literal> <literal><function>ts_delete(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">lexemes</replaceable> <type>text[]</>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>remove any occurrence of lexemes in <replaceable class="PARAMETER">lexemes</replaceable> from <replaceable class="PARAMETER">vector</replaceable></entry> <entry>remove any occurrence of lexemes in <replaceable class="parameter">lexemes</replaceable> from <replaceable class="parameter">vector</replaceable></entry>
<entry><literal>ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, ARRAY['fat','rat'])</literal></entry> <entry><literal>ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, ARRAY['fat','rat'])</literal></entry>
<entry><literal>'cat':3</literal></entry> <entry><literal>'cat':3</literal></entry>
</row> </row>
...@@ -9623,10 +9623,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9623,10 +9623,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_filter</primary> <primary>ts_filter</primary>
</indexterm> </indexterm>
<literal><function>ts_filter(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weights</replaceable> <type>"char"[]</>)</function></literal> <literal><function>ts_filter(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">weights</replaceable> <type>"char"[]</>)</function></literal>
</entry> </entry>
<entry><type>tsvector</type></entry> <entry><type>tsvector</type></entry>
<entry>select only elements with given <replaceable class="PARAMETER">weights</replaceable> from <replaceable class="PARAMETER">vector</replaceable></entry> <entry>select only elements with given <replaceable class="parameter">weights</replaceable> from <replaceable class="parameter">vector</replaceable></entry>
<entry><literal>ts_filter('fat:2,4 cat:3b rat:5A'::tsvector, '{a,b}')</literal></entry> <entry><literal>ts_filter('fat:2,4 cat:3b rat:5A'::tsvector, '{a,b}')</literal></entry>
<entry><literal>'cat':3B 'rat':5A</literal></entry> <entry><literal>'cat':3B 'rat':5A</literal></entry>
</row> </row>
...@@ -9635,7 +9635,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9635,7 +9635,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_headline</primary> <primary>ts_headline</primary>
</indexterm> </indexterm>
<literal><function>ts_headline(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>text</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">options</replaceable> <type>text</> </optional>)</function></literal> <literal><function>ts_headline(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>text</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">options</replaceable> <type>text</> </optional>)</function></literal>
</entry> </entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry>display a query match</entry> <entry>display a query match</entry>
...@@ -9644,7 +9644,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9644,7 +9644,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
</row> </row>
<row> <row>
<entry> <entry>
<literal><function>ts_headline(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>json(b)</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">options</replaceable> <type>text</> </optional>)</function></literal> <literal><function>ts_headline(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>json(b)</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">options</replaceable> <type>text</> </optional>)</function></literal>
</entry> </entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry>display a query match</entry> <entry>display a query match</entry>
...@@ -9656,7 +9656,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9656,7 +9656,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_rank</primary> <primary>ts_rank</primary>
</indexterm> </indexterm>
<literal><function>ts_rank(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>)</function></literal> <literal><function>ts_rank(<optional> <replaceable class="parameter">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">normalization</replaceable> <type>integer</> </optional>)</function></literal>
</entry> </entry>
<entry><type>float4</type></entry> <entry><type>float4</type></entry>
<entry>rank document for query</entry> <entry>rank document for query</entry>
...@@ -9668,7 +9668,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9668,7 +9668,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_rank_cd</primary> <primary>ts_rank_cd</primary>
</indexterm> </indexterm>
<literal><function>ts_rank_cd(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>)</function></literal> <literal><function>ts_rank_cd(<optional> <replaceable class="parameter">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">normalization</replaceable> <type>integer</> </optional>)</function></literal>
</entry> </entry>
<entry><type>float4</type></entry> <entry><type>float4</type></entry>
<entry>rank document for query using cover density</entry> <entry>rank document for query using cover density</entry>
...@@ -9680,7 +9680,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9680,7 +9680,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_rewrite</primary> <primary>ts_rewrite</primary>
</indexterm> </indexterm>
<literal><function>ts_rewrite(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">target</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">substitute</replaceable> <type>tsquery</>)</function></literal> <literal><function>ts_rewrite(<replaceable class="parameter">query</replaceable> <type>tsquery</>, <replaceable class="parameter">target</replaceable> <type>tsquery</>, <replaceable class="parameter">substitute</replaceable> <type>tsquery</>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>replace <replaceable>target</> with <replaceable>substitute</> <entry>replace <replaceable>target</> with <replaceable>substitute</>
...@@ -9689,7 +9689,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9689,7 +9689,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<entry><literal>'b' &amp; ( 'foo' | 'bar' )</literal></entry> <entry><literal>'b' &amp; ( 'foo' | 'bar' )</literal></entry>
</row> </row>
<row> <row>
<entry><literal><function>ts_rewrite(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">select</replaceable> <type>text</>)</function></literal></entry> <entry><literal><function>ts_rewrite(<replaceable class="parameter">query</replaceable> <type>tsquery</>, <replaceable class="parameter">select</replaceable> <type>text</>)</function></literal></entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>replace using targets and substitutes from a <command>SELECT</> command</entry> <entry>replace using targets and substitutes from a <command>SELECT</> command</entry>
<entry><literal>SELECT ts_rewrite('a &amp; b'::tsquery, 'SELECT t,s FROM aliases')</literal></entry> <entry><literal>SELECT ts_rewrite('a &amp; b'::tsquery, 'SELECT t,s FROM aliases')</literal></entry>
...@@ -9700,7 +9700,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9700,7 +9700,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>tsquery_phrase</primary> <primary>tsquery_phrase</primary>
</indexterm> </indexterm>
<literal><function>tsquery_phrase(<replaceable class="PARAMETER">query1</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">query2</replaceable> <type>tsquery</>)</function></literal> <literal><function>tsquery_phrase(<replaceable class="parameter">query1</replaceable> <type>tsquery</>, <replaceable class="parameter">query2</replaceable> <type>tsquery</>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>make query that searches for <replaceable>query1</> followed <entry>make query that searches for <replaceable>query1</> followed
...@@ -9711,7 +9711,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9711,7 +9711,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
</row> </row>
<row> <row>
<entry> <entry>
<literal><function>tsquery_phrase(<replaceable class="PARAMETER">query1</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">query2</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">distance</replaceable> <type>integer</>)</function></literal> <literal><function>tsquery_phrase(<replaceable class="parameter">query1</replaceable> <type>tsquery</>, <replaceable class="parameter">query2</replaceable> <type>tsquery</>, <replaceable class="parameter">distance</replaceable> <type>integer</>)</function></literal>
</entry> </entry>
<entry><type>tsquery</type></entry> <entry><type>tsquery</type></entry>
<entry>make query that searches for <replaceable>query1</> followed by <entry>make query that searches for <replaceable>query1</> followed by
...@@ -9761,7 +9761,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9761,7 +9761,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<primary>unnest</primary> <primary>unnest</primary>
<secondary>for tsvector</secondary> <secondary>for tsvector</secondary>
</indexterm> </indexterm>
<literal><function>unnest(<type>tsvector</>, OUT <replaceable class="PARAMETER">lexeme</> <type>text</>, OUT <replaceable class="PARAMETER">positions</> <type>smallint[]</>, OUT <replaceable class="PARAMETER">weights</> <type>text</>)</function></literal> <literal><function>unnest(<type>tsvector</>, OUT <replaceable class="parameter">lexeme</> <type>text</>, OUT <replaceable class="parameter">positions</> <type>smallint[]</>, OUT <replaceable class="parameter">weights</> <type>text</>)</function></literal>
</entry> </entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>expand a <type>tsvector</type> to a set of rows</entry> <entry>expand a <type>tsvector</type> to a set of rows</entry>
...@@ -9807,7 +9807,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9807,7 +9807,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_debug</primary> <primary>ts_debug</primary>
</indexterm> </indexterm>
<literal><function>ts_debug(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>text</>, OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="PARAMETER">description</> <type>text</>, OUT <replaceable class="PARAMETER">token</> <type>text</>, OUT <replaceable class="PARAMETER">dictionaries</> <type>regdictionary[]</>, OUT <replaceable class="PARAMETER">dictionary</> <type>regdictionary</>, OUT <replaceable class="PARAMETER">lexemes</> <type>text[]</>)</function></literal> <literal><function>ts_debug(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>text</>, OUT <replaceable class="parameter">alias</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>, OUT <replaceable class="parameter">token</> <type>text</>, OUT <replaceable class="parameter">dictionaries</> <type>regdictionary[]</>, OUT <replaceable class="parameter">dictionary</> <type>regdictionary</>, OUT <replaceable class="parameter">lexemes</> <type>text[]</>)</function></literal>
</entry> </entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>test a configuration</entry> <entry>test a configuration</entry>
...@@ -9819,7 +9819,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9819,7 +9819,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_lexize</primary> <primary>ts_lexize</primary>
</indexterm> </indexterm>
<literal><function>ts_lexize(<replaceable class="PARAMETER">dict</replaceable> <type>regdictionary</>, <replaceable class="PARAMETER">token</replaceable> <type>text</>)</function></literal> <literal><function>ts_lexize(<replaceable class="parameter">dict</replaceable> <type>regdictionary</>, <replaceable class="parameter">token</replaceable> <type>text</>)</function></literal>
</entry> </entry>
<entry><type>text[]</type></entry> <entry><type>text[]</type></entry>
<entry>test a dictionary</entry> <entry>test a dictionary</entry>
...@@ -9831,7 +9831,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9831,7 +9831,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_parse</primary> <primary>ts_parse</primary>
</indexterm> </indexterm>
<literal><function>ts_parse(<replaceable class="PARAMETER">parser_name</replaceable> <type>text</>, <replaceable class="PARAMETER">document</replaceable> <type>text</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">token</> <type>text</>)</function></literal> <literal><function>ts_parse(<replaceable class="parameter">parser_name</replaceable> <type>text</>, <replaceable class="parameter">document</replaceable> <type>text</>, OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">token</> <type>text</>)</function></literal>
</entry> </entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>test a parser</entry> <entry>test a parser</entry>
...@@ -9839,7 +9839,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9839,7 +9839,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<entry><literal>(1,foo) ...</literal></entry> <entry><literal>(1,foo) ...</literal></entry>
</row> </row>
<row> <row>
<entry><literal><function>ts_parse(<replaceable class="PARAMETER">parser_oid</replaceable> <type>oid</>, <replaceable class="PARAMETER">document</replaceable> <type>text</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">token</> <type>text</>)</function></literal></entry> <entry><literal><function>ts_parse(<replaceable class="parameter">parser_oid</replaceable> <type>oid</>, <replaceable class="parameter">document</replaceable> <type>text</>, OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">token</> <type>text</>)</function></literal></entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>test a parser</entry> <entry>test a parser</entry>
<entry><literal>ts_parse(3722, 'foo - bar')</literal></entry> <entry><literal>ts_parse(3722, 'foo - bar')</literal></entry>
...@@ -9850,7 +9850,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9850,7 +9850,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_token_type</primary> <primary>ts_token_type</primary>
</indexterm> </indexterm>
<literal><function>ts_token_type(<replaceable class="PARAMETER">parser_name</> <type>text</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="PARAMETER">description</> <type>text</>)</function></literal> <literal><function>ts_token_type(<replaceable class="parameter">parser_name</> <type>text</>, OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">alias</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>)</function></literal>
</entry> </entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>get token types defined by parser</entry> <entry>get token types defined by parser</entry>
...@@ -9858,7 +9858,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9858,7 +9858,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<entry><literal>(1,asciiword,"Word, all ASCII") ...</literal></entry> <entry><literal>(1,asciiword,"Word, all ASCII") ...</literal></entry>
</row> </row>
<row> <row>
<entry><literal><function>ts_token_type(<replaceable class="PARAMETER">parser_oid</> <type>oid</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="PARAMETER">description</> <type>text</>)</function></literal></entry> <entry><literal><function>ts_token_type(<replaceable class="parameter">parser_oid</> <type>oid</>, OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">alias</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>)</function></literal></entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>get token types defined by parser</entry> <entry>get token types defined by parser</entry>
<entry><literal>ts_token_type(3722)</literal></entry> <entry><literal>ts_token_type(3722)</literal></entry>
...@@ -9869,7 +9869,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple ...@@ -9869,7 +9869,7 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
<indexterm> <indexterm>
<primary>ts_stat</primary> <primary>ts_stat</primary>
</indexterm> </indexterm>
<literal><function>ts_stat(<replaceable class="PARAMETER">sqlquery</replaceable> <type>text</>, <optional> <replaceable class="PARAMETER">weights</replaceable> <type>text</>, </optional> OUT <replaceable class="PARAMETER">word</replaceable> <type>text</>, OUT <replaceable class="PARAMETER">ndoc</replaceable> <type>integer</>, OUT <replaceable class="PARAMETER">nentry</replaceable> <type>integer</>)</function></literal> <literal><function>ts_stat(<replaceable class="parameter">sqlquery</replaceable> <type>text</>, <optional> <replaceable class="parameter">weights</replaceable> <type>text</>, </optional> OUT <replaceable class="parameter">word</replaceable> <type>text</>, OUT <replaceable class="parameter">ndoc</replaceable> <type>integer</>, OUT <replaceable class="parameter">nentry</replaceable> <type>integer</>)</function></literal>
</entry> </entry>
<entry><type>setof record</type></entry> <entry><type>setof record</type></entry>
<entry>get statistics of a <type>tsvector</> column</entry> <entry>get statistics of a <type>tsvector</> column</entry>
......
...@@ -1854,7 +1854,7 @@ SELECT <replaceable>select_list</replaceable> ...@@ -1854,7 +1854,7 @@ SELECT <replaceable>select_list</replaceable>
that can be used in a query without having to actually create and populate that can be used in a query without having to actually create and populate
a table on-disk. The syntax is a table on-disk. The syntax is
<synopsis> <synopsis>
VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, ...] VALUES ( <replaceable class="parameter">expression</replaceable> [, ...] ) [, ...]
</synopsis> </synopsis>
Each parenthesized list of expressions generates a row in the table. Each parenthesized list of expressions generates a row in the table.
The lists must all have the same number of elements (i.e., the number The lists must all have the same number of elements (i.e., the number
......
...@@ -21,24 +21,24 @@ PostgreSQL documentation ...@@ -21,24 +21,24 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ] ALTER DATABASE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ] ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
ALLOW_CONNECTIONS <replaceable class="PARAMETER">allowconn</replaceable> ALLOW_CONNECTIONS <replaceable class="parameter">allowconn</replaceable>
CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable> CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
IS_TEMPLATE <replaceable class="PARAMETER">istemplate</replaceable> IS_TEMPLATE <replaceable class="parameter">istemplate</replaceable>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER DATABASE <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER DATABASE <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable> ALTER DATABASE <replaceable class="parameter">name</replaceable> SET TABLESPACE <replaceable class="parameter">new_tablespace</replaceable>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT } ALTER DATABASE <replaceable class="parameter">name</replaceable> SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT }
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> SET <replaceable>configuration_parameter</replaceable> FROM CURRENT ALTER DATABASE <replaceable class="parameter">name</replaceable> SET <replaceable>configuration_parameter</replaceable> FROM CURRENT
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET <replaceable>configuration_parameter</replaceable> ALTER DATABASE <replaceable class="parameter">name</replaceable> RESET <replaceable>configuration_parameter</replaceable>
ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL ALTER DATABASE <replaceable class="parameter">name</replaceable> RESET ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -102,7 +102,7 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL ...@@ -102,7 +102,7 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the database whose attributes are to be altered. The name of the database whose attributes are to be altered.
......
...@@ -31,55 +31,55 @@ ALTER DEFAULT PRIVILEGES ...@@ -31,55 +31,55 @@ ALTER DEFAULT PRIVILEGES
GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER } GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON TABLES ON TABLES
TO { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ] TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
GRANT { { USAGE | SELECT | UPDATE } GRANT { { USAGE | SELECT | UPDATE }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON SEQUENCES ON SEQUENCES
TO { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ] TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
GRANT { EXECUTE | ALL [ PRIVILEGES ] } GRANT { EXECUTE | ALL [ PRIVILEGES ] }
ON FUNCTIONS ON FUNCTIONS
TO { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ] TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON TYPES ON TYPES
TO { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ] TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | CREATE | ALL [ PRIVILEGES ] } GRANT { USAGE | CREATE | ALL [ PRIVILEGES ] }
ON SCHEMAS ON SCHEMAS
TO { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ] TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER } { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON TABLES ON TABLES
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { USAGE | SELECT | UPDATE } { { USAGE | SELECT | UPDATE }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON SEQUENCES ON SEQUENCES
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ EXECUTE | ALL [ PRIVILEGES ] } { EXECUTE | ALL [ PRIVILEGES ] }
ON FUNCTIONS ON FUNCTIONS
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON TYPES ON TYPES
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | CREATE | ALL [ PRIVILEGES ] } { USAGE | CREATE | ALL [ PRIVILEGES ] }
ON SCHEMAS ON SCHEMAS
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -23,24 +23,24 @@ PostgreSQL documentation ...@@ -23,24 +23,24 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
{ SET DEFAULT <replaceable class="PARAMETER">expression</replaceable> | DROP DEFAULT } { SET DEFAULT <replaceable class="parameter">expression</replaceable> | DROP DEFAULT }
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
{ SET | DROP } NOT NULL { SET | DROP } NOT NULL
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
ADD <replaceable class="PARAMETER">domain_constraint</replaceable> [ NOT VALID ] ADD <replaceable class="parameter">domain_constraint</replaceable> [ NOT VALID ]
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
DROP CONSTRAINT [ IF EXISTS ] <replaceable class="PARAMETER">constraint_name</replaceable> [ RESTRICT | CASCADE ] DROP CONSTRAINT [ IF EXISTS ] <replaceable class="parameter">constraint_name</replaceable> [ RESTRICT | CASCADE ]
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
RENAME CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> TO <replaceable class="PARAMETER">new_constraint_name</replaceable> RENAME CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> TO <replaceable class="parameter">new_constraint_name</replaceable>
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
VALIDATE CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> VALIDATE CONSTRAINT <replaceable class="parameter">constraint_name</replaceable>
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
RENAME TO <replaceable class="PARAMETER">new_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ALTER DOMAIN <replaceable class="parameter">name</replaceable>
SET SCHEMA <replaceable class="PARAMETER">new_schema</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -76,7 +76,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -76,7 +76,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">domain_constraint</replaceable> [ NOT VALID ]</literal></term> <term><literal>ADD <replaceable class="parameter">domain_constraint</replaceable> [ NOT VALID ]</literal></term>
<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
...@@ -171,7 +171,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -171,7 +171,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
<para> <para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of an existing domain to The name (possibly schema-qualified) of an existing domain to
...@@ -181,7 +181,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -181,7 +181,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">domain_constraint</replaceable></term> <term><replaceable class="parameter">domain_constraint</replaceable></term>
<listitem> <listitem>
<para> <para>
New domain constraint for the domain. New domain constraint for the domain.
...@@ -190,7 +190,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -190,7 +190,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">constraint_name</replaceable></term> <term><replaceable class="parameter">constraint_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of an existing constraint to drop or rename. Name of an existing constraint to drop or rename.
...@@ -199,7 +199,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -199,7 +199,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">NOT VALID</replaceable></term> <term><replaceable class="parameter">NOT VALID</replaceable></term>
<listitem> <listitem>
<para> <para>
Do not verify existing column data for constraint validity. Do not verify existing column data for constraint validity.
...@@ -230,7 +230,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -230,7 +230,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the domain. The new name for the domain.
...@@ -239,7 +239,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -239,7 +239,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_constraint_name</replaceable></term> <term><replaceable class="parameter">new_constraint_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the constraint. The new name for the constraint.
...@@ -248,7 +248,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -248,7 +248,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the domain. The user name of the new owner of the domain.
...@@ -257,7 +257,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable> ...@@ -257,7 +257,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_schema</replaceable></term> <term><replaceable class="parameter">new_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The new schema for the domain. The new schema for the domain.
......
...@@ -21,10 +21,10 @@ PostgreSQL documentation ...@@ -21,10 +21,10 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> DISABLE ALTER EVENT TRIGGER <replaceable class="parameter">name</replaceable> DISABLE
ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> ENABLE [ REPLICA | ALWAYS ] ALTER EVENT TRIGGER <replaceable class="parameter">name</replaceable> ENABLE [ REPLICA | ALWAYS ]
ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER EVENT TRIGGER <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER EVENT TRIGGER <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -46,7 +46,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO ...@@ -46,7 +46,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing trigger to alter. The name of an existing trigger to alter.
...@@ -55,7 +55,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO ...@@ -55,7 +55,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the event trigger. The user name of the new owner of the event trigger.
...@@ -64,7 +64,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO ...@@ -64,7 +64,7 @@ ALTER EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> RENAME TO
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name of the event trigger. The new name of the event trigger.
......
...@@ -23,39 +23,39 @@ PostgreSQL documentation ...@@ -23,39 +23,39 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> UPDATE [ TO <replaceable class="PARAMETER">new_version</replaceable> ] ALTER EXTENSION <replaceable class="parameter">name</replaceable> UPDATE [ TO <replaceable class="parameter">new_version</replaceable> ]
ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> SET SCHEMA <replaceable class="PARAMETER">new_schema</replaceable> ALTER EXTENSION <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> ADD <replaceable class="PARAMETER">member_object</replaceable> ALTER EXTENSION <replaceable class="parameter">name</replaceable> ADD <replaceable class="parameter">member_object</replaceable>
ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replaceable class="PARAMETER">member_object</replaceable> ALTER EXTENSION <replaceable class="parameter">name</replaceable> DROP <replaceable class="parameter">member_object</replaceable>
<phrase>where <replaceable class="PARAMETER">member_object</replaceable> is:</phrase> <phrase>where <replaceable class="parameter">member_object</replaceable> is:</phrase>
ACCESS METHOD <replaceable class="PARAMETER">object_name</replaceable> | ACCESS METHOD <replaceable class="parameter">object_name</replaceable> |
AGGREGATE <replaceable class="PARAMETER">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) | AGGREGATE <replaceable class="parameter">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) |
CAST (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>) | CAST (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>) |
COLLATION <replaceable class="PARAMETER">object_name</replaceable> | COLLATION <replaceable class="parameter">object_name</replaceable> |
CONVERSION <replaceable class="PARAMETER">object_name</replaceable> | CONVERSION <replaceable class="parameter">object_name</replaceable> |
DOMAIN <replaceable class="PARAMETER">object_name</replaceable> | DOMAIN <replaceable class="parameter">object_name</replaceable> |
EVENT TRIGGER <replaceable class="PARAMETER">object_name</replaceable> | EVENT TRIGGER <replaceable class="parameter">object_name</replaceable> |
FOREIGN DATA WRAPPER <replaceable class="PARAMETER">object_name</replaceable> | FOREIGN DATA WRAPPER <replaceable class="parameter">object_name</replaceable> |
FOREIGN TABLE <replaceable class="PARAMETER">object_name</replaceable> | FOREIGN TABLE <replaceable class="parameter">object_name</replaceable> |
FUNCTION <replaceable class="PARAMETER">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] | FUNCTION <replaceable class="parameter">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
MATERIALIZED VIEW <replaceable class="PARAMETER">object_name</replaceable> | MATERIALIZED VIEW <replaceable class="parameter">object_name</replaceable> |
OPERATOR <replaceable class="PARAMETER">operator_name</replaceable> (<replaceable class="PARAMETER">left_type</replaceable>, <replaceable class="PARAMETER">right_type</replaceable>) | OPERATOR <replaceable class="parameter">operator_name</replaceable> (<replaceable class="parameter">left_type</replaceable>, <replaceable class="parameter">right_type</replaceable>) |
OPERATOR CLASS <replaceable class="PARAMETER">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> | OPERATOR CLASS <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
OPERATOR FAMILY <replaceable class="PARAMETER">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> | OPERATOR FAMILY <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
[ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">object_name</replaceable> | [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">object_name</replaceable> |
SCHEMA <replaceable class="PARAMETER">object_name</replaceable> | SCHEMA <replaceable class="parameter">object_name</replaceable> |
SEQUENCE <replaceable class="PARAMETER">object_name</replaceable> | SEQUENCE <replaceable class="parameter">object_name</replaceable> |
SERVER <replaceable class="PARAMETER">object_name</replaceable> | SERVER <replaceable class="parameter">object_name</replaceable> |
TABLE <replaceable class="PARAMETER">object_name</replaceable> | TABLE <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH CONFIGURATION <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH CONFIGURATION <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH DICTIONARY <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH DICTIONARY <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH PARSER <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH PARSER <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH TEMPLATE <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH TEMPLATE <replaceable class="parameter">object_name</replaceable> |
TRANSFORM FOR <replaceable>type_name</replaceable> LANGUAGE <replaceable>lang_name</replaceable> | TRANSFORM FOR <replaceable>type_name</replaceable> LANGUAGE <replaceable>lang_name</replaceable> |
TYPE <replaceable class="PARAMETER">object_name</replaceable> | TYPE <replaceable class="parameter">object_name</replaceable> |
VIEW <replaceable class="PARAMETER">object_name</replaceable> VIEW <replaceable class="parameter">object_name</replaceable>
<phrase>and <replaceable>aggregate_signature</replaceable> is:</phrase> <phrase>and <replaceable>aggregate_signature</replaceable> is:</phrase>
...@@ -96,7 +96,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea ...@@ -96,7 +96,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">member_object</replaceable></literal></term> <term><literal>ADD <replaceable class="parameter">member_object</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form adds an existing object to the extension. This is mainly This form adds an existing object to the extension. This is mainly
...@@ -108,7 +108,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea ...@@ -108,7 +108,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>DROP <replaceable class="PARAMETER">member_object</replaceable></literal></term> <term><literal>DROP <replaceable class="parameter">member_object</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form removes a member object from the extension. This is mainly This form removes a member object from the extension. This is mainly
...@@ -136,7 +136,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea ...@@ -136,7 +136,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea
<para> <para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an installed extension. The name of an installed extension.
...@@ -145,7 +145,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea ...@@ -145,7 +145,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_version</replaceable></term> <term><replaceable class="parameter">new_version</replaceable></term>
<listitem> <listitem>
<para> <para>
The desired new version of the extension. This can be written as The desired new version of the extension. This can be written as
...@@ -157,7 +157,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea ...@@ -157,7 +157,7 @@ ALTER EXTENSION <replaceable class="PARAMETER">name</replaceable> DROP <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_schema</replaceable></term> <term><replaceable class="parameter">new_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The new schema for the extension. The new schema for the extension.
......
...@@ -24,7 +24,7 @@ PostgreSQL documentation ...@@ -24,7 +24,7 @@ PostgreSQL documentation
ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
[ HANDLER <replaceable class="parameter">handler_function</replaceable> | NO HANDLER ] [ HANDLER <replaceable class="parameter">handler_function</replaceable> | NO HANDLER ]
[ VALIDATOR <replaceable class="parameter">validator_function</replaceable> | NO VALIDATOR ] [ VALIDATOR <replaceable class="parameter">validator_function</replaceable> | NO VALIDATOR ]
[ OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ]) ] [ OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ]) ]
ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
</synopsis> </synopsis>
...@@ -113,7 +113,7 @@ ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> REN ...@@ -113,7 +113,7 @@ ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> REN
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] )</literal></term> <term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
Change options for the foreign-data Change options for the foreign-data
...@@ -127,7 +127,7 @@ ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> REN ...@@ -127,7 +127,7 @@ ALTER FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> REN
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the foreign-data wrapper. The user name of the new owner of the foreign-data wrapper.
......
...@@ -21,41 +21,41 @@ PostgreSQL documentation ...@@ -21,41 +21,41 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER FOREIGN TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ALTER FOREIGN TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ]
<replaceable class="PARAMETER">action</replaceable> [, ... ] <replaceable class="parameter">action</replaceable> [, ... ]
ALTER FOREIGN TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ALTER FOREIGN TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ]
RENAME [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> TO <replaceable class="PARAMETER">new_column_name</replaceable> RENAME [ COLUMN ] <replaceable class="parameter">column_name</replaceable> TO <replaceable class="parameter">new_column_name</replaceable>
ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
RENAME TO <replaceable class="PARAMETER">new_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
SET SCHEMA <replaceable class="PARAMETER">new_schema</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
<phrase>where <replaceable class="PARAMETER">action</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">action</replaceable> is one of:</phrase>
ADD [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] ADD [ COLUMN ] <replaceable class="parameter">column_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
DROP [ COLUMN ] [ IF EXISTS ] <replaceable class="PARAMETER">column_name</replaceable> [ RESTRICT | CASCADE ] DROP [ COLUMN ] [ IF EXISTS ] <replaceable class="parameter">column_name</replaceable> [ RESTRICT | CASCADE ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> [ SET DATA ] TYPE <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> [ SET DATA ] TYPE <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET DEFAULT <replaceable class="PARAMETER">expression</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET DEFAULT <replaceable class="parameter">expression</replaceable>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> DROP DEFAULT ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> DROP DEFAULT
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> { SET | DROP } NOT NULL ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> { SET | DROP } NOT NULL
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STATISTICS <replaceable class="PARAMETER">integer</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STATISTICS <replaceable class="parameter">integer</replaceable>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET ( <replaceable class="PARAMETER">attribute_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET ( <replaceable class="parameter">attribute_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> RESET ( <replaceable class="parameter">attribute_option</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN } ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ]) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ])
ADD <replaceable class="PARAMETER">table_constraint</replaceable> [ NOT VALID ] ADD <replaceable class="parameter">table_constraint</replaceable> [ NOT VALID ]
VALIDATE CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> VALIDATE CONSTRAINT <replaceable class="parameter">constraint_name</replaceable>
DROP CONSTRAINT [ IF EXISTS ] <replaceable class="PARAMETER">constraint_name</replaceable> [ RESTRICT | CASCADE ] DROP CONSTRAINT [ IF EXISTS ] <replaceable class="parameter">constraint_name</replaceable> [ RESTRICT | CASCADE ]
DISABLE TRIGGER [ <replaceable class="PARAMETER">trigger_name</replaceable> | ALL | USER ] DISABLE TRIGGER [ <replaceable class="parameter">trigger_name</replaceable> | ALL | USER ]
ENABLE TRIGGER [ <replaceable class="PARAMETER">trigger_name</replaceable> | ALL | USER ] ENABLE TRIGGER [ <replaceable class="parameter">trigger_name</replaceable> | ALL | USER ]
ENABLE REPLICA TRIGGER <replaceable class="PARAMETER">trigger_name</replaceable> ENABLE REPLICA TRIGGER <replaceable class="parameter">trigger_name</replaceable>
ENABLE ALWAYS TRIGGER <replaceable class="PARAMETER">trigger_name</replaceable> ENABLE ALWAYS TRIGGER <replaceable class="parameter">trigger_name</replaceable>
SET WITH OIDS SET WITH OIDS
SET WITHOUT OIDS SET WITHOUT OIDS
INHERIT <replaceable class="PARAMETER">parent_table</replaceable> INHERIT <replaceable class="parameter">parent_table</replaceable>
NO INHERIT <replaceable class="PARAMETER">parent_table</replaceable> NO INHERIT <replaceable class="parameter">parent_table</replaceable>
OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ]) OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ])
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -142,8 +142,8 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -142,8 +142,8 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>SET ( <replaceable class="PARAMETER">attribute_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] )</literal></term> <term><literal>SET ( <replaceable class="parameter">attribute_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )</literal></term>
<term><literal>RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] )</literal></term> <term><literal>RESET ( <replaceable class="parameter">attribute_option</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form sets or resets per-attribute options. This form sets or resets per-attribute options.
...@@ -169,7 +169,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -169,7 +169,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">table_constraint</replaceable> [ NOT VALID ]</literal></term> <term><literal>ADD <replaceable class="parameter">table_constraint</replaceable> [ NOT VALID ]</literal></term>
<listitem> <listitem>
<para> <para>
This form adds a new constraint to a foreign table, using the same This form adds a new constraint to a foreign table, using the same
...@@ -256,7 +256,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -256,7 +256,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>INHERIT <replaceable class="PARAMETER">parent_table</replaceable></literal></term> <term><literal>INHERIT <replaceable class="parameter">parent_table</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form adds the target foreign table as a new child of the specified This form adds the target foreign table as a new child of the specified
...@@ -268,7 +268,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -268,7 +268,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>NO INHERIT <replaceable class="PARAMETER">parent_table</replaceable></literal></term> <term><literal>NO INHERIT <replaceable class="parameter">parent_table</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form removes the target foreign table from the list of children of This form removes the target foreign table from the list of children of
...@@ -288,7 +288,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -288,7 +288,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] )</literal></term> <term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
Change options for the foreign table or one of its columns. Change options for the foreign table or one of its columns.
...@@ -358,7 +358,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -358,7 +358,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of an existing foreign table to The name (possibly schema-qualified) of an existing foreign table to
...@@ -372,7 +372,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -372,7 +372,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a new or existing column. Name of a new or existing column.
...@@ -381,7 +381,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -381,7 +381,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_column_name</replaceable></term> <term><replaceable class="parameter">new_column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
New name for an existing column. New name for an existing column.
...@@ -390,7 +390,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -390,7 +390,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
New name for the table. New name for the table.
...@@ -399,7 +399,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -399,7 +399,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
Data type of the new column, or new data type for an existing Data type of the new column, or new data type for an existing
...@@ -409,7 +409,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -409,7 +409,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_constraint</replaceable></term> <term><replaceable class="parameter">table_constraint</replaceable></term>
<listitem> <listitem>
<para> <para>
New table constraint for the foreign table. New table constraint for the foreign table.
...@@ -418,7 +418,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -418,7 +418,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">constraint_name</replaceable></term> <term><replaceable class="parameter">constraint_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of an existing constraint to drop. Name of an existing constraint to drop.
...@@ -449,7 +449,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -449,7 +449,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">trigger_name</replaceable></term> <term><replaceable class="parameter">trigger_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a single trigger to disable or enable. Name of a single trigger to disable or enable.
...@@ -480,7 +480,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -480,7 +480,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">parent_table</replaceable></term> <term><replaceable class="parameter">parent_table</replaceable></term>
<listitem> <listitem>
<para> <para>
A parent table to associate or de-associate with this foreign table. A parent table to associate or de-associate with this foreign table.
...@@ -489,7 +489,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -489,7 +489,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the table. The user name of the new owner of the table.
...@@ -498,7 +498,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab ...@@ -498,7 +498,7 @@ ALTER FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceab
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_schema</replaceable></term> <term><replaceable class="parameter">new_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the schema to which the table will be moved. The name of the schema to which the table will be moved.
......
...@@ -22,7 +22,7 @@ PostgreSQL documentation ...@@ -22,7 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ]
<replaceable class="PARAMETER">action</replaceable> [ ... ] [ RESTRICT ] <replaceable class="parameter">action</replaceable> [ ... ] [ RESTRICT ]
ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ]
RENAME TO <replaceable>new_name</replaceable> RENAME TO <replaceable>new_name</replaceable>
ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ]
...@@ -32,7 +32,7 @@ ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="param ...@@ -32,7 +32,7 @@ ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="param
ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] ALTER FUNCTION <replaceable>name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ]
DEPENDS ON EXTENSION <replaceable>extension_name</replaceable> DEPENDS ON EXTENSION <replaceable>extension_name</replaceable>
<phrase>where <replaceable class="PARAMETER">action</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">action</replaceable> is one of:</phrase>
CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT
IMMUTABLE | STABLE | VOLATILE | [ NOT ] LEAKPROOF IMMUTABLE | STABLE | VOLATILE | [ NOT ] LEAKPROOF
......
...@@ -21,16 +21,16 @@ PostgreSQL documentation ...@@ -21,16 +21,16 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER GROUP <replaceable class="PARAMETER">role_specification</replaceable> ADD USER <replaceable class="PARAMETER">user_name</replaceable> [, ... ] ALTER GROUP <replaceable class="parameter">role_specification</replaceable> ADD USER <replaceable class="parameter">user_name</replaceable> [, ... ]
ALTER GROUP <replaceable class="PARAMETER">role_specification</replaceable> DROP USER <replaceable class="PARAMETER">user_name</replaceable> [, ... ] ALTER GROUP <replaceable class="parameter">role_specification</replaceable> DROP USER <replaceable class="parameter">user_name</replaceable> [, ... ]
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
<replaceable class="PARAMETER">role_name</replaceable> <replaceable class="parameter">role_name</replaceable>
| CURRENT_USER | CURRENT_USER
| SESSION_USER | SESSION_USER
ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER GROUP <replaceable class="parameter">group_name</replaceable> RENAME TO <replaceable>new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -66,7 +66,7 @@ ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <r ...@@ -66,7 +66,7 @@ ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <r
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">group_name</replaceable></term> <term><replaceable class="parameter">group_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the group (role) to modify. The name of the group (role) to modify.
...@@ -75,7 +75,7 @@ ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <r ...@@ -75,7 +75,7 @@ ALTER GROUP <replaceable class="PARAMETER">group_name</replaceable> RENAME TO <r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">user_name</replaceable></term> <term><replaceable class="parameter">user_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Users (roles) that are to be added to or removed from the group. Users (roles) that are to be added to or removed from the group.
......
...@@ -21,15 +21,15 @@ PostgreSQL documentation ...@@ -21,15 +21,15 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER INDEX [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> SET TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ALTER INDEX [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET TABLESPACE <replaceable class="parameter">tablespace_name</replaceable>
ALTER INDEX <replaceable class="PARAMETER">name</replaceable> DEPENDS ON EXTENSION <replaceable class="PARAMETER">extension_name</replaceable> ALTER INDEX <replaceable class="parameter">name</replaceable> DEPENDS ON EXTENSION <replaceable class="parameter">extension_name</replaceable>
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ALTER INDEX [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] ) ALTER INDEX [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RESET ( <replaceable class="parameter">storage_parameter</replaceable> [, ... ] )
ALTER INDEX [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER [ COLUMN ] <replaceable class="PARAMETER">column_number</replaceable> ALTER INDEX [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_number</replaceable>
SET STATISTICS <replaceable class="PARAMETER">integer</replaceable> SET STATISTICS <replaceable class="parameter">integer</replaceable>
ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> [ OWNED BY <replaceable class="PARAMETER">role_name</replaceable> [, ... ] ] ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> [ OWNED BY <replaceable class="parameter">role_name</replaceable> [, ... ] ]
SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable> [ NOWAIT ] SET TABLESPACE <replaceable class="parameter">new_tablespace</replaceable> [ NOWAIT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -86,7 +86,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -86,7 +86,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] )</literal></term> <term><literal>SET ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form changes one or more index-method-specific storage parameters This form changes one or more index-method-specific storage parameters
...@@ -102,7 +102,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -102,7 +102,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] )</literal></term> <term><literal>RESET ( <replaceable class="parameter">storage_parameter</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form resets one or more index-method-specific storage parameters to This form resets one or more index-method-specific storage parameters to
...@@ -113,7 +113,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -113,7 +113,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ALTER [ COLUMN ] <replaceable class="PARAMETER">column_number</replaceable> SET STATISTICS <replaceable class="PARAMETER">integer</replaceable></literal></term> <term><literal>ALTER [ COLUMN ] <replaceable class="parameter">column_number</replaceable> SET STATISTICS <replaceable class="parameter">integer</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form sets the per-column statistics-gathering target for This form sets the per-column statistics-gathering target for
...@@ -152,7 +152,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -152,7 +152,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_number</replaceable></term> <term><replaceable class="parameter">column_number</replaceable></term>
<listitem> <listitem>
<para> <para>
The ordinal number refers to the ordinal (left-to-right) position The ordinal number refers to the ordinal (left-to-right) position
...@@ -162,7 +162,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -162,7 +162,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of an existing index to The name (possibly schema-qualified) of an existing index to
...@@ -172,7 +172,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -172,7 +172,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the index. The new name for the index.
...@@ -181,7 +181,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -181,7 +181,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">tablespace_name</replaceable></term> <term><replaceable class="parameter">tablespace_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The tablespace to which the index will be moved. The tablespace to which the index will be moved.
...@@ -190,7 +190,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -190,7 +190,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">extension_name</replaceable></term> <term><replaceable class="parameter">extension_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the extension that the index is to depend on. The name of the extension that the index is to depend on.
...@@ -199,7 +199,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -199,7 +199,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">storage_parameter</replaceable></term> <term><replaceable class="parameter">storage_parameter</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an index-method-specific storage parameter. The name of an index-method-specific storage parameter.
...@@ -208,7 +208,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> ...@@ -208,7 +208,7 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">value</replaceable></term> <term><replaceable class="parameter">value</replaceable></term>
<listitem> <listitem>
<para> <para>
The new value for an index-method-specific storage parameter. The new value for an index-method-specific storage parameter.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER LARGE OBJECT <replaceable class="parameter">large_object_oid</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,30 +21,30 @@ PostgreSQL documentation ...@@ -21,30 +21,30 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
<replaceable class="PARAMETER">action</replaceable> [, ... ] <replaceable class="parameter">action</replaceable> [, ... ]
ALTER MATERIALIZED VIEW <replaceable class="PARAMETER">name</replaceable> ALTER MATERIALIZED VIEW <replaceable class="parameter">name</replaceable>
DEPENDS ON EXTENSION <replaceable class="PARAMETER">extension_name</replaceable> DEPENDS ON EXTENSION <replaceable class="parameter">extension_name</replaceable>
ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
RENAME [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> TO <replaceable class="PARAMETER">new_column_name</replaceable> RENAME [ COLUMN ] <replaceable class="parameter">column_name</replaceable> TO <replaceable class="parameter">new_column_name</replaceable>
ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
RENAME TO <replaceable class="parameter">new_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
SET SCHEMA <replaceable class="parameter">new_schema</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> [ OWNED BY <replaceable class="PARAMETER">role_name</replaceable> [, ... ] ] ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> [ OWNED BY <replaceable class="parameter">role_name</replaceable> [, ... ] ]
SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable> [ NOWAIT ] SET TABLESPACE <replaceable class="parameter">new_tablespace</replaceable> [ NOWAIT ]
<phrase>where <replaceable class="PARAMETER">action</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">action</replaceable> is one of:</phrase>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STATISTICS <replaceable class="PARAMETER">integer</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STATISTICS <replaceable class="parameter">integer</replaceable>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET ( <replaceable class="PARAMETER">attribute_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET ( <replaceable class="parameter">attribute_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> RESET ( <replaceable class="parameter">attribute_option</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN } ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
CLUSTER ON <replaceable class="PARAMETER">index_name</replaceable> CLUSTER ON <replaceable class="parameter">index_name</replaceable>
SET WITHOUT CLUSTER SET WITHOUT CLUSTER
SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) SET ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] ) RESET ( <replaceable class="parameter">storage_parameter</replaceable> [, ... ] )
OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -98,7 +98,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r ...@@ -98,7 +98,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a new or existing column. Name of a new or existing column.
...@@ -107,7 +107,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r ...@@ -107,7 +107,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">extension_name</replaceable></term> <term><replaceable class="parameter">extension_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the extension that the materialized view is to depend on. The name of the extension that the materialized view is to depend on.
...@@ -116,7 +116,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r ...@@ -116,7 +116,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_column_name</replaceable></term> <term><replaceable class="parameter">new_column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
New name for an existing column. New name for an existing column.
...@@ -125,7 +125,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r ...@@ -125,7 +125,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the materialized view. The user name of the new owner of the materialized view.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER POLICY <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER POLICY <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER POLICY <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> ALTER POLICY <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
[ TO { <replaceable class="parameter">role_name</replaceable> | PUBLIC | CURRENT_USER | SESSION_USER } [, ...] ] [ TO { <replaceable class="parameter">role_name</replaceable> | PUBLIC | CURRENT_USER | SESSION_USER } [, ...] ]
......
...@@ -21,12 +21,12 @@ PostgreSQL documentation ...@@ -21,12 +21,12 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> ADD TABLE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [, ...] ALTER PUBLICATION <replaceable class="parameter">name</replaceable> ADD TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [, ...]
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> SET TABLE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [, ...] ALTER PUBLICATION <replaceable class="parameter">name</replaceable> SET TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [, ...]
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> DROP TABLE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [, ...] ALTER PUBLICATION <replaceable class="parameter">name</replaceable> DROP TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [, ...]
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> SET ( <replaceable class="parameter">publication_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ALTER PUBLICATION <replaceable class="parameter">name</replaceable> SET ( <replaceable class="parameter">publication_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER PUBLICATION <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER PUBLICATION <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER PUBLICATION <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER ROLE <replaceable class="PARAMETER">role_specification</replaceable> [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ALTER ROLE <replaceable class="parameter">role_specification</replaceable> [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
SUPERUSER | NOSUPERUSER SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB | CREATEDB | NOCREATEDB
...@@ -32,20 +32,20 @@ ALTER ROLE <replaceable class="PARAMETER">role_specification</replaceable> [ WIT ...@@ -32,20 +32,20 @@ ALTER ROLE <replaceable class="PARAMETER">role_specification</replaceable> [ WIT
| LOGIN | NOLOGIN | LOGIN | NOLOGIN
| REPLICATION | NOREPLICATION | REPLICATION | NOREPLICATION
| BYPASSRLS | NOBYPASSRLS | BYPASSRLS | NOBYPASSRLS
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable> | CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
| [ ENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>' | [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' | VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
ALTER ROLE <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER ROLE <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT } ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT }
ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> FROM CURRENT ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> FROM CURRENT
ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] RESET <replaceable>configuration_parameter</replaceable> ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] RESET <replaceable>configuration_parameter</replaceable>
ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] RESET ALL ALTER ROLE { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] RESET ALL
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
<replaceable class="PARAMETER">role_name</replaceable> <replaceable class="parameter">role_name</replaceable>
| CURRENT_USER | CURRENT_USER
| SESSION_USER | SESSION_USER
</synopsis> </synopsis>
...@@ -125,7 +125,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A ...@@ -125,7 +125,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the role whose attributes are to be altered. The name of the role whose attributes are to be altered.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER RULE <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -44,7 +44,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla ...@@ -44,7 +44,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing rule to alter. The name of an existing rule to alter.
...@@ -53,7 +53,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla ...@@ -53,7 +53,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table or view that the The name (optionally schema-qualified) of the table or view that the
...@@ -63,7 +63,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla ...@@ -63,7 +63,7 @@ ALTER RULE <replaceable class="PARAMETER">name</replaceable> ON <replaceable cla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the rule. The new name for the rule.
......
...@@ -31,7 +31,7 @@ ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ...@@ -31,7 +31,7 @@ ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
[ RESTART [ [ WITH ] <replaceable class="parameter">restart</replaceable> ] ] [ RESTART [ [ WITH ] <replaceable class="parameter">restart</replaceable> ] ]
[ CACHE <replaceable class="parameter">cache</replaceable> ] [ [ NO ] CYCLE ] [ CACHE <replaceable class="parameter">cache</replaceable> ] [ [ NO ] CYCLE ]
[ OWNED BY { <replaceable class="parameter">table_name</replaceable>.<replaceable class="parameter">column_name</replaceable> | NONE } ] [ OWNED BY { <replaceable class="parameter">table_name</replaceable>.<replaceable class="parameter">column_name</replaceable> | NONE } ]
ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable> ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable> ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
</synopsis> </synopsis>
...@@ -256,7 +256,7 @@ ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> S ...@@ -256,7 +256,7 @@ ALTER SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> S
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the sequence. The user name of the new owner of the sequence.
......
...@@ -22,9 +22,9 @@ PostgreSQL documentation ...@@ -22,9 +22,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER SERVER <replaceable class="parameter">name</replaceable> [ VERSION '<replaceable class="parameter">new_version</replaceable>' ] ALTER SERVER <replaceable class="parameter">name</replaceable> [ VERSION '<replaceable class="parameter">new_version</replaceable>' ]
[ OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] ) ] [ OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] ) ]
ALTER SERVER <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER SERVER <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER SERVER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER SERVER <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -71,7 +71,7 @@ ALTER SERVER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replac ...@@ -71,7 +71,7 @@ ALTER SERVER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] )</literal></term> <term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
Change options for the Change options for the
...@@ -85,7 +85,7 @@ ALTER SERVER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replac ...@@ -85,7 +85,7 @@ ALTER SERVER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the foreign server. The user name of the new owner of the foreign server.
......
...@@ -23,7 +23,7 @@ PostgreSQL documentation ...@@ -23,7 +23,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER STATISTICS <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER STATISTICS <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER STATISTICS <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable> ALTER STATISTICS <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER STATISTICS <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable> ALTER STATISTICS <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
</synopsis> </synopsis>
...@@ -67,7 +67,7 @@ ALTER STATISTICS <replaceable class="parameter">name</replaceable> SET SCHEMA <r ...@@ -67,7 +67,7 @@ ALTER STATISTICS <replaceable class="parameter">name</replaceable> SET SCHEMA <r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the statistics object. The user name of the new owner of the statistics object.
......
...@@ -21,14 +21,14 @@ PostgreSQL documentation ...@@ -21,14 +21,14 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> CONNECTION '<replaceable>conninfo</replaceable>' ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> CONNECTION '<replaceable>conninfo</replaceable>'
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> SET PUBLICATION <replaceable class="PARAMETER">publication_name</replaceable> [, ...] [ WITH ( <replaceable class="PARAMETER">set_publication_option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) ] ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> SET PUBLICATION <replaceable class="parameter">publication_name</replaceable> [, ...] [ WITH ( <replaceable class="parameter">set_publication_option</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> REFRESH PUBLICATION [ WITH ( <replaceable class="PARAMETER">refresh_option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) ] ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> REFRESH PUBLICATION [ WITH ( <replaceable class="parameter">refresh_option</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> ENABLE ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> ENABLE
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> DISABLE ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> DISABLE
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> SET ( <replaceable class="parameter">subscription_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> SET ( <replaceable class="parameter">subscription_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER SUBSCRIPTION <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER SYSTEM SET <replaceable class="PARAMETER">configuration_parameter</replaceable> { TO | = } { <replaceable class="PARAMETER">value</replaceable> | '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT } ALTER SYSTEM SET <replaceable class="parameter">configuration_parameter</replaceable> { TO | = } { <replaceable class="parameter">value</replaceable> | '<replaceable class="parameter">value</replaceable>' | DEFAULT }
ALTER SYSTEM RESET <replaceable class="PARAMETER">configuration_parameter</replaceable> ALTER SYSTEM RESET <replaceable class="parameter">configuration_parameter</replaceable>
ALTER SYSTEM RESET ALL ALTER SYSTEM RESET ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,74 +21,74 @@ PostgreSQL documentation ...@@ -21,74 +21,74 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ]
<replaceable class="PARAMETER">action</replaceable> [, ... ] <replaceable class="parameter">action</replaceable> [, ... ]
ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ]
RENAME [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> TO <replaceable class="PARAMETER">new_column_name</replaceable> RENAME [ COLUMN ] <replaceable class="parameter">column_name</replaceable> TO <replaceable class="parameter">new_column_name</replaceable>
ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ALTER TABLE [ IF EXISTS ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ]
RENAME CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> TO <replaceable class="PARAMETER">new_constraint_name</replaceable> RENAME CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> TO <replaceable class="parameter">new_constraint_name</replaceable>
ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
RENAME TO <replaceable class="PARAMETER">new_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
SET SCHEMA <replaceable class="PARAMETER">new_schema</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
ALTER TABLE ALL IN TABLESPACE <replaceable class="PARAMETER">name</replaceable> [ OWNED BY <replaceable class="PARAMETER">role_name</replaceable> [, ... ] ] ALTER TABLE ALL IN TABLESPACE <replaceable class="parameter">name</replaceable> [ OWNED BY <replaceable class="parameter">role_name</replaceable> [, ... ] ]
SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable> [ NOWAIT ] SET TABLESPACE <replaceable class="parameter">new_tablespace</replaceable> [ NOWAIT ]
ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
ATTACH PARTITION <replaceable class="PARAMETER">partition_name</replaceable> { FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable> | DEFAULT } ATTACH PARTITION <replaceable class="parameter">partition_name</replaceable> { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }
ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ALTER TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
DETACH PARTITION <replaceable class="PARAMETER">partition_name</replaceable> DETACH PARTITION <replaceable class="parameter">partition_name</replaceable>
<phrase>where <replaceable class="PARAMETER">action</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">action</replaceable> is one of:</phrase>
ADD [ COLUMN ] [ IF NOT EXISTS ] <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] ADD [ COLUMN ] [ IF NOT EXISTS ] <replaceable class="parameter">column_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
DROP [ COLUMN ] [ IF EXISTS ] <replaceable class="PARAMETER">column_name</replaceable> [ RESTRICT | CASCADE ] DROP [ COLUMN ] [ IF EXISTS ] <replaceable class="parameter">column_name</replaceable> [ RESTRICT | CASCADE ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> [ SET DATA ] TYPE <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] [ USING <replaceable class="PARAMETER">expression</replaceable> ] ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> [ SET DATA ] TYPE <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ USING <replaceable class="parameter">expression</replaceable> ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET DEFAULT <replaceable class="PARAMETER">expression</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET DEFAULT <replaceable class="parameter">expression</replaceable>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> DROP DEFAULT ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> DROP DEFAULT
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> { SET | DROP } NOT NULL ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> { SET | DROP } NOT NULL
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> ADD GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( <replaceable>sequence_options</replaceable> ) ] ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> ADD GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( <replaceable>sequence_options</replaceable> ) ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> { SET GENERATED { ALWAYS | BY DEFAULT } | SET <replaceable>sequence_option</replaceable> | RESTART [ [ WITH ] <replaceable class="parameter">restart</replaceable> ] } [...] ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> { SET GENERATED { ALWAYS | BY DEFAULT } | SET <replaceable>sequence_option</replaceable> | RESTART [ [ WITH ] <replaceable class="parameter">restart</replaceable> ] } [...]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> DROP IDENTITY [ IF EXISTS ] ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> DROP IDENTITY [ IF EXISTS ]
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STATISTICS <replaceable class="PARAMETER">integer</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STATISTICS <replaceable class="parameter">integer</replaceable>
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET ( <replaceable class="PARAMETER">attribute_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET ( <replaceable class="parameter">attribute_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] ) ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> RESET ( <replaceable class="parameter">attribute_option</replaceable> [, ... ] )
ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN } ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
ADD <replaceable class="PARAMETER">table_constraint</replaceable> [ NOT VALID ] ADD <replaceable class="parameter">table_constraint</replaceable> [ NOT VALID ]
ADD <replaceable class="PARAMETER">table_constraint_using_index</replaceable> ADD <replaceable class="parameter">table_constraint_using_index</replaceable>
ALTER CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ] ALTER CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
VALIDATE CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> VALIDATE CONSTRAINT <replaceable class="parameter">constraint_name</replaceable>
DROP CONSTRAINT [ IF EXISTS ] <replaceable class="PARAMETER">constraint_name</replaceable> [ RESTRICT | CASCADE ] DROP CONSTRAINT [ IF EXISTS ] <replaceable class="parameter">constraint_name</replaceable> [ RESTRICT | CASCADE ]
DISABLE TRIGGER [ <replaceable class="PARAMETER">trigger_name</replaceable> | ALL | USER ] DISABLE TRIGGER [ <replaceable class="parameter">trigger_name</replaceable> | ALL | USER ]
ENABLE TRIGGER [ <replaceable class="PARAMETER">trigger_name</replaceable> | ALL | USER ] ENABLE TRIGGER [ <replaceable class="parameter">trigger_name</replaceable> | ALL | USER ]
ENABLE REPLICA TRIGGER <replaceable class="PARAMETER">trigger_name</replaceable> ENABLE REPLICA TRIGGER <replaceable class="parameter">trigger_name</replaceable>
ENABLE ALWAYS TRIGGER <replaceable class="PARAMETER">trigger_name</replaceable> ENABLE ALWAYS TRIGGER <replaceable class="parameter">trigger_name</replaceable>
DISABLE RULE <replaceable class="PARAMETER">rewrite_rule_name</replaceable> DISABLE RULE <replaceable class="parameter">rewrite_rule_name</replaceable>
ENABLE RULE <replaceable class="PARAMETER">rewrite_rule_name</replaceable> ENABLE RULE <replaceable class="parameter">rewrite_rule_name</replaceable>
ENABLE REPLICA RULE <replaceable class="PARAMETER">rewrite_rule_name</replaceable> ENABLE REPLICA RULE <replaceable class="parameter">rewrite_rule_name</replaceable>
ENABLE ALWAYS RULE <replaceable class="PARAMETER">rewrite_rule_name</replaceable> ENABLE ALWAYS RULE <replaceable class="parameter">rewrite_rule_name</replaceable>
DISABLE ROW LEVEL SECURITY DISABLE ROW LEVEL SECURITY
ENABLE ROW LEVEL SECURITY ENABLE ROW LEVEL SECURITY
FORCE ROW LEVEL SECURITY FORCE ROW LEVEL SECURITY
NO FORCE ROW LEVEL SECURITY NO FORCE ROW LEVEL SECURITY
CLUSTER ON <replaceable class="PARAMETER">index_name</replaceable> CLUSTER ON <replaceable class="parameter">index_name</replaceable>
SET WITHOUT CLUSTER SET WITHOUT CLUSTER
SET WITH OIDS SET WITH OIDS
SET WITHOUT OIDS SET WITHOUT OIDS
SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable> SET TABLESPACE <replaceable class="parameter">new_tablespace</replaceable>
SET { LOGGED | UNLOGGED } SET { LOGGED | UNLOGGED }
SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) SET ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] ) RESET ( <replaceable class="parameter">storage_parameter</replaceable> [, ... ] )
INHERIT <replaceable class="PARAMETER">parent_table</replaceable> INHERIT <replaceable class="parameter">parent_table</replaceable>
NO INHERIT <replaceable class="PARAMETER">parent_table</replaceable> NO INHERIT <replaceable class="parameter">parent_table</replaceable>
OF <replaceable class="PARAMETER">type_name</replaceable> OF <replaceable class="parameter">type_name</replaceable>
NOT OF NOT OF
OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
REPLICA IDENTITY { DEFAULT | USING INDEX <replaceable class="PARAMETER">index_name</replaceable> | FULL | NOTHING } REPLICA IDENTITY { DEFAULT | USING INDEX <replaceable class="parameter">index_name</replaceable> | FULL | NOTHING }
<phrase>and <replaceable class="PARAMETER">table_constraint_using_index</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">table_constraint_using_index</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
{ UNIQUE | PRIMARY KEY } USING INDEX <replaceable class="PARAMETER">index_name</replaceable> { UNIQUE | PRIMARY KEY } USING INDEX <replaceable class="parameter">index_name</replaceable>
[ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ] [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -244,8 +244,8 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -244,8 +244,8 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>SET ( <replaceable class="PARAMETER">attribute_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] )</literal></term> <term><literal>SET ( <replaceable class="parameter">attribute_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )</literal></term>
<term><literal>RESET ( <replaceable class="PARAMETER">attribute_option</replaceable> [, ... ] )</literal></term> <term><literal>RESET ( <replaceable class="parameter">attribute_option</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form sets or resets per-attribute options. Currently, the only This form sets or resets per-attribute options. Currently, the only
...@@ -310,7 +310,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -310,7 +310,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">table_constraint</replaceable> [ NOT VALID ]</literal></term> <term><literal>ADD <replaceable class="parameter">table_constraint</replaceable> [ NOT VALID ]</literal></term>
<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
...@@ -332,7 +332,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -332,7 +332,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ADD <replaceable class="PARAMETER">table_constraint_using_index</replaceable></literal></term> <term><literal>ADD <replaceable class="parameter">table_constraint_using_index</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form adds a new <literal>PRIMARY KEY</> or <literal>UNIQUE</> This form adds a new <literal>PRIMARY KEY</> or <literal>UNIQUE</>
...@@ -599,7 +599,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -599,7 +599,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] )</literal></term> <term><literal>SET ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form changes one or more storage parameters for the table. See This form changes one or more storage parameters for the table. See
...@@ -628,7 +628,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -628,7 +628,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
<para> <para>
While <command>CREATE TABLE</> allows <literal>OIDS</> to be specified While <command>CREATE TABLE</> allows <literal>OIDS</> to be specified
in the <literal>WITH (<replaceable in the <literal>WITH (<replaceable
class="PARAMETER">storage_parameter</>)</literal> syntax, class="parameter">storage_parameter</>)</literal> syntax,
<command>ALTER TABLE</> does not treat <literal>OIDS</> as a <command>ALTER TABLE</> does not treat <literal>OIDS</> as a
storage parameter. Instead use the <literal>SET WITH OIDS</> storage parameter. Instead use the <literal>SET WITH OIDS</>
and <literal>SET WITHOUT OIDS</> forms to change OID status. and <literal>SET WITHOUT OIDS</> forms to change OID status.
...@@ -638,7 +638,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -638,7 +638,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] )</literal></term> <term><literal>RESET ( <replaceable class="parameter">storage_parameter</replaceable> [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This form resets one or more storage parameters to their This form resets one or more storage parameters to their
...@@ -649,7 +649,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -649,7 +649,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>INHERIT <replaceable class="PARAMETER">parent_table</replaceable></literal></term> <term><literal>INHERIT <replaceable class="parameter">parent_table</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form adds the target table as a new child of the specified parent This form adds the target table as a new child of the specified parent
...@@ -677,7 +677,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -677,7 +677,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>NO INHERIT <replaceable class="PARAMETER">parent_table</replaceable></literal></term> <term><literal>NO INHERIT <replaceable class="parameter">parent_table</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form removes the target table from the list of children of the This form removes the target table from the list of children of the
...@@ -689,7 +689,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -689,7 +689,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OF <replaceable class="PARAMETER">type_name</replaceable></literal></term> <term><literal>OF <replaceable class="parameter">type_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This form links the table to a composite type as though <command>CREATE This form links the table to a composite type as though <command>CREATE
...@@ -765,7 +765,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -765,7 +765,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ATTACH PARTITION <replaceable class="PARAMETER">partition_name</replaceable> { FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable> | DEFAULT }</literal></term> <term><literal>ATTACH PARTITION <replaceable class="parameter">partition_name</replaceable> { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }</literal></term>
<listitem> <listitem>
<para> <para>
This form attaches an existing table (which might itself be partitioned) This form attaches an existing table (which might itself be partitioned)
...@@ -777,7 +777,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -777,7 +777,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
<para> <para>
A partition using <literal>FOR VALUES</literal> uses same syntax for A partition using <literal>FOR VALUES</literal> uses same syntax for
<replaceable class="PARAMETER">partition_bound_spec</replaceable> as <replaceable class="parameter">partition_bound_spec</replaceable> as
<xref linkend="sql-createtable">. The partition bound specification <xref linkend="sql-createtable">. The partition bound specification
must correspond to the partitioning strategy and partition key of the must correspond to the partitioning strategy and partition key of the
target table. The table to be attached must have all the same columns target table. The table to be attached must have all the same columns
...@@ -828,7 +828,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -828,7 +828,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>DETACH PARTITION</literal> <replaceable class="PARAMETER">partition_name</replaceable></term> <term><literal>DETACH PARTITION</literal> <replaceable class="parameter">partition_name</replaceable></term>
<listitem> <listitem>
<para> <para>
This form detaches specified partition of the target table. The detached This form detaches specified partition of the target table. The detached
...@@ -886,7 +886,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -886,7 +886,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of an existing table to The name (optionally schema-qualified) of an existing table to
...@@ -900,7 +900,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -900,7 +900,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a new or existing column. Name of a new or existing column.
...@@ -909,7 +909,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -909,7 +909,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_column_name</replaceable></term> <term><replaceable class="parameter">new_column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
New name for an existing column. New name for an existing column.
...@@ -918,7 +918,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -918,7 +918,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
New name for the table. New name for the table.
...@@ -927,7 +927,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -927,7 +927,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
Data type of the new column, or new data type for an existing Data type of the new column, or new data type for an existing
...@@ -937,7 +937,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -937,7 +937,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_constraint</replaceable></term> <term><replaceable class="parameter">table_constraint</replaceable></term>
<listitem> <listitem>
<para> <para>
New table constraint for the table. New table constraint for the table.
...@@ -946,7 +946,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -946,7 +946,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">constraint_name</replaceable></term> <term><replaceable class="parameter">constraint_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a new or existing constraint. Name of a new or existing constraint.
...@@ -977,7 +977,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -977,7 +977,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">trigger_name</replaceable></term> <term><replaceable class="parameter">trigger_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a single trigger to disable or enable. Name of a single trigger to disable or enable.
...@@ -1011,7 +1011,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1011,7 +1011,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">index_name</replaceable></term> <term><replaceable class="parameter">index_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing index. The name of an existing index.
...@@ -1020,7 +1020,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1020,7 +1020,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">storage_parameter</replaceable></term> <term><replaceable class="parameter">storage_parameter</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a table storage parameter. The name of a table storage parameter.
...@@ -1029,7 +1029,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1029,7 +1029,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">value</replaceable></term> <term><replaceable class="parameter">value</replaceable></term>
<listitem> <listitem>
<para> <para>
The new value for a table storage parameter. The new value for a table storage parameter.
...@@ -1039,7 +1039,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1039,7 +1039,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">parent_table</replaceable></term> <term><replaceable class="parameter">parent_table</replaceable></term>
<listitem> <listitem>
<para> <para>
A parent table to associate or de-associate with this table. A parent table to associate or de-associate with this table.
...@@ -1048,7 +1048,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1048,7 +1048,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the table. The user name of the new owner of the table.
...@@ -1057,7 +1057,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1057,7 +1057,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_tablespace</replaceable></term> <term><replaceable class="parameter">new_tablespace</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the tablespace to which the table will be moved. The name of the tablespace to which the table will be moved.
...@@ -1066,7 +1066,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1066,7 +1066,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_schema</replaceable></term> <term><replaceable class="parameter">new_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the schema to which the table will be moved. The name of the schema to which the table will be moved.
...@@ -1075,7 +1075,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1075,7 +1075,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">partition_name</replaceable></term> <term><replaceable class="parameter">partition_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the table to attach as a new partition or to detach from this table. The name of the table to attach as a new partition or to detach from this table.
...@@ -1084,7 +1084,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -1084,7 +1084,7 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">partition_bound_spec</replaceable></term> <term><replaceable class="parameter">partition_bound_spec</replaceable></term>
<listitem> <listitem>
<para> <para>
The partition bound specification for a new partition. Refer to The partition bound specification for a new partition. Refer to
......
...@@ -23,8 +23,8 @@ PostgreSQL documentation ...@@ -23,8 +23,8 @@ PostgreSQL documentation
<synopsis> <synopsis>
ALTER TABLESPACE <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER TABLESPACE <replaceable>name</replaceable> RENAME TO <replaceable>new_name</replaceable>
ALTER TABLESPACE <replaceable>name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER TABLESPACE <replaceable>name</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER TABLESPACE <replaceable>name</replaceable> SET ( <replaceable class="PARAMETER">tablespace_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ALTER TABLESPACE <replaceable>name</replaceable> SET ( <replaceable class="parameter">tablespace_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] )
ALTER TABLESPACE <replaceable>name</replaceable> RESET ( <replaceable class="PARAMETER">tablespace_option</replaceable> [, ... ] ) ALTER TABLESPACE <replaceable>name</replaceable> RESET ( <replaceable class="parameter">tablespace_option</replaceable> [, ... ] )
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,8 +21,8 @@ PostgreSQL documentation ...@@ -21,8 +21,8 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER TRIGGER <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> DEPENDS ON EXTENSION <replaceable class="PARAMETER">extension_name</replaceable> ALTER TRIGGER <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> DEPENDS ON EXTENSION <replaceable class="parameter">extension_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -48,7 +48,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable ...@@ -48,7 +48,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing trigger to alter. The name of an existing trigger to alter.
...@@ -57,7 +57,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable ...@@ -57,7 +57,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the table on which this trigger acts. The name of the table on which this trigger acts.
...@@ -66,7 +66,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable ...@@ -66,7 +66,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the trigger. The new name for the trigger.
...@@ -75,7 +75,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable ...@@ -75,7 +75,7 @@ ALTER TRIGGER <replaceable class="PARAMETER">name</replaceable> ON <replaceable
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">extension_name</replaceable></term> <term><replaceable class="parameter">extension_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the extension that the trigger is to depend on. The name of the extension that the trigger is to depend on.
......
...@@ -23,19 +23,19 @@ PostgreSQL documentation ...@@ -23,19 +23,19 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> <replaceable class="PARAMETER">action</replaceable> [, ... ] ALTER TYPE <replaceable class="parameter">name</replaceable> <replaceable class="parameter">action</replaceable> [, ... ]
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER TYPE <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME ATTRIBUTE <replaceable class="PARAMETER">attribute_name</replaceable> TO <replaceable class="PARAMETER">new_attribute_name</replaceable> [ CASCADE | RESTRICT ] ALTER TYPE <replaceable class="parameter">name</replaceable> RENAME ATTRIBUTE <replaceable class="parameter">attribute_name</replaceable> TO <replaceable class="parameter">new_attribute_name</replaceable> [ CASCADE | RESTRICT ]
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable class="PARAMETER">new_name</replaceable> ALTER TYPE <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> SET SCHEMA <replaceable class="PARAMETER">new_schema</replaceable> ALTER TYPE <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> ADD VALUE [ IF NOT EXISTS ] <replaceable class="PARAMETER">new_enum_value</replaceable> [ { BEFORE | AFTER } <replaceable class="PARAMETER">neighbor_enum_value</replaceable> ] ALTER TYPE <replaceable class="parameter">name</replaceable> ADD VALUE [ IF NOT EXISTS ] <replaceable class="parameter">new_enum_value</replaceable> [ { BEFORE | AFTER } <replaceable class="parameter">neighbor_enum_value</replaceable> ]
ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <replaceable class="PARAMETER">existing_enum_value</replaceable> TO <replaceable class="PARAMETER">new_enum_value</replaceable> ALTER TYPE <replaceable class="parameter">name</replaceable> RENAME VALUE <replaceable class="parameter">existing_enum_value</replaceable> TO <replaceable class="parameter">new_enum_value</replaceable>
<phrase>where <replaceable class="PARAMETER">action</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">action</replaceable> is one of:</phrase>
ADD ATTRIBUTE <replaceable class="PARAMETER">attribute_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] [ CASCADE | RESTRICT ] ADD ATTRIBUTE <replaceable class="parameter">attribute_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ CASCADE | RESTRICT ]
DROP ATTRIBUTE [ IF EXISTS ] <replaceable class="PARAMETER">attribute_name</replaceable> [ CASCADE | RESTRICT ] DROP ATTRIBUTE [ IF EXISTS ] <replaceable class="parameter">attribute_name</replaceable> [ CASCADE | RESTRICT ]
ALTER ATTRIBUTE <replaceable class="PARAMETER">attribute_name</replaceable> [ SET DATA ] TYPE <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable class="PARAMETER">collation</replaceable> ] [ CASCADE | RESTRICT ] ALTER ATTRIBUTE <replaceable class="parameter">attribute_name</replaceable> [ SET DATA ] TYPE <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -166,7 +166,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -166,7 +166,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
<para> <para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of an existing type to The name (possibly schema-qualified) of an existing type to
...@@ -176,7 +176,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -176,7 +176,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_name</replaceable></term> <term><replaceable class="parameter">new_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name for the type. The new name for the type.
...@@ -185,7 +185,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -185,7 +185,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the type. The user name of the new owner of the type.
...@@ -194,7 +194,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -194,7 +194,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_schema</replaceable></term> <term><replaceable class="parameter">new_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The new schema for the type. The new schema for the type.
...@@ -203,7 +203,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -203,7 +203,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">attribute_name</replaceable></term> <term><replaceable class="parameter">attribute_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the attribute to add, alter, or drop. The name of the attribute to add, alter, or drop.
...@@ -212,7 +212,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -212,7 +212,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_attribute_name</replaceable></term> <term><replaceable class="parameter">new_attribute_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The new name of the attribute to be renamed. The new name of the attribute to be renamed.
...@@ -221,7 +221,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -221,7 +221,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type of the attribute to add, or the new type of the The data type of the attribute to add, or the new type of the
...@@ -231,7 +231,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -231,7 +231,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_enum_value</replaceable></term> <term><replaceable class="parameter">new_enum_value</replaceable></term>
<listitem> <listitem>
<para> <para>
The new value to be added to an enum type's list of values, The new value to be added to an enum type's list of values,
...@@ -242,7 +242,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -242,7 +242,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">neighbor_enum_value</replaceable></term> <term><replaceable class="parameter">neighbor_enum_value</replaceable></term>
<listitem> <listitem>
<para> <para>
The existing enum value that the new value should be added immediately The existing enum value that the new value should be added immediately
...@@ -253,7 +253,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla ...@@ -253,7 +253,7 @@ ALTER TYPE <replaceable class="PARAMETER">name</replaceable> RENAME VALUE <repla
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">existing_enum_value</replaceable></term> <term><replaceable class="parameter">existing_enum_value</replaceable></term>
<listitem> <listitem>
<para> <para>
The existing enum value that should be renamed. The existing enum value that should be renamed.
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER USER <replaceable class="PARAMETER">role_specification</replaceable> [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ALTER USER <replaceable class="parameter">role_specification</replaceable> [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
SUPERUSER | NOSUPERUSER SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB | CREATEDB | NOCREATEDB
...@@ -32,20 +32,20 @@ ALTER USER <replaceable class="PARAMETER">role_specification</replaceable> [ WIT ...@@ -32,20 +32,20 @@ ALTER USER <replaceable class="PARAMETER">role_specification</replaceable> [ WIT
| LOGIN | NOLOGIN | LOGIN | NOLOGIN
| REPLICATION | NOREPLICATION | REPLICATION | NOREPLICATION
| BYPASSRLS | NOBYPASSRLS | BYPASSRLS | NOBYPASSRLS
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable> | CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
| [ ENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>' | [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' | VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
ALTER USER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable> ALTER USER <replaceable class="parameter">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT } ALTER USER { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> { TO | = } { <replaceable>value</replaceable> | DEFAULT }
ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> FROM CURRENT ALTER USER { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] SET <replaceable>configuration_parameter</replaceable> FROM CURRENT
ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] RESET <replaceable>configuration_parameter</replaceable> ALTER USER { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] RESET <replaceable>configuration_parameter</replaceable>
ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="PARAMETER">database_name</replaceable> ] RESET ALL ALTER USER { <replaceable class="parameter">role_specification</replaceable> | ALL } [ IN DATABASE <replaceable class="parameter">database_name</replaceable> ] RESET ALL
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
<replaceable class="PARAMETER">role_name</replaceable> <replaceable class="parameter">role_name</replaceable>
| CURRENT_USER | CURRENT_USER
| SESSION_USER | SESSION_USER
</synopsis> </synopsis>
......
...@@ -23,7 +23,7 @@ PostgreSQL documentation ...@@ -23,7 +23,7 @@ PostgreSQL documentation
<synopsis> <synopsis>
ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | SESSION_USER | PUBLIC } ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | SESSION_USER | PUBLIC }
SERVER <replaceable class="parameter">server_name</replaceable> SERVER <replaceable class="parameter">server_name</replaceable>
OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] ) OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] )
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -69,7 +69,7 @@ ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable> ...@@ -69,7 +69,7 @@ ALTER USER MAPPING FOR { <replaceable class="parameter">user_name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="PARAMETER">option</replaceable> ['<replaceable class="PARAMETER">value</replaceable>'] [, ... ] )</literal></term> <term><literal>OPTIONS ( [ ADD | SET | DROP ] <replaceable class="parameter">option</replaceable> ['<replaceable class="parameter">value</replaceable>'] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
Change options for the user mapping. The new options override Change options for the user mapping. The new options override
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET DEFAULT <replaceable class="PARAMETER">expression</replaceable> ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> SET DEFAULT <replaceable class="parameter">expression</replaceable>
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> DROP DEFAULT ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ALTER [ COLUMN ] <replaceable class="parameter">column_name</replaceable> DROP DEFAULT
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER } ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> OWNER TO { <replaceable class="parameter">new_owner</replaceable> | CURRENT_USER | SESSION_USER }
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable> ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RENAME TO <replaceable class="parameter">new_name</replaceable>
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable> ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET SCHEMA <replaceable class="parameter">new_schema</replaceable>
ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET ( <replaceable class="parameter">view_option_name</replaceable> [= <replaceable class="parameter">view_option_value</replaceable>] [, ... ] ) ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> SET ( <replaceable class="parameter">view_option_name</replaceable> [= <replaceable class="parameter">view_option_value</replaceable>] [, ... ] )
...@@ -90,7 +90,7 @@ ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RESET ...@@ -90,7 +90,7 @@ ALTER VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> RESET
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_owner</replaceable></term> <term><replaceable class="parameter">new_owner</replaceable></term>
<listitem> <listitem>
<para> <para>
The user name of the new owner of the view. The user name of the new owner of the view.
......
...@@ -21,11 +21,11 @@ PostgreSQL documentation ...@@ -21,11 +21,11 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replaceable> [, ...] ] ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replaceable> [, ...] ]
<phrase>where <replaceable class="PARAMETER">table_and_columns</replaceable> is:</phrase> <phrase>where <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
<replaceable class="PARAMETER">table_name</replaceable> [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] <replaceable class="parameter">table_name</replaceable> [ ( <replaceable class="parameter">column_name</replaceable> [, ...] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -42,7 +42,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea ...@@ -42,7 +42,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea
</para> </para>
<para> <para>
Without a <replaceable class="PARAMETER">table_and_columns</replaceable> Without a <replaceable class="parameter">table_and_columns</replaceable>
list, <command>ANALYZE</command> processes every table and materialized view list, <command>ANALYZE</command> processes every table and materialized view
in the current database that the current user has permission to analyze. in the current database that the current user has permission to analyze.
With a list, <command>ANALYZE</command> processes only those table(s). With a list, <command>ANALYZE</command> processes only those table(s).
...@@ -65,7 +65,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea ...@@ -65,7 +65,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of a specific table to The name (possibly schema-qualified) of a specific table to
...@@ -79,7 +79,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea ...@@ -79,7 +79,7 @@ ANALYZE [ VERBOSE ] [ <replaceable class="PARAMETER">table_and_columns</replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a specific column to analyze. Defaults to all columns. The name of a specific column to analyze. Defaults to all columns.
......
...@@ -26,7 +26,7 @@ PostgreSQL documentation ...@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL } CLOSE { <replaceable class="parameter">name</replaceable> | ALL }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -57,7 +57,7 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL } ...@@ -57,7 +57,7 @@ CLOSE { <replaceable class="PARAMETER">name</replaceable> | ALL }
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an open cursor to close. The name of an open cursor to close.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CLUSTER [VERBOSE] <replaceable class="PARAMETER">table_name</replaceable> [ USING <replaceable class="PARAMETER">index_name</replaceable> ] CLUSTER [VERBOSE] <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">index_name</replaceable> ]
CLUSTER [VERBOSE] CLUSTER [VERBOSE]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -82,7 +82,7 @@ CLUSTER [VERBOSE] ...@@ -82,7 +82,7 @@ CLUSTER [VERBOSE]
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (possibly schema-qualified) of a table. The name (possibly schema-qualified) of a table.
...@@ -91,7 +91,7 @@ CLUSTER [VERBOSE] ...@@ -91,7 +91,7 @@ CLUSTER [VERBOSE]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">index_name</replaceable></term> <term><replaceable class="parameter">index_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an index. The name of an index.
...@@ -210,7 +210,7 @@ CLUSTER; ...@@ -210,7 +210,7 @@ CLUSTER;
<para> <para>
The syntax The syntax
<synopsis> <synopsis>
CLUSTER <replaceable class="PARAMETER">index_name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> CLUSTER <replaceable class="parameter">index_name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
</synopsis> </synopsis>
is also supported for compatibility with pre-8.3 <productname>PostgreSQL</> is also supported for compatibility with pre-8.3 <productname>PostgreSQL</>
versions. versions.
......
...@@ -23,48 +23,48 @@ PostgreSQL documentation ...@@ -23,48 +23,48 @@ PostgreSQL documentation
<synopsis> <synopsis>
COMMENT ON COMMENT ON
{ {
ACCESS METHOD <replaceable class="PARAMETER">object_name</replaceable> | ACCESS METHOD <replaceable class="parameter">object_name</replaceable> |
AGGREGATE <replaceable class="PARAMETER">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) | AGGREGATE <replaceable class="parameter">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) |
CAST (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>) | CAST (<replaceable>source_type</replaceable> AS <replaceable>target_type</replaceable>) |
COLLATION <replaceable class="PARAMETER">object_name</replaceable> | COLLATION <replaceable class="parameter">object_name</replaceable> |
COLUMN <replaceable class="PARAMETER">relation_name</replaceable>.<replaceable class="PARAMETER">column_name</replaceable> | COLUMN <replaceable class="parameter">relation_name</replaceable>.<replaceable class="parameter">column_name</replaceable> |
CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> | CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ON <replaceable class="parameter">table_name</replaceable> |
CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ON DOMAIN <replaceable class="PARAMETER">domain_name</replaceable> | CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ON DOMAIN <replaceable class="parameter">domain_name</replaceable> |
CONVERSION <replaceable class="PARAMETER">object_name</replaceable> | CONVERSION <replaceable class="parameter">object_name</replaceable> |
DATABASE <replaceable class="PARAMETER">object_name</replaceable> | DATABASE <replaceable class="parameter">object_name</replaceable> |
DOMAIN <replaceable class="PARAMETER">object_name</replaceable> | DOMAIN <replaceable class="parameter">object_name</replaceable> |
EXTENSION <replaceable class="PARAMETER">object_name</replaceable> | EXTENSION <replaceable class="parameter">object_name</replaceable> |
EVENT TRIGGER <replaceable class="PARAMETER">object_name</replaceable> | EVENT TRIGGER <replaceable class="parameter">object_name</replaceable> |
FOREIGN DATA WRAPPER <replaceable class="PARAMETER">object_name</replaceable> | FOREIGN DATA WRAPPER <replaceable class="parameter">object_name</replaceable> |
FOREIGN TABLE <replaceable class="PARAMETER">object_name</replaceable> | FOREIGN TABLE <replaceable class="parameter">object_name</replaceable> |
FUNCTION <replaceable class="PARAMETER">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] | FUNCTION <replaceable class="parameter">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
INDEX <replaceable class="PARAMETER">object_name</replaceable> | INDEX <replaceable class="parameter">object_name</replaceable> |
LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> | LARGE OBJECT <replaceable class="parameter">large_object_oid</replaceable> |
MATERIALIZED VIEW <replaceable class="PARAMETER">object_name</replaceable> | MATERIALIZED VIEW <replaceable class="parameter">object_name</replaceable> |
OPERATOR <replaceable class="PARAMETER">operator_name</replaceable> (<replaceable class="PARAMETER">left_type</replaceable>, <replaceable class="PARAMETER">right_type</replaceable>) | OPERATOR <replaceable class="parameter">operator_name</replaceable> (<replaceable class="parameter">left_type</replaceable>, <replaceable class="parameter">right_type</replaceable>) |
OPERATOR CLASS <replaceable class="PARAMETER">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> | OPERATOR CLASS <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
OPERATOR FAMILY <replaceable class="PARAMETER">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> | OPERATOR FAMILY <replaceable class="parameter">object_name</replaceable> USING <replaceable class="parameter">index_method</replaceable> |
POLICY <replaceable class="PARAMETER">policy_name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> | POLICY <replaceable class="parameter">policy_name</replaceable> ON <replaceable class="parameter">table_name</replaceable> |
[ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">object_name</replaceable> | [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">object_name</replaceable> |
PUBLICATION <replaceable class="PARAMETER">object_name</replaceable> | PUBLICATION <replaceable class="parameter">object_name</replaceable> |
ROLE <replaceable class="PARAMETER">object_name</replaceable> | ROLE <replaceable class="parameter">object_name</replaceable> |
RULE <replaceable class="PARAMETER">rule_name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> | RULE <replaceable class="parameter">rule_name</replaceable> ON <replaceable class="parameter">table_name</replaceable> |
SCHEMA <replaceable class="PARAMETER">object_name</replaceable> | SCHEMA <replaceable class="parameter">object_name</replaceable> |
SEQUENCE <replaceable class="PARAMETER">object_name</replaceable> | SEQUENCE <replaceable class="parameter">object_name</replaceable> |
SERVER <replaceable class="PARAMETER">object_name</replaceable> | SERVER <replaceable class="parameter">object_name</replaceable> |
STATISTICS <replaceable class="PARAMETER">object_name</replaceable> | STATISTICS <replaceable class="parameter">object_name</replaceable> |
SUBSCRIPTION <replaceable class="PARAMETER">object_name</replaceable> | SUBSCRIPTION <replaceable class="parameter">object_name</replaceable> |
TABLE <replaceable class="PARAMETER">object_name</replaceable> | TABLE <replaceable class="parameter">object_name</replaceable> |
TABLESPACE <replaceable class="PARAMETER">object_name</replaceable> | TABLESPACE <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH CONFIGURATION <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH CONFIGURATION <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH DICTIONARY <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH DICTIONARY <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH PARSER <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH PARSER <replaceable class="parameter">object_name</replaceable> |
TEXT SEARCH TEMPLATE <replaceable class="PARAMETER">object_name</replaceable> | TEXT SEARCH TEMPLATE <replaceable class="parameter">object_name</replaceable> |
TRANSFORM FOR <replaceable>type_name</replaceable> LANGUAGE <replaceable>lang_name</replaceable> | TRANSFORM FOR <replaceable>type_name</replaceable> LANGUAGE <replaceable>lang_name</replaceable> |
TRIGGER <replaceable class="PARAMETER">trigger_name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> | TRIGGER <replaceable class="parameter">trigger_name</replaceable> ON <replaceable class="parameter">table_name</replaceable> |
TYPE <replaceable class="PARAMETER">object_name</replaceable> | TYPE <replaceable class="parameter">object_name</replaceable> |
VIEW <replaceable class="PARAMETER">object_name</replaceable> VIEW <replaceable class="parameter">object_name</replaceable>
} IS '<replaceable class="PARAMETER">text</replaceable>' } IS '<replaceable class="parameter">text</replaceable>'
<phrase>where <replaceable>aggregate_signature</replaceable> is:</phrase> <phrase>where <replaceable>aggregate_signature</replaceable> is:</phrase>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
COMMIT PREPARED <replaceable class="PARAMETER">transaction_id</replaceable> COMMIT PREPARED <replaceable class="parameter">transaction_id</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -39,7 +39,7 @@ COMMIT PREPARED <replaceable class="PARAMETER">transaction_id</replaceable> ...@@ -39,7 +39,7 @@ COMMIT PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">transaction_id</replaceable></term> <term><replaceable class="parameter">transaction_id</replaceable></term>
<listitem> <listitem>
<para> <para>
The transaction identifier of the transaction that is to be The transaction identifier of the transaction that is to be
......
...@@ -22,59 +22,59 @@ PostgreSQL documentation ...@@ -22,59 +22,59 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE AGGREGATE <replaceable class="parameter">name</replaceable> ( [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ) ( CREATE AGGREGATE <replaceable class="parameter">name</replaceable> ( [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ) (
SFUNC = <replaceable class="PARAMETER">sfunc</replaceable>, SFUNC = <replaceable class="parameter">sfunc</replaceable>,
STYPE = <replaceable class="PARAMETER">state_data_type</replaceable> STYPE = <replaceable class="parameter">state_data_type</replaceable>
[ , SSPACE = <replaceable class="PARAMETER">state_data_size</replaceable> ] [ , SSPACE = <replaceable class="parameter">state_data_size</replaceable> ]
[ , FINALFUNC = <replaceable class="PARAMETER">ffunc</replaceable> ] [ , FINALFUNC = <replaceable class="parameter">ffunc</replaceable> ]
[ , FINALFUNC_EXTRA ] [ , FINALFUNC_EXTRA ]
[ , COMBINEFUNC = <replaceable class="PARAMETER">combinefunc</replaceable> ] [ , COMBINEFUNC = <replaceable class="parameter">combinefunc</replaceable> ]
[ , SERIALFUNC = <replaceable class="PARAMETER">serialfunc</replaceable> ] [ , SERIALFUNC = <replaceable class="parameter">serialfunc</replaceable> ]
[ , DESERIALFUNC = <replaceable class="PARAMETER">deserialfunc</replaceable> ] [ , DESERIALFUNC = <replaceable class="parameter">deserialfunc</replaceable> ]
[ , INITCOND = <replaceable class="PARAMETER">initial_condition</replaceable> ] [ , INITCOND = <replaceable class="parameter">initial_condition</replaceable> ]
[ , MSFUNC = <replaceable class="PARAMETER">msfunc</replaceable> ] [ , MSFUNC = <replaceable class="parameter">msfunc</replaceable> ]
[ , MINVFUNC = <replaceable class="PARAMETER">minvfunc</replaceable> ] [ , MINVFUNC = <replaceable class="parameter">minvfunc</replaceable> ]
[ , MSTYPE = <replaceable class="PARAMETER">mstate_data_type</replaceable> ] [ , MSTYPE = <replaceable class="parameter">mstate_data_type</replaceable> ]
[ , MSSPACE = <replaceable class="PARAMETER">mstate_data_size</replaceable> ] [ , MSSPACE = <replaceable class="parameter">mstate_data_size</replaceable> ]
[ , MFINALFUNC = <replaceable class="PARAMETER">mffunc</replaceable> ] [ , MFINALFUNC = <replaceable class="parameter">mffunc</replaceable> ]
[ , MFINALFUNC_EXTRA ] [ , MFINALFUNC_EXTRA ]
[ , MINITCOND = <replaceable class="PARAMETER">minitial_condition</replaceable> ] [ , MINITCOND = <replaceable class="parameter">minitial_condition</replaceable> ]
[ , SORTOP = <replaceable class="PARAMETER">sort_operator</replaceable> ] [ , SORTOP = <replaceable class="parameter">sort_operator</replaceable> ]
[ , PARALLEL = { SAFE | RESTRICTED | UNSAFE } ] [ , PARALLEL = { SAFE | RESTRICTED | UNSAFE } ]
) )
CREATE AGGREGATE <replaceable class="parameter">name</replaceable> ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ] CREATE AGGREGATE <replaceable class="parameter">name</replaceable> ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ]
ORDER BY [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ) ( ORDER BY [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">arg_data_type</replaceable> [ , ... ] ) (
SFUNC = <replaceable class="PARAMETER">sfunc</replaceable>, SFUNC = <replaceable class="parameter">sfunc</replaceable>,
STYPE = <replaceable class="PARAMETER">state_data_type</replaceable> STYPE = <replaceable class="parameter">state_data_type</replaceable>
[ , SSPACE = <replaceable class="PARAMETER">state_data_size</replaceable> ] [ , SSPACE = <replaceable class="parameter">state_data_size</replaceable> ]
[ , FINALFUNC = <replaceable class="PARAMETER">ffunc</replaceable> ] [ , FINALFUNC = <replaceable class="parameter">ffunc</replaceable> ]
[ , FINALFUNC_EXTRA ] [ , FINALFUNC_EXTRA ]
[ , INITCOND = <replaceable class="PARAMETER">initial_condition</replaceable> ] [ , INITCOND = <replaceable class="parameter">initial_condition</replaceable> ]
[ , PARALLEL = { SAFE | RESTRICTED | UNSAFE } ] [ , PARALLEL = { SAFE | RESTRICTED | UNSAFE } ]
[ , HYPOTHETICAL ] [ , HYPOTHETICAL ]
) )
<phrase>or the old syntax</phrase> <phrase>or the old syntax</phrase>
CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( CREATE AGGREGATE <replaceable class="parameter">name</replaceable> (
BASETYPE = <replaceable class="PARAMETER">base_type</replaceable>, BASETYPE = <replaceable class="parameter">base_type</replaceable>,
SFUNC = <replaceable class="PARAMETER">sfunc</replaceable>, SFUNC = <replaceable class="parameter">sfunc</replaceable>,
STYPE = <replaceable class="PARAMETER">state_data_type</replaceable> STYPE = <replaceable class="parameter">state_data_type</replaceable>
[ , SSPACE = <replaceable class="PARAMETER">state_data_size</replaceable> ] [ , SSPACE = <replaceable class="parameter">state_data_size</replaceable> ]
[ , FINALFUNC = <replaceable class="PARAMETER">ffunc</replaceable> ] [ , FINALFUNC = <replaceable class="parameter">ffunc</replaceable> ]
[ , FINALFUNC_EXTRA ] [ , FINALFUNC_EXTRA ]
[ , COMBINEFUNC = <replaceable class="PARAMETER">combinefunc</replaceable> ] [ , COMBINEFUNC = <replaceable class="parameter">combinefunc</replaceable> ]
[ , SERIALFUNC = <replaceable class="PARAMETER">serialfunc</replaceable> ] [ , SERIALFUNC = <replaceable class="parameter">serialfunc</replaceable> ]
[ , DESERIALFUNC = <replaceable class="PARAMETER">deserialfunc</replaceable> ] [ , DESERIALFUNC = <replaceable class="parameter">deserialfunc</replaceable> ]
[ , INITCOND = <replaceable class="PARAMETER">initial_condition</replaceable> ] [ , INITCOND = <replaceable class="parameter">initial_condition</replaceable> ]
[ , MSFUNC = <replaceable class="PARAMETER">msfunc</replaceable> ] [ , MSFUNC = <replaceable class="parameter">msfunc</replaceable> ]
[ , MINVFUNC = <replaceable class="PARAMETER">minvfunc</replaceable> ] [ , MINVFUNC = <replaceable class="parameter">minvfunc</replaceable> ]
[ , MSTYPE = <replaceable class="PARAMETER">mstate_data_type</replaceable> ] [ , MSTYPE = <replaceable class="parameter">mstate_data_type</replaceable> ]
[ , MSSPACE = <replaceable class="PARAMETER">mstate_data_size</replaceable> ] [ , MSSPACE = <replaceable class="parameter">mstate_data_size</replaceable> ]
[ , MFINALFUNC = <replaceable class="PARAMETER">mffunc</replaceable> ] [ , MFINALFUNC = <replaceable class="parameter">mffunc</replaceable> ]
[ , MFINALFUNC_EXTRA ] [ , MFINALFUNC_EXTRA ]
[ , MINITCOND = <replaceable class="PARAMETER">minitial_condition</replaceable> ] [ , MINITCOND = <replaceable class="parameter">minitial_condition</replaceable> ]
[ , SORTOP = <replaceable class="PARAMETER">sort_operator</replaceable> ] [ , SORTOP = <replaceable class="parameter">sort_operator</replaceable> ]
) )
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -112,19 +112,19 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( ...@@ -112,19 +112,19 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> (
A simple aggregate function is made from one or two ordinary A simple aggregate function is made from one or two ordinary
functions: functions:
a state transition function a state transition function
<replaceable class="PARAMETER">sfunc</replaceable>, <replaceable class="parameter">sfunc</replaceable>,
and an optional final calculation function and an optional final calculation function
<replaceable class="PARAMETER">ffunc</replaceable>. <replaceable class="parameter">ffunc</replaceable>.
These are used as follows: These are used as follows:
<programlisting> <programlisting>
<replaceable class="PARAMETER">sfunc</replaceable>( internal-state, next-data-values ) ---> next-internal-state <replaceable class="parameter">sfunc</replaceable>( internal-state, next-data-values ) ---> next-internal-state
<replaceable class="PARAMETER">ffunc</replaceable>( internal-state ) ---> aggregate-value <replaceable class="parameter">ffunc</replaceable>( internal-state ) ---> aggregate-value
</programlisting> </programlisting>
</para> </para>
<para> <para>
<productname>PostgreSQL</productname> creates a temporary variable <productname>PostgreSQL</productname> creates a temporary variable
of data type <replaceable class="PARAMETER">stype</replaceable> of data type <replaceable class="parameter">stype</replaceable>
to hold the current internal state of the aggregate. At each input row, to hold the current internal state of the aggregate. At each input row,
the aggregate argument value(s) are calculated and the aggregate argument value(s) are calculated and
the state transition function is invoked with the current state value the state transition function is invoked with the current state value
...@@ -155,9 +155,9 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( ...@@ -155,9 +155,9 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> (
all-nonnull input values. all-nonnull input values.
This is handy for implementing aggregates like <function>max</function>. This is handy for implementing aggregates like <function>max</function>.
Note that this behavior is only available when Note that this behavior is only available when
<replaceable class="PARAMETER">state_data_type</replaceable> <replaceable class="parameter">state_data_type</replaceable>
is the same as the first is the same as the first
<replaceable class="PARAMETER">arg_data_type</replaceable>. <replaceable class="parameter">arg_data_type</replaceable>.
When these types are different, you must supply a nonnull initial When these types are different, you must supply a nonnull initial
condition or use a nonstrict transition function. condition or use a nonstrict transition function.
</para> </para>
...@@ -224,7 +224,7 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( ...@@ -224,7 +224,7 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> (
An aggregate can optionally support <firstterm>partial aggregation</>, An aggregate can optionally support <firstterm>partial aggregation</>,
as described in <xref linkend="xaggr-partial-aggregates">. as described in <xref linkend="xaggr-partial-aggregates">.
This requires specifying the <literal>COMBINEFUNC</> parameter. This requires specifying the <literal>COMBINEFUNC</> parameter.
If the <replaceable class="PARAMETER">state_data_type</replaceable> If the <replaceable class="parameter">state_data_type</replaceable>
is <type>internal</>, it's usually also appropriate to provide the is <type>internal</>, it's usually also appropriate to provide the
<literal>SERIALFUNC</> and <literal>DESERIALFUNC</> parameters so that <literal>SERIALFUNC</> and <literal>DESERIALFUNC</> parameters so that
parallel aggregation is possible. Note that the aggregate must also be parallel aggregation is possible. Note that the aggregate must also be
...@@ -268,7 +268,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -268,7 +268,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the aggregate function The name (optionally schema-qualified) of the aggregate function
...@@ -302,7 +302,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -302,7 +302,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">arg_data_type</replaceable></term> <term><replaceable class="parameter">arg_data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
An input data type on which this aggregate function operates. An input data type on which this aggregate function operates.
...@@ -314,7 +314,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -314,7 +314,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">base_type</replaceable></term> <term><replaceable class="parameter">base_type</replaceable></term>
<listitem> <listitem>
<para> <para>
In the old syntax for <command>CREATE AGGREGATE</>, the input data type In the old syntax for <command>CREATE AGGREGATE</>, the input data type
...@@ -329,18 +329,18 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -329,18 +329,18 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">sfunc</replaceable></term> <term><replaceable class="parameter">sfunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the state transition function to be called for each The name of the state transition function to be called for each
input row. For a normal <replaceable class="PARAMETER">N</>-argument input row. For a normal <replaceable class="parameter">N</>-argument
aggregate function, the <replaceable class="PARAMETER">sfunc</> aggregate function, the <replaceable class="parameter">sfunc</>
must take <replaceable class="PARAMETER">N</>+1 arguments, must take <replaceable class="parameter">N</>+1 arguments,
the first being of type <replaceable the first being of type <replaceable
class="PARAMETER">state_data_type</replaceable> and the rest class="parameter">state_data_type</replaceable> and the rest
matching the declared input data type(s) of the aggregate. matching the declared input data type(s) of the aggregate.
The function must return a value of type <replaceable The function must return a value of type <replaceable
class="PARAMETER">state_data_type</replaceable>. This function class="parameter">state_data_type</replaceable>. This function
takes the current state value and the current input data value(s), takes the current state value and the current input data value(s),
and returns the next state value. and returns the next state value.
</para> </para>
...@@ -355,7 +355,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -355,7 +355,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">state_data_type</replaceable></term> <term><replaceable class="parameter">state_data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type for the aggregate's state value. The data type for the aggregate's state value.
...@@ -364,7 +364,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -364,7 +364,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">state_data_size</replaceable></term> <term><replaceable class="parameter">state_data_size</replaceable></term>
<listitem> <listitem>
<para> <para>
The approximate average size (in bytes) of the aggregate's state value. The approximate average size (in bytes) of the aggregate's state value.
...@@ -380,19 +380,19 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -380,19 +380,19 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">ffunc</replaceable></term> <term><replaceable class="parameter">ffunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the final function called to compute the aggregate's The name of the final function called to compute the aggregate's
result after all input rows have been traversed. result after all input rows have been traversed.
For a normal aggregate, this function For a normal aggregate, this function
must take a single argument of type <replaceable must take a single argument of type <replaceable
class="PARAMETER">state_data_type</replaceable>. The return class="parameter">state_data_type</replaceable>. The return
data type of the aggregate is defined as the return type of this data type of the aggregate is defined as the return type of this
function. If <replaceable class="PARAMETER">ffunc</replaceable> function. If <replaceable class="parameter">ffunc</replaceable>
is not specified, then the ending state value is used as the is not specified, then the ending state value is used as the
aggregate's result, and the return type is <replaceable aggregate's result, and the return type is <replaceable
class="PARAMETER">state_data_type</replaceable>. class="parameter">state_data_type</replaceable>.
</para> </para>
<para> <para>
...@@ -413,30 +413,30 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -413,30 +413,30 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">combinefunc</replaceable></term> <term><replaceable class="parameter">combinefunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The <replaceable class="PARAMETER">combinefunc</replaceable> function The <replaceable class="parameter">combinefunc</replaceable> function
may optionally be specified to allow the aggregate function to support may optionally be specified to allow the aggregate function to support
partial aggregation. If provided, partial aggregation. If provided,
the <replaceable class="PARAMETER">combinefunc</replaceable> must the <replaceable class="parameter">combinefunc</replaceable> must
combine two <replaceable class="PARAMETER">state_data_type</replaceable> combine two <replaceable class="parameter">state_data_type</replaceable>
values, each containing the result of aggregation over some subset of values, each containing the result of aggregation over some subset of
the input values, to produce a the input values, to produce a
new <replaceable class="PARAMETER">state_data_type</replaceable> that new <replaceable class="parameter">state_data_type</replaceable> that
represents the result of aggregating over both sets of inputs. This represents the result of aggregating over both sets of inputs. This
function can be thought of as function can be thought of as
an <replaceable class="PARAMETER">sfunc</replaceable>, where instead of an <replaceable class="parameter">sfunc</replaceable>, where instead of
acting upon an individual input row and adding it to the running acting upon an individual input row and adding it to the running
aggregate state, it adds another aggregate state to the running state. aggregate state, it adds another aggregate state to the running state.
</para> </para>
<para> <para>
The <replaceable class="PARAMETER">combinefunc</replaceable> must be The <replaceable class="parameter">combinefunc</replaceable> must be
declared as taking two arguments of declared as taking two arguments of
the <replaceable class="PARAMETER">state_data_type</replaceable> and the <replaceable class="parameter">state_data_type</replaceable> and
returning a value of returning a value of
the <replaceable class="PARAMETER">state_data_type</replaceable>. the <replaceable class="parameter">state_data_type</replaceable>.
Optionally this function may be <quote>strict</quote>. In this case the Optionally this function may be <quote>strict</quote>. In this case the
function will not be called when either of the input states are null; function will not be called when either of the input states are null;
the other state will be taken as the correct result. the other state will be taken as the correct result.
...@@ -444,11 +444,11 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -444,11 +444,11 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
<para> <para>
For aggregate functions For aggregate functions
whose <replaceable class="PARAMETER">state_data_type</replaceable> whose <replaceable class="parameter">state_data_type</replaceable>
is <type>internal</type>, is <type>internal</type>,
the <replaceable class="PARAMETER">combinefunc</replaceable> must not the <replaceable class="parameter">combinefunc</replaceable> must not
be strict. In this case be strict. In this case
the <replaceable class="PARAMETER">combinefunc</replaceable> must the <replaceable class="parameter">combinefunc</replaceable> must
ensure that null states are handled correctly and that the state being ensure that null states are handled correctly and that the state being
returned is properly stored in the aggregate memory context. returned is properly stored in the aggregate memory context.
</para> </para>
...@@ -456,28 +456,28 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -456,28 +456,28 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">serialfunc</replaceable></term> <term><replaceable class="parameter">serialfunc</replaceable></term>
<listitem> <listitem>
<para> <para>
An aggregate function An aggregate function
whose <replaceable class="PARAMETER">state_data_type</replaceable> whose <replaceable class="parameter">state_data_type</replaceable>
is <type>internal</> can participate in parallel aggregation only if it is <type>internal</> can participate in parallel aggregation only if it
has a <replaceable class="PARAMETER">serialfunc</replaceable> function, has a <replaceable class="parameter">serialfunc</replaceable> function,
which must serialize the aggregate state into a <type>bytea</> value for which must serialize the aggregate state into a <type>bytea</> value for
transmission to another process. This function must take a single transmission to another process. This function must take a single
argument of type <type>internal</> and return type <type>bytea</>. A argument of type <type>internal</> and return type <type>bytea</>. A
corresponding <replaceable class="PARAMETER">deserialfunc</replaceable> corresponding <replaceable class="parameter">deserialfunc</replaceable>
is also required. is also required.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">deserialfunc</replaceable></term> <term><replaceable class="parameter">deserialfunc</replaceable></term>
<listitem> <listitem>
<para> <para>
Deserialize a previously serialized aggregate state back into Deserialize a previously serialized aggregate state back into
<replaceable class="PARAMETER">state_data_type</replaceable>. This <replaceable class="parameter">state_data_type</replaceable>. This
function must take two arguments of types <type>bytea</> function must take two arguments of types <type>bytea</>
and <type>internal</>, and produce a result of type <type>internal</>. and <type>internal</>, and produce a result of type <type>internal</>.
(Note: the second, <type>internal</> argument is unused, but is required (Note: the second, <type>internal</> argument is unused, but is required
...@@ -487,19 +487,19 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -487,19 +487,19 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">initial_condition</replaceable></term> <term><replaceable class="parameter">initial_condition</replaceable></term>
<listitem> <listitem>
<para> <para>
The initial setting for the state value. This must be a string The initial setting for the state value. This must be a string
constant in the form accepted for the data type <replaceable constant in the form accepted for the data type <replaceable
class="PARAMETER">state_data_type</replaceable>. If not class="parameter">state_data_type</replaceable>. If not
specified, the state value starts out null. specified, the state value starts out null.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">msfunc</replaceable></term> <term><replaceable class="parameter">msfunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the forward state transition function to be called for each The name of the forward state transition function to be called for each
...@@ -512,7 +512,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -512,7 +512,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">minvfunc</replaceable></term> <term><replaceable class="parameter">minvfunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the inverse state transition function to be used in The name of the inverse state transition function to be used in
...@@ -526,7 +526,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -526,7 +526,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">mstate_data_type</replaceable></term> <term><replaceable class="parameter">mstate_data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type for the aggregate's state value, when using The data type for the aggregate's state value, when using
...@@ -536,7 +536,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -536,7 +536,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">mstate_data_size</replaceable></term> <term><replaceable class="parameter">mstate_data_size</replaceable></term>
<listitem> <listitem>
<para> <para>
The approximate average size (in bytes) of the aggregate's state The approximate average size (in bytes) of the aggregate's state
...@@ -547,7 +547,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -547,7 +547,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">mffunc</replaceable></term> <term><replaceable class="parameter">mffunc</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the final function called to compute the aggregate's The name of the final function called to compute the aggregate's
...@@ -564,7 +564,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -564,7 +564,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">minitial_condition</replaceable></term> <term><replaceable class="parameter">minitial_condition</replaceable></term>
<listitem> <listitem>
<para> <para>
The initial setting for the state value, when using moving-aggregate The initial setting for the state value, when using moving-aggregate
...@@ -574,7 +574,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; ...@@ -574,7 +574,7 @@ SELECT col FROM tab ORDER BY col USING sortop LIMIT 1;
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">sort_operator</replaceable></term> <term><replaceable class="parameter">sort_operator</replaceable></term>
<listitem> <listitem>
<para> <para>
The associated sort operator for a <function>MIN</>- or The associated sort operator for a <function>MIN</>- or
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE DATABASE <replaceable class="PARAMETER">name</replaceable> CREATE DATABASE <replaceable class="parameter">name</replaceable>
[ [ WITH ] [ OWNER [=] <replaceable class="parameter">user_name</replaceable> ] [ [ WITH ] [ OWNER [=] <replaceable class="parameter">user_name</replaceable> ]
[ TEMPLATE [=] <replaceable class="parameter">template</replaceable> ] [ TEMPLATE [=] <replaceable class="parameter">template</replaceable> ]
[ ENCODING [=] <replaceable class="parameter">encoding</replaceable> ] [ ENCODING [=] <replaceable class="parameter">encoding</replaceable> ]
......
...@@ -24,12 +24,12 @@ PostgreSQL documentation ...@@ -24,12 +24,12 @@ PostgreSQL documentation
CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replaceable class="parameter">data_type</replaceable> CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replaceable class="parameter">data_type</replaceable>
[ COLLATE <replaceable>collation</replaceable> ] [ COLLATE <replaceable>collation</replaceable> ]
[ DEFAULT <replaceable>expression</replaceable> ] [ DEFAULT <replaceable>expression</replaceable> ]
[ <replaceable class="PARAMETER">constraint</replaceable> [ ... ] ] [ <replaceable class="parameter">constraint</replaceable> [ ... ] ]
<phrase>where <replaceable class="PARAMETER">constraint</replaceable> is:</phrase> <phrase>where <replaceable class="parameter">constraint</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
{ NOT NULL | NULL | CHECK (<replaceable class="PARAMETER">expression</replaceable>) } { NOT NULL | NULL | CHECK (<replaceable class="parameter">expression</replaceable>) }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -80,7 +80,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea ...@@ -80,7 +80,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The underlying data type of the domain. This can include array The underlying data type of the domain. This can include array
...@@ -126,7 +126,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea ...@@ -126,7 +126,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable></literal></term> <term><literal>CONSTRAINT <replaceable class="parameter">constraint_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
An optional name for a constraint. If not specified, An optional name for a constraint. If not specified,
...@@ -161,7 +161,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea ...@@ -161,7 +161,7 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CHECK (<replaceable class="PARAMETER">expression</replaceable>)</literal></term> <term><literal>CHECK (<replaceable class="parameter">expression</replaceable>)</literal></term>
<listitem> <listitem>
<para><literal>CHECK</> clauses specify integrity constraints or tests <para><literal>CHECK</> clauses specify integrity constraints or tests
which values of the domain must satisfy. which values of the domain must satisfy.
......
...@@ -21,10 +21,10 @@ PostgreSQL documentation ...@@ -21,10 +21,10 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE EVENT TRIGGER <replaceable class="PARAMETER">name</replaceable> CREATE EVENT TRIGGER <replaceable class="parameter">name</replaceable>
ON <replaceable class="PARAMETER">event</replaceable> ON <replaceable class="parameter">event</replaceable>
[ WHEN <replaceable class="PARAMETER">filter_variable</replaceable> IN (filter_value [, ... ]) [ AND ... ] ] [ WHEN <replaceable class="parameter">filter_variable</replaceable> IN (filter_value [, ... ]) [ AND ... ] ]
EXECUTE PROCEDURE <replaceable class="PARAMETER">function_name</replaceable>() EXECUTE PROCEDURE <replaceable class="parameter">function_name</replaceable>()
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -24,7 +24,7 @@ PostgreSQL documentation ...@@ -24,7 +24,7 @@ PostgreSQL documentation
CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
[ HANDLER <replaceable class="parameter">handler_function</replaceable> | NO HANDLER ] [ HANDLER <replaceable class="parameter">handler_function</replaceable> | NO HANDLER ]
[ VALIDATOR <replaceable class="parameter">validator_function</replaceable> | NO VALIDATOR ] [ VALIDATOR <replaceable class="parameter">validator_function</replaceable> | NO VALIDATOR ]
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -100,7 +100,7 @@ CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable> ...@@ -100,7 +100,7 @@ CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] )</literal></term> <term><literal>OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies options for the new foreign-data wrapper. This clause specifies options for the new foreign-data wrapper.
......
...@@ -18,36 +18,36 @@ ...@@ -18,36 +18,36 @@
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> ( [ CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name</replaceable> ( [
{ <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ COLLATE <replaceable>collation</replaceable> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] { <replaceable class="parameter">column_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ] [ COLLATE <replaceable>collation</replaceable> ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
| <replaceable>table_constraint</replaceable> } | <replaceable>table_constraint</replaceable> }
[, ... ] [, ... ]
] ) ] )
[ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ] [ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ]
SERVER <replaceable class="parameter">server_name</replaceable> SERVER <replaceable class="parameter">server_name</replaceable>
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> CREATE FOREIGN TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name</replaceable>
PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable> [ ( PARTITION OF <replaceable class="parameter">parent_table</replaceable> [ (
{ <replaceable class="PARAMETER">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] { <replaceable class="parameter">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
| <replaceable>table_constraint</replaceable> } | <replaceable>table_constraint</replaceable> }
[, ... ] [, ... ]
) ] <replaceable class="PARAMETER">partition_bound_spec</replaceable> ) ] <replaceable class="parameter">partition_bound_spec</replaceable>
SERVER <replaceable class="parameter">server_name</replaceable> SERVER <replaceable class="parameter">server_name</replaceable>
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
<phrase>where <replaceable class="PARAMETER">column_constraint</replaceable> is:</phrase> <phrase>where <replaceable class="parameter">column_constraint</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
{ NOT NULL | { NOT NULL |
NULL | NULL |
CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] | CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] |
DEFAULT <replaceable>default_expr</replaceable> } DEFAULT <replaceable>default_expr</replaceable> }
<phrase>and <replaceable class="PARAMETER">table_constraint</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">table_constraint</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -107,7 +107,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -107,7 +107,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table to be created. The name (optionally schema-qualified) of the table to be created.
...@@ -116,7 +116,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -116,7 +116,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a column to be created in the new table. The name of a column to be created in the new table.
...@@ -125,7 +125,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -125,7 +125,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type of the column. This can include array The data type of the column. This can include array
...@@ -161,7 +161,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -161,7 +161,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable></literal></term> <term><literal>CONSTRAINT <replaceable class="parameter">constraint_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
An optional name for a column or table constraint. If the An optional name for a column or table constraint. If the
...@@ -199,7 +199,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -199,7 +199,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] </literal></term> <term><literal>CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] </literal></term>
<listitem> <listitem>
<para> <para>
The <literal>CHECK</> clause specifies an expression producing a The <literal>CHECK</> clause specifies an expression producing a
...@@ -247,7 +247,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -247,7 +247,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">server_name</replaceable></term> <term><replaceable class="parameter">server_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing foreign server to use for the foreign table. The name of an existing foreign server to use for the foreign table.
...@@ -258,7 +258,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] ...@@ -258,7 +258,7 @@ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ]
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ...] )</literal></term> <term><literal>OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ...] )</literal></term>
<listitem> <listitem>
<para> <para>
Options to be associated with the new foreign table or one of its Options to be associated with the new foreign table or one of its
......
...@@ -21,23 +21,23 @@ PostgreSQL documentation ...@@ -21,23 +21,23 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE GROUP <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ] CREATE GROUP <replaceable class="parameter">name</replaceable> [ [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ] ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
SUPERUSER | NOSUPERUSER SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB | CREATEDB | NOCREATEDB
| CREATEROLE | NOCREATEROLE | CREATEROLE | NOCREATEROLE
| INHERIT | NOINHERIT | INHERIT | NOINHERIT
| LOGIN | NOLOGIN | LOGIN | NOLOGIN
| [ ENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>' | [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' | VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
| IN ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| IN GROUP <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]
| ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| ADMIN <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ADMIN <replaceable class="parameter">role_name</replaceable> [, ...]
| USER <replaceable class="PARAMETER">role_name</replaceable> [, ...] | USER <replaceable class="parameter">role_name</replaceable> [, ...]
| SYSID <replaceable class="PARAMETER">uid</replaceable> | SYSID <replaceable class="parameter">uid</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -23,7 +23,7 @@ PostgreSQL documentation ...@@ -23,7 +23,7 @@ PostgreSQL documentation
<synopsis> <synopsis>
CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class="parameter">name</replaceable> ] ON <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">method</replaceable> ] CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class="parameter">name</replaceable> ] ON <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">method</replaceable> ]
( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] ) ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] )
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] ) ]
[ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
[ WHERE <replaceable class="parameter">predicate</replaceable> ] [ WHERE <replaceable class="parameter">predicate</replaceable> ]
</synopsis> </synopsis>
......
...@@ -23,8 +23,8 @@ PostgreSQL documentation ...@@ -23,8 +23,8 @@ PostgreSQL documentation
<synopsis> <synopsis>
CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable> CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable>
[ (<replaceable>column_name</replaceable> [, ...] ) ] [ (<replaceable>column_name</replaceable> [, ...] ) ]
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
AS <replaceable>query</replaceable> AS <replaceable>query</replaceable>
[ WITH [ NO ] DATA ] [ WITH [ NO ] DATA ]
</synopsis> </synopsis>
...@@ -87,7 +87,7 @@ CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable> ...@@ -87,7 +87,7 @@ CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )</literal></term> <term><literal>WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies optional storage parameters for the new This clause specifies optional storage parameters for the new
...@@ -102,10 +102,10 @@ CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable> ...@@ -102,10 +102,10 @@ CREATE MATERIALIZED VIEW [ IF NOT EXISTS ] <replaceable>table_name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable></literal></term> <term><literal>TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
The <replaceable class="PARAMETER">tablespace_name</replaceable> is the name The <replaceable class="parameter">tablespace_name</replaceable> is the name
of the tablespace in which the new materialized view is to be created. of the tablespace in which the new materialized view is to be created.
If not specified, <xref linkend="guc-default-tablespace"> is consulted. If not specified, <xref linkend="guc-default-tablespace"> is consulted.
</para> </para>
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ] CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ] ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
SUPERUSER | NOSUPERUSER SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB | CREATEDB | NOCREATEDB
...@@ -32,15 +32,15 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac ...@@ -32,15 +32,15 @@ CREATE ROLE <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
| LOGIN | NOLOGIN | LOGIN | NOLOGIN
| REPLICATION | NOREPLICATION | REPLICATION | NOREPLICATION
| BYPASSRLS | NOBYPASSRLS | BYPASSRLS | NOBYPASSRLS
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable> | CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
| [ ENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>' | [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' | VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
| IN ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| IN GROUP <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]
| ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| ADMIN <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ADMIN <replaceable class="parameter">role_name</replaceable> [, ...]
| USER <replaceable class="PARAMETER">role_name</replaceable> [, ...] | USER <replaceable class="parameter">role_name</replaceable> [, ...]
| SYSID <replaceable class="PARAMETER">uid</replaceable> | SYSID <replaceable class="parameter">uid</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -453,7 +453,7 @@ CREATE ROLE admin WITH CREATEDB CREATEROLE; ...@@ -453,7 +453,7 @@ CREATE ROLE admin WITH CREATEDB CREATEROLE;
The <command>CREATE ROLE</command> statement is in the SQL standard, The <command>CREATE ROLE</command> statement is in the SQL standard,
but the standard only requires the syntax but the standard only requires the syntax
<synopsis> <synopsis>
CREATE ROLE <replaceable class="PARAMETER">name</> [ WITH ADMIN <replaceable class="PARAMETER">role_name</> ] CREATE ROLE <replaceable class="parameter">name</> [ WITH ADMIN <replaceable class="parameter">role_name</> ]
</synopsis> </synopsis>
Multiple initial administrators, and all the other options of Multiple initial administrators, and all the other options of
<command>CREATE ROLE</command>, are <command>CREATE ROLE</command>, are
......
...@@ -21,14 +21,14 @@ PostgreSQL documentation ...@@ -21,14 +21,14 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE SCHEMA <replaceable class="parameter">schema_name</replaceable> [ AUTHORIZATION <replaceable class="PARAMETER">role_specification</replaceable> ] [ <replaceable class="parameter">schema_element</replaceable> [ ... ] ] CREATE SCHEMA <replaceable class="parameter">schema_name</replaceable> [ AUTHORIZATION <replaceable class="parameter">role_specification</replaceable> ] [ <replaceable class="parameter">schema_element</replaceable> [ ... ] ]
CREATE SCHEMA AUTHORIZATION <replaceable class="PARAMETER">role_specification</replaceable> [ <replaceable class="parameter">schema_element</replaceable> [ ... ] ] CREATE SCHEMA AUTHORIZATION <replaceable class="parameter">role_specification</replaceable> [ <replaceable class="parameter">schema_element</replaceable> [ ... ] ]
CREATE SCHEMA IF NOT EXISTS <replaceable class="parameter">schema_name</replaceable> [ AUTHORIZATION <replaceable class="PARAMETER">role_specification</replaceable> ] CREATE SCHEMA IF NOT EXISTS <replaceable class="parameter">schema_name</replaceable> [ AUTHORIZATION <replaceable class="parameter">role_specification</replaceable> ]
CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="PARAMETER">role_specification</replaceable> CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="parameter">role_specification</replaceable>
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
<replaceable class="PARAMETER">user_name</replaceable> <replaceable class="parameter">user_name</replaceable>
| CURRENT_USER | CURRENT_USER
| SESSION_USER | SESSION_USER
</synopsis> </synopsis>
......
...@@ -23,7 +23,7 @@ PostgreSQL documentation ...@@ -23,7 +23,7 @@ PostgreSQL documentation
<synopsis> <synopsis>
CREATE SERVER [IF NOT EXISTS] <replaceable class="parameter">server_name</replaceable> [ TYPE '<replaceable class="parameter">server_type</replaceable>' ] [ VERSION '<replaceable class="parameter">server_version</replaceable>' ] CREATE SERVER [IF NOT EXISTS] <replaceable class="parameter">server_name</replaceable> [ TYPE '<replaceable class="parameter">server_type</replaceable>' ] [ VERSION '<replaceable class="parameter">server_version</replaceable>' ]
FOREIGN DATA WRAPPER <replaceable class="parameter">fdw_name</replaceable> FOREIGN DATA WRAPPER <replaceable class="parameter">fdw_name</replaceable>
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -105,7 +105,7 @@ CREATE SERVER [IF NOT EXISTS] <replaceable class="parameter">server_name</replac ...@@ -105,7 +105,7 @@ CREATE SERVER [IF NOT EXISTS] <replaceable class="parameter">server_name</replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] )</literal></term> <term><literal>OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies the options for the server. The options This clause specifies the options for the server. The options
......
...@@ -21,10 +21,10 @@ PostgreSQL documentation ...@@ -21,10 +21,10 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_name</replaceable> CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="parameter">statistics_name</replaceable>
[ ( <replaceable class="PARAMETER">statistics_kind</replaceable> [, ... ] ) ] [ ( <replaceable class="parameter">statistics_kind</replaceable> [, ... ] ) ]
ON <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...] ON <replaceable class="parameter">column_name</replaceable>, <replaceable class="parameter">column_name</replaceable> [, ...]
FROM <replaceable class="PARAMETER">table_name</replaceable> FROM <replaceable class="parameter">table_name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -66,7 +66,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na ...@@ -66,7 +66,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">statistics_name</replaceable></term> <term><replaceable class="parameter">statistics_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the statistics object to be The name (optionally schema-qualified) of the statistics object to be
...@@ -76,7 +76,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na ...@@ -76,7 +76,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">statistics_kind</replaceable></term> <term><replaceable class="parameter">statistics_kind</replaceable></term>
<listitem> <listitem>
<para> <para>
A statistics kind to be computed in this statistics object. A statistics kind to be computed in this statistics object.
...@@ -93,7 +93,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na ...@@ -93,7 +93,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a table column to be covered by the computed statistics. The name of a table column to be covered by the computed statistics.
...@@ -103,7 +103,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na ...@@ -103,7 +103,7 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table containing the The name (optionally schema-qualified) of the table containing the
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceable> CREATE SUBSCRIPTION <replaceable class="parameter">subscription_name</replaceable>
CONNECTION '<replaceable class="PARAMETER">conninfo</replaceable>' CONNECTION '<replaceable class="parameter">conninfo</replaceable>'
PUBLICATION <replaceable class="PARAMETER">publication_name</replaceable> [, ...] PUBLICATION <replaceable class="parameter">publication_name</replaceable> [, ...]
[ WITH ( <replaceable class="parameter">subscription_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ] [ WITH ( <replaceable class="parameter">subscription_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,81 +21,81 @@ PostgreSQL documentation ...@@ -21,81 +21,81 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> ( [ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name</replaceable> ( [
{ <replaceable class="PARAMETER">column_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable>collation</replaceable> ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] { <replaceable class="parameter">column_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable>collation</replaceable> ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
| <replaceable>table_constraint</replaceable> | <replaceable>table_constraint</replaceable>
| LIKE <replaceable>source_table</replaceable> [ <replaceable>like_option</replaceable> ... ] } | LIKE <replaceable>source_table</replaceable> [ <replaceable>like_option</replaceable> ... ] }
[, ... ] [, ... ]
] ) ] )
[ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ] [ INHERITS ( <replaceable>parent_table</replaceable> [, ... ] ) ]
[ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ] [ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ]
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name</replaceable>
OF <replaceable class="PARAMETER">type_name</replaceable> [ ( OF <replaceable class="parameter">type_name</replaceable> [ (
{ <replaceable class="PARAMETER">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] { <replaceable class="parameter">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
| <replaceable>table_constraint</replaceable> } | <replaceable>table_constraint</replaceable> }
[, ... ] [, ... ]
) ] ) ]
[ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ] [ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ]
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="PARAMETER">table_name</replaceable> CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable class="parameter">table_name</replaceable>
PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable> [ ( PARTITION OF <replaceable class="parameter">parent_table</replaceable> [ (
{ <replaceable class="PARAMETER">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="PARAMETER">column_constraint</replaceable> [ ... ] ] { <replaceable class="parameter">column_name</replaceable> [ WITH OPTIONS ] [ <replaceable class="parameter">column_constraint</replaceable> [ ... ] ]
| <replaceable>table_constraint</replaceable> } | <replaceable>table_constraint</replaceable> }
[, ... ] [, ... ]
) ] { FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable> | DEFAULT } ) ] { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }
[ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ] [ PARTITION BY { RANGE | LIST } ( { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ... ] ) ]
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ]
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
<phrase>where <replaceable class="PARAMETER">column_constraint</replaceable> is:</phrase> <phrase>where <replaceable class="parameter">column_constraint</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
{ NOT NULL | { NOT NULL |
NULL | NULL |
CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] | CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] |
DEFAULT <replaceable>default_expr</replaceable> | DEFAULT <replaceable>default_expr</replaceable> |
GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( <replaceable>sequence_options</replaceable> ) ] | GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( <replaceable>sequence_options</replaceable> ) ] |
UNIQUE <replaceable class="PARAMETER">index_parameters</replaceable> | UNIQUE <replaceable class="parameter">index_parameters</replaceable> |
PRIMARY KEY <replaceable class="PARAMETER">index_parameters</replaceable> | PRIMARY KEY <replaceable class="parameter">index_parameters</replaceable> |
REFERENCES <replaceable class="PARAMETER">reftable</replaceable> [ ( <replaceable class="PARAMETER">refcolumn</replaceable> ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] REFERENCES <replaceable class="parameter">reftable</replaceable> [ ( <replaceable class="parameter">refcolumn</replaceable> ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
[ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] } [ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] }
[ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ] [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
<phrase>and <replaceable class="PARAMETER">table_constraint</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">table_constraint</replaceable> is:</phrase>
[ CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ] [ CONSTRAINT <replaceable class="parameter">constraint_name</replaceable> ]
{ CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] | { CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] |
UNIQUE ( <replaceable class="PARAMETER">column_name</replaceable> [, ... ] ) <replaceable class="PARAMETER">index_parameters</replaceable> | UNIQUE ( <replaceable class="parameter">column_name</replaceable> [, ... ] ) <replaceable class="parameter">index_parameters</replaceable> |
PRIMARY KEY ( <replaceable class="PARAMETER">column_name</replaceable> [, ... ] ) <replaceable class="PARAMETER">index_parameters</replaceable> | PRIMARY KEY ( <replaceable class="parameter">column_name</replaceable> [, ... ] ) <replaceable class="parameter">index_parameters</replaceable> |
EXCLUDE [ USING <replaceable class="parameter">index_method</replaceable> ] ( <replaceable class="parameter">exclude_element</replaceable> WITH <replaceable class="parameter">operator</replaceable> [, ... ] ) <replaceable class="parameter">index_parameters</replaceable> [ WHERE ( <replaceable class="parameter">predicate</replaceable> ) ] | EXCLUDE [ USING <replaceable class="parameter">index_method</replaceable> ] ( <replaceable class="parameter">exclude_element</replaceable> WITH <replaceable class="parameter">operator</replaceable> [, ... ] ) <replaceable class="parameter">index_parameters</replaceable> [ WHERE ( <replaceable class="parameter">predicate</replaceable> ) ] |
FOREIGN KEY ( <replaceable class="PARAMETER">column_name</replaceable> [, ... ] ) REFERENCES <replaceable class="PARAMETER">reftable</replaceable> [ ( <replaceable class="PARAMETER">refcolumn</replaceable> [, ... ] ) ] FOREIGN KEY ( <replaceable class="parameter">column_name</replaceable> [, ... ] ) REFERENCES <replaceable class="parameter">reftable</replaceable> [ ( <replaceable class="parameter">refcolumn</replaceable> [, ... ] ) ]
[ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] } [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] }
[ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ] [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]
<phrase>and <replaceable class="PARAMETER">like_option</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">like_option</replaceable> is:</phrase>
{ INCLUDING | EXCLUDING } { DEFAULTS | CONSTRAINTS | IDENTITY | INDEXES | STORAGE | COMMENTS | ALL } { INCLUDING | EXCLUDING } { DEFAULTS | CONSTRAINTS | IDENTITY | INDEXES | STORAGE | COMMENTS | ALL }
<phrase>and <replaceable class="PARAMETER">partition_bound_spec</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">partition_bound_spec</replaceable> is:</phrase>
IN ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replaceable class="PARAMETER">string_literal</replaceable> | NULL } [, ...] ) | IN ( { <replaceable class="parameter">numeric_literal</replaceable> | <replaceable class="parameter">string_literal</replaceable> | NULL } [, ...] ) |
FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replaceable class="PARAMETER">string_literal</replaceable> | MINVALUE | MAXVALUE } [, ...] ) FROM ( { <replaceable class="parameter">numeric_literal</replaceable> | <replaceable class="parameter">string_literal</replaceable> | MINVALUE | MAXVALUE } [, ...] )
TO ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replaceable class="PARAMETER">string_literal</replaceable> | MINVALUE | MAXVALUE } [, ...] ) TO ( { <replaceable class="parameter">numeric_literal</replaceable> | <replaceable class="parameter">string_literal</replaceable> | MINVALUE | MAXVALUE } [, ...] )
<phrase><replaceable class="PARAMETER">index_parameters</replaceable> in <literal>UNIQUE</literal>, <literal>PRIMARY KEY</literal>, and <literal>EXCLUDE</literal> constraints are:</phrase> <phrase><replaceable class="parameter">index_parameters</replaceable> in <literal>UNIQUE</literal>, <literal>PRIMARY KEY</literal>, and <literal>EXCLUDE</literal> constraints are:</phrase>
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) ]
[ USING INDEX TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ USING INDEX TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
<phrase><replaceable class="PARAMETER">exclude_element</replaceable> in an <literal>EXCLUDE</literal> constraint is:</phrase> <phrase><replaceable class="parameter">exclude_element</replaceable> in an <literal>EXCLUDE</literal> constraint is:</phrase>
{ <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ <replaceable class="parameter">opclass</replaceable> ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] { <replaceable class="parameter">column_name</replaceable> | ( <replaceable class="parameter">expression</replaceable> ) } [ <replaceable class="parameter">opclass</replaceable> ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ]
</synopsis> </synopsis>
...@@ -220,7 +220,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -220,7 +220,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table to be created. The name (optionally schema-qualified) of the table to be created.
...@@ -229,7 +229,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -229,7 +229,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OF <replaceable class="PARAMETER">type_name</replaceable></literal></term> <term><literal>OF <replaceable class="parameter">type_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
Creates a <firstterm>typed table</firstterm>, which takes its Creates a <firstterm>typed table</firstterm>, which takes its
...@@ -250,7 +250,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -250,7 +250,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry id="SQL-CREATETABLE-PARTITION"> <varlistentry id="SQL-CREATETABLE-PARTITION">
<term><literal>PARTITION OF <replaceable class="PARAMETER">parent_table</replaceable> { FOR VALUES <replaceable class="PARAMETER">partition_bound_spec</replaceable> | DEFAULT }</literal></term> <term><literal>PARTITION OF <replaceable class="parameter">parent_table</replaceable> { FOR VALUES <replaceable class="parameter">partition_bound_spec</replaceable> | DEFAULT }</literal></term>
<listitem> <listitem>
<para> <para>
Creates the table as a <firstterm>partition</firstterm> of the specified Creates the table as a <firstterm>partition</firstterm> of the specified
...@@ -260,7 +260,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -260,7 +260,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</para> </para>
<para> <para>
The <replaceable class="PARAMETER">partition_bound_spec</replaceable> The <replaceable class="parameter">partition_bound_spec</replaceable>
must correspond to the partitioning method and partition key of the must correspond to the partitioning method and partition key of the
parent table, and must not overlap with any existing partition of that parent table, and must not overlap with any existing partition of that
parent. The form with <literal>IN</> is used for list partitioning, parent. The form with <literal>IN</> is used for list partitioning,
...@@ -270,7 +270,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -270,7 +270,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
<para> <para>
Each of the values specified in Each of the values specified in
the <replaceable class="PARAMETER">partition_bound_spec</> is the <replaceable class="parameter">partition_bound_spec</> is
a literal, <literal>NULL</literal>, <literal>MINVALUE</literal>, or a literal, <literal>NULL</literal>, <literal>MINVALUE</literal>, or
<literal>MAXVALUE</literal>. Each literal value must be either a <literal>MAXVALUE</literal>. Each literal value must be either a
numeric constant that is coercible to the corresponding partition key numeric constant that is coercible to the corresponding partition key
...@@ -397,7 +397,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -397,7 +397,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a column to be created in the new table. The name of a column to be created in the new table.
...@@ -406,7 +406,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -406,7 +406,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type of the column. This can include array The data type of the column. This can include array
...@@ -602,7 +602,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -602,7 +602,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable></literal></term> <term><literal>CONSTRAINT <replaceable class="parameter">constraint_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
An optional name for a column or table constraint. If the An optional name for a column or table constraint. If the
...@@ -640,7 +640,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -640,7 +640,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>CHECK ( <replaceable class="PARAMETER">expression</replaceable> ) [ NO INHERIT ] </literal></term> <term><literal>CHECK ( <replaceable class="parameter">expression</replaceable> ) [ NO INHERIT ] </literal></term>
<listitem> <listitem>
<para> <para>
The <literal>CHECK</> clause specifies an expression producing a The <literal>CHECK</> clause specifies an expression producing a
...@@ -730,7 +730,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -730,7 +730,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
<varlistentry> <varlistentry>
<term><literal>UNIQUE</> (column constraint)</term> <term><literal>UNIQUE</> (column constraint)</term>
<term><literal>UNIQUE ( <replaceable class="PARAMETER">column_name</replaceable> [, ... ] )</> (table constraint)</term> <term><literal>UNIQUE ( <replaceable class="parameter">column_name</replaceable> [, ... ] )</> (table constraint)</term>
<listitem> <listitem>
<para> <para>
...@@ -757,7 +757,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -757,7 +757,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
<varlistentry> <varlistentry>
<term><literal>PRIMARY KEY</> (column constraint)</term> <term><literal>PRIMARY KEY</> (column constraint)</term>
<term><literal>PRIMARY KEY ( <replaceable class="PARAMETER">column_name</replaceable> [, ... ] )</> (table constraint)</term> <term><literal>PRIMARY KEY ( <replaceable class="parameter">column_name</replaceable> [, ... ] )</> (table constraint)</term>
<listitem> <listitem>
<para> <para>
The <literal>PRIMARY KEY</> constraint specifies that a column or The <literal>PRIMARY KEY</> constraint specifies that a column or
...@@ -997,7 +997,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -997,7 +997,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )</literal></term> <term><literal>WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies optional storage parameters for a table or index; This clause specifies optional storage parameters for a table or index;
...@@ -1092,10 +1092,10 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -1092,10 +1092,10 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable></literal></term> <term><literal>TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
The <replaceable class="PARAMETER">tablespace_name</replaceable> is the name The <replaceable class="parameter">tablespace_name</replaceable> is the name
of the tablespace in which the new table is to be created. of the tablespace in which the new table is to be created.
If not specified, If not specified,
<xref linkend="guc-default-tablespace"> is consulted, or <xref linkend="guc-default-tablespace"> is consulted, or
...@@ -1105,7 +1105,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace ...@@ -1105,7 +1105,7 @@ FROM ( { <replaceable class="PARAMETER">numeric_literal</replaceable> | <replace
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>USING INDEX TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable></literal></term> <term><literal>USING INDEX TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
This clause allows selection of the tablespace in which the index This clause allows selection of the tablespace in which the index
......
...@@ -23,9 +23,9 @@ PostgreSQL documentation ...@@ -23,9 +23,9 @@ PostgreSQL documentation
<synopsis> <synopsis>
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable>table_name</replaceable> CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXISTS ] <replaceable>table_name</replaceable>
[ (<replaceable>column_name</replaceable> [, ...] ) ] [ (<replaceable>column_name</replaceable> [, ...] ) ]
[ WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ] [ WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] ) | WITH OIDS | WITHOUT OIDS ]
[ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ] [ ON COMMIT { PRESERVE ROWS | DELETE ROWS | DROP } ]
[ TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable> ] [ TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> ]
AS <replaceable>query</replaceable> AS <replaceable>query</replaceable>
[ WITH [ NO ] DATA ] [ WITH [ NO ] DATA ]
</synopsis> </synopsis>
...@@ -121,7 +121,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI ...@@ -121,7 +121,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>WITH ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )</literal></term> <term><literal>WITH ( <replaceable class="parameter">storage_parameter</replaceable> [= <replaceable class="parameter">value</replaceable>] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies optional storage parameters for the new table; This clause specifies optional storage parameters for the new table;
...@@ -195,10 +195,10 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI ...@@ -195,10 +195,10 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>TABLESPACE <replaceable class="PARAMETER">tablespace_name</replaceable></literal></term> <term><literal>TABLESPACE <replaceable class="parameter">tablespace_name</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
The <replaceable class="PARAMETER">tablespace_name</replaceable> is the name The <replaceable class="parameter">tablespace_name</replaceable> is the name
of the tablespace in which the new table is to be created. of the tablespace in which the new table is to be created.
If not specified, If not specified,
<xref linkend="guc-default-tablespace"> is consulted, or <xref linkend="guc-default-tablespace"> is consulted, or
......
...@@ -24,7 +24,7 @@ PostgreSQL documentation ...@@ -24,7 +24,7 @@ PostgreSQL documentation
CREATE TABLESPACE <replaceable class="parameter">tablespace_name</replaceable> CREATE TABLESPACE <replaceable class="parameter">tablespace_name</replaceable>
[ OWNER { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ] [ OWNER { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER } ]
LOCATION '<replaceable class="parameter">directory</replaceable>' LOCATION '<replaceable class="parameter">directory</replaceable>'
[ WITH ( <replaceable class="PARAMETER">tablespace_option</replaceable> = <replaceable class="PARAMETER">value</replaceable> [, ... ] ) ] [ WITH ( <replaceable class="parameter">tablespace_option</replaceable> = <replaceable class="parameter">value</replaceable> [, ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -26,14 +26,14 @@ PostgreSQL documentation ...@@ -26,14 +26,14 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE [ CONSTRAINT ] TRIGGER <replaceable class="PARAMETER">name</replaceable> { BEFORE | AFTER | INSTEAD OF } { <replaceable class="PARAMETER">event</replaceable> [ OR ... ] } CREATE [ CONSTRAINT ] TRIGGER <replaceable class="parameter">name</replaceable> { BEFORE | AFTER | INSTEAD OF } { <replaceable class="parameter">event</replaceable> [ OR ... ] }
ON <replaceable class="PARAMETER">table_name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
[ FROM <replaceable class="parameter">referenced_table_name</replaceable> ] [ FROM <replaceable class="parameter">referenced_table_name</replaceable> ]
[ NOT DEFERRABLE | [ DEFERRABLE ] [ INITIALLY IMMEDIATE | INITIALLY DEFERRED ] ] [ NOT DEFERRABLE | [ DEFERRABLE ] [ INITIALLY IMMEDIATE | INITIALLY DEFERRED ] ]
[ REFERENCING { { OLD | NEW } TABLE [ AS ] <replaceable class="PARAMETER">transition_relation_name</replaceable> } [ ... ] ] [ REFERENCING { { OLD | NEW } TABLE [ AS ] <replaceable class="parameter">transition_relation_name</replaceable> } [ ... ] ]
[ FOR [ EACH ] { ROW | STATEMENT } ] [ FOR [ EACH ] { ROW | STATEMENT } ]
[ WHEN ( <replaceable class="parameter">condition</replaceable> ) ] [ WHEN ( <replaceable class="parameter">condition</replaceable> ) ]
EXECUTE PROCEDURE <replaceable class="PARAMETER">function_name</replaceable> ( <replaceable class="PARAMETER">arguments</replaceable> ) EXECUTE PROCEDURE <replaceable class="parameter">function_name</replaceable> ( <replaceable class="parameter">arguments</replaceable> )
<phrase>where <replaceable class="parameter">event</replaceable> can be one of:</phrase> <phrase>where <replaceable class="parameter">event</replaceable> can be one of:</phrase>
...@@ -283,7 +283,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</ ...@@ -283,7 +283,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">referenced_table_name</replaceable></term> <term><replaceable class="parameter">referenced_table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The (possibly schema-qualified) name of another table referenced by the The (possibly schema-qualified) name of another table referenced by the
...@@ -333,7 +333,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</ ...@@ -333,7 +333,7 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">transition_relation_name</replaceable></term> <term><replaceable class="parameter">transition_relation_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The (unqualified) name to be used within the trigger for this The (unqualified) name to be used within the trigger for this
......
...@@ -22,7 +22,7 @@ PostgreSQL documentation ...@@ -22,7 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE TYPE <replaceable class="parameter">name</replaceable> AS CREATE TYPE <replaceable class="parameter">name</replaceable> AS
( [ <replaceable class="PARAMETER">attribute_name</replaceable> <replaceable class="PARAMETER">data_type</replaceable> [ COLLATE <replaceable>collation</replaceable> ] [, ... ] ] ) ( [ <replaceable class="parameter">attribute_name</replaceable> <replaceable class="parameter">data_type</replaceable> [ COLLATE <replaceable>collation</replaceable> ] [, ... ] ] )
CREATE TYPE <replaceable class="parameter">name</replaceable> AS ENUM CREATE TYPE <replaceable class="parameter">name</replaceable> AS ENUM
( [ '<replaceable class="parameter">label</replaceable>' [, ... ] ] ) ( [ '<replaceable class="parameter">label</replaceable>' [, ... ] ] )
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replaceable class="PARAMETER">option</replaceable> [ ... ] ] CREATE USER <replaceable class="parameter">name</replaceable> [ [ WITH ] <replaceable class="parameter">option</replaceable> [ ... ] ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be:</phrase>
SUPERUSER | NOSUPERUSER SUPERUSER | NOSUPERUSER
| CREATEDB | NOCREATEDB | CREATEDB | NOCREATEDB
...@@ -32,15 +32,15 @@ CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac ...@@ -32,15 +32,15 @@ CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
| LOGIN | NOLOGIN | LOGIN | NOLOGIN
| REPLICATION | NOREPLICATION | REPLICATION | NOREPLICATION
| BYPASSRLS | NOBYPASSRLS | BYPASSRLS | NOBYPASSRLS
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable> | CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
| [ ENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>' | [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>' | VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
| IN ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| IN GROUP <replaceable class="PARAMETER">role_name</replaceable> [, ...] | IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]
| ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
| ADMIN <replaceable class="PARAMETER">role_name</replaceable> [, ...] | ADMIN <replaceable class="parameter">role_name</replaceable> [, ...]
| USER <replaceable class="PARAMETER">role_name</replaceable> [, ...] | USER <replaceable class="parameter">role_name</replaceable> [, ...]
| SYSID <replaceable class="PARAMETER">uid</replaceable> | SYSID <replaceable class="parameter">uid</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -23,7 +23,7 @@ PostgreSQL documentation ...@@ -23,7 +23,7 @@ PostgreSQL documentation
<synopsis> <synopsis>
CREATE USER MAPPING [IF NOT EXISTS] FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | PUBLIC } CREATE USER MAPPING [IF NOT EXISTS] FOR { <replaceable class="parameter">user_name</replaceable> | USER | CURRENT_USER | PUBLIC }
SERVER <replaceable class="parameter">server_name</replaceable> SERVER <replaceable class="parameter">server_name</replaceable>
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [ , ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [ , ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -86,7 +86,7 @@ CREATE USER MAPPING [IF NOT EXISTS] FOR { <replaceable class="parameter">user_na ...@@ -86,7 +86,7 @@ CREATE USER MAPPING [IF NOT EXISTS] FOR { <replaceable class="parameter">user_na
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] )</literal></term> <term><literal>OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies the options of the user mapping. The This clause specifies the options of the user mapping. The
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] CREATE [ OR REPLACE ] [ TEMP | TEMPORARY ] [ RECURSIVE ] VIEW <replaceable class="parameter">name</replaceable> [ ( <replaceable class="parameter">column_name</replaceable> [, ...] ) ]
[ WITH ( <replaceable class="PARAMETER">view_option_name</replaceable> [= <replaceable class="PARAMETER">view_option_value</replaceable>] [, ... ] ) ] [ WITH ( <replaceable class="parameter">view_option_name</replaceable> [= <replaceable class="parameter">view_option_value</replaceable>] [, ... ] ) ]
AS <replaceable class="PARAMETER">query</replaceable> AS <replaceable class="parameter">query</replaceable>
[ WITH [ CASCADED | LOCAL ] CHECK OPTION ] [ WITH [ CASCADED | LOCAL ] CHECK OPTION ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -118,7 +118,7 @@ CREATE VIEW [ <replaceable>schema</> . ] <replaceable>view_name</> AS WITH RECUR ...@@ -118,7 +118,7 @@ CREATE VIEW [ <replaceable>schema</> . ] <replaceable>view_name</> AS WITH RECUR
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>WITH ( <replaceable class="PARAMETER">view_option_name</replaceable> [= <replaceable class="PARAMETER">view_option_value</replaceable>] [, ... ] )</literal></term> <term><literal>WITH ( <replaceable class="parameter">view_option_name</replaceable> [= <replaceable class="parameter">view_option_value</replaceable>] [, ... ] )</literal></term>
<listitem> <listitem>
<para> <para>
This clause specifies optional parameters for a view; the following This clause specifies optional parameters for a view; the following
......
...@@ -22,9 +22,9 @@ PostgreSQL documentation ...@@ -22,9 +22,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ] [ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ [ AS ] <replaceable class="parameter">alias</replaceable> ] DELETE FROM [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [ [ AS ] <replaceable class="parameter">alias</replaceable> ]
[ USING <replaceable class="PARAMETER">using_list</replaceable> ] [ USING <replaceable class="parameter">using_list</replaceable> ]
[ WHERE <replaceable class="PARAMETER">condition</replaceable> | WHERE CURRENT OF <replaceable class="PARAMETER">cursor_name</replaceable> ] [ WHERE <replaceable class="parameter">condition</replaceable> | WHERE CURRENT OF <replaceable class="parameter">cursor_name</replaceable> ]
[ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ] [ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -117,7 +117,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ...@@ -117,7 +117,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ *
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">using_list</replaceable></term> <term><replaceable class="parameter">using_list</replaceable></term>
<listitem> <listitem>
<para> <para>
A list of table expressions, allowing columns from other tables A list of table expressions, allowing columns from other tables
...@@ -126,7 +126,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ...@@ -126,7 +126,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ *
linkend="sql-from" endterm="sql-from-title"> of a linkend="sql-from" endterm="sql-from-title"> of a
<command>SELECT</command> statement; for example, an alias for <command>SELECT</command> statement; for example, an alias for
the table name can be specified. Do not repeat the target table the table name can be specified. Do not repeat the target table
in the <replaceable class="PARAMETER">using_list</replaceable>, in the <replaceable class="parameter">using_list</replaceable>,
unless you wish to set up a self-join. unless you wish to set up a self-join.
</para> </para>
</listitem> </listitem>
...@@ -144,7 +144,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ...@@ -144,7 +144,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ *
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cursor_name</replaceable></term> <term><replaceable class="parameter">cursor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the cursor to use in a <literal>WHERE CURRENT OF</> The name of the cursor to use in a <literal>WHERE CURRENT OF</>
...@@ -161,12 +161,12 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ...@@ -161,12 +161,12 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ *
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_expression</replaceable></term> <term><replaceable class="parameter">output_expression</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression to be computed and returned by the <command>DELETE</> An expression to be computed and returned by the <command>DELETE</>
command after each row is deleted. The expression can use any command after each row is deleted. The expression can use any
column names of the table named by <replaceable class="PARAMETER">table_name</replaceable> column names of the table named by <replaceable class="parameter">table_name</replaceable>
or table(s) listed in <literal>USING</>. or table(s) listed in <literal>USING</>.
Write <literal>*</> to return all columns. Write <literal>*</> to return all columns.
</para> </para>
...@@ -174,7 +174,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ...@@ -174,7 +174,7 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ *
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_name</replaceable></term> <term><replaceable class="parameter">output_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A name to use for a returned column. A name to use for a returned column.
......
...@@ -25,7 +25,7 @@ PostgreSQL documentation ...@@ -25,7 +25,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replaceable class="PARAMETER">code</replaceable> DO [ LANGUAGE <replaceable class="parameter">lang_name</replaceable> ] <replaceable class="parameter">code</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -54,7 +54,7 @@ DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replacea ...@@ -54,7 +54,7 @@ DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replacea
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">code</replaceable></term> <term><replaceable class="parameter">code</replaceable></term>
<listitem> <listitem>
<para> <para>
The procedural language code to be executed. This must be specified The procedural language code to be executed. This must be specified
...@@ -65,7 +65,7 @@ DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replacea ...@@ -65,7 +65,7 @@ DO [ LANGUAGE <replaceable class="PARAMETER">lang_name</replaceable> ] <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">lang_name</replaceable></term> <term><replaceable class="parameter">lang_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the procedural language the code is written in. The name of the procedural language the code is written in.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP DATABASE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> DROP DATABASE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -57,7 +57,7 @@ DROP DATABASE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -57,7 +57,7 @@ DROP DATABASE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the database to remove. The name of the database to remove.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP DOMAIN [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP DOMAIN [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -49,7 +49,7 @@ DROP DOMAIN [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, . ...@@ -49,7 +49,7 @@ DROP DOMAIN [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, .
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of an existing domain. The name (optionally schema-qualified) of an existing domain.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP EVENT TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP EVENT TRIGGER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -51,7 +51,7 @@ DROP EVENT TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl ...@@ -51,7 +51,7 @@ DROP EVENT TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the event trigger to remove. The name of the event trigger to remove.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP EXTENSION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -54,7 +54,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ ...@@ -54,7 +54,7 @@ DROP EXTENSION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an installed extension. The name of an installed extension.
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -46,7 +46,7 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl ...@@ -46,7 +46,7 @@ DROP FOREIGN TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceabl
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the foreign table to drop. The name (optionally schema-qualified) of the foreign table to drop.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP GROUP [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] DROP GROUP [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -72,7 +72,7 @@ DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="PARAMETER">name</r ...@@ -72,7 +72,7 @@ DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="PARAMETER">name</r
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of an index to remove. The name (optionally schema-qualified) of an index to remove.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -60,7 +60,7 @@ DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] <replaceable class="PARAMETER">name</ ...@@ -60,7 +60,7 @@ DROP [ PROCEDURAL ] LANGUAGE [ IF EXISTS ] <replaceable class="PARAMETER">name</
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of an existing procedural language. For backward The name of an existing procedural language. For backward
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -50,7 +50,7 @@ DROP MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replac ...@@ -50,7 +50,7 @@ DROP MATERIALIZED VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the materialized view to The name (optionally schema-qualified) of the materialized view to
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP OPERATOR CLASS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> USING <replaceable class="PARAMETER">index_method</replaceable> [ CASCADE | RESTRICT ] DROP OPERATOR CLASS [ IF EXISTS ] <replaceable class="parameter">name</replaceable> USING <replaceable class="parameter">index_method</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP OPERATOR [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ( { <replaceable class="PARAMETER">left_type</replaceable> | NONE } , { <replaceable class="PARAMETER">right_type</replaceable> | NONE } ) [, ...] [ CASCADE | RESTRICT ] DROP OPERATOR [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ( { <replaceable class="parameter">left_type</replaceable> | NONE } , { <replaceable class="parameter">right_type</replaceable> | NONE } ) [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP OPERATOR FAMILY [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> USING <replaceable class="PARAMETER">index_method</replaceable> [ CASCADE | RESTRICT ] DROP OPERATOR FAMILY [ IF EXISTS ] <replaceable class="parameter">name</replaceable> USING <replaceable class="parameter">index_method</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP OWNED BY { <replaceable class="PARAMETER">name</replaceable> | CURRENT_USER | SESSION_USER } [, ...] [ CASCADE | RESTRICT ] DROP OWNED BY { <replaceable class="parameter">name</replaceable> | CURRENT_USER | SESSION_USER } [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -42,7 +42,7 @@ DROP OWNED BY { <replaceable class="PARAMETER">name</replaceable> | CURRENT_USER ...@@ -42,7 +42,7 @@ DROP OWNED BY { <replaceable class="PARAMETER">name</replaceable> | CURRENT_USER
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a role whose objects will be dropped, and whose The name of a role whose objects will be dropped, and whose
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP PUBLICATION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP PUBLICATION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP ROLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] DROP ROLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -68,7 +68,7 @@ DROP ROLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ... ...@@ -68,7 +68,7 @@ DROP ROLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the role to remove. The name of the role to remove.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP RULE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> [ CASCADE | RESTRICT ] DROP RULE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP SCHEMA [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP SCHEMA [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -54,7 +54,7 @@ DROP SCHEMA [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, . ...@@ -54,7 +54,7 @@ DROP SCHEMA [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, .
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a schema. The name of a schema.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP SEQUENCE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP SEQUENCE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -49,7 +49,7 @@ DROP SEQUENCE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...@@ -49,7 +49,7 @@ DROP SEQUENCE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [,
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of a sequence. The name (optionally schema-qualified) of a sequence.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP STATISTICS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] DROP STATISTICS [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -51,7 +51,7 @@ DROP STATISTICS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -51,7 +51,7 @@ DROP STATISTICS [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the statistics object to drop. The name (optionally schema-qualified) of the statistics object to drop.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP TABLE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -62,7 +62,7 @@ DROP TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, .. ...@@ -62,7 +62,7 @@ DROP TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ..
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table to drop. The name (optionally schema-qualified) of the table to drop.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TABLESPACE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> DROP TABLESPACE [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -60,7 +60,7 @@ DROP TABLESPACE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ...@@ -60,7 +60,7 @@ DROP TABLESPACE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a tablespace. The name of a tablespace.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON <replaceable class="PARAMETER">table_name</replaceable> [ CASCADE | RESTRICT ] DROP TRIGGER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> ON <replaceable class="parameter">table_name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -51,7 +51,7 @@ DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON ...@@ -51,7 +51,7 @@ DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the trigger to remove. The name of the trigger to remove.
...@@ -60,7 +60,7 @@ DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON ...@@ -60,7 +60,7 @@ DROP TRIGGER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> ON
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table for which The name (optionally schema-qualified) of the table for which
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TEXT SEARCH PARSER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP TEXT SEARCH PARSER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ] DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP TYPE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP TYPE [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -49,7 +49,7 @@ DROP TYPE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ... ...@@ -49,7 +49,7 @@ DROP TYPE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the data type to remove. The name (optionally schema-qualified) of the data type to remove.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP USER [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] DROP USER [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
DROP VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...] [ CASCADE | RESTRICT ] DROP VIEW [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -49,7 +49,7 @@ DROP VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ... ...@@ -49,7 +49,7 @@ DROP VIEW [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ...
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the view to remove. The name (optionally schema-qualified) of the view to remove.
......
...@@ -26,7 +26,7 @@ PostgreSQL documentation ...@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">parameter</replaceable> [, ...] ) ] EXECUTE <replaceable class="parameter">name</replaceable> [ ( <replaceable class="parameter">parameter</replaceable> [, ...] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -61,7 +61,7 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class ...@@ -61,7 +61,7 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the prepared statement to execute. The name of the prepared statement to execute.
...@@ -70,7 +70,7 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class ...@@ -70,7 +70,7 @@ EXECUTE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">parameter</replaceable></term> <term><replaceable class="parameter">parameter</replaceable></term>
<listitem> <listitem>
<para> <para>
The actual value of a parameter to the prepared statement. This The actual value of a parameter to the prepared statement. This
......
...@@ -27,23 +27,23 @@ PostgreSQL documentation ...@@ -27,23 +27,23 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<!-- Note the "direction" bit is also in ref/move.sgml --> <!-- Note the "direction" bit is also in ref/move.sgml -->
<synopsis> <synopsis>
FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable> FETCH [ <replaceable class="parameter">direction</replaceable> [ FROM | IN ] ] <replaceable class="parameter">cursor_name</replaceable>
<phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase> <phrase>where <replaceable class="parameter">direction</replaceable> can be empty or one of:</phrase>
NEXT NEXT
PRIOR PRIOR
FIRST FIRST
LAST LAST
ABSOLUTE <replaceable class="PARAMETER">count</replaceable> ABSOLUTE <replaceable class="parameter">count</replaceable>
RELATIVE <replaceable class="PARAMETER">count</replaceable> RELATIVE <replaceable class="parameter">count</replaceable>
<replaceable class="PARAMETER">count</replaceable> <replaceable class="parameter">count</replaceable>
ALL ALL
FORWARD FORWARD
FORWARD <replaceable class="PARAMETER">count</replaceable> FORWARD <replaceable class="parameter">count</replaceable>
FORWARD ALL FORWARD ALL
BACKWARD BACKWARD
BACKWARD <replaceable class="PARAMETER">count</replaceable> BACKWARD <replaceable class="parameter">count</replaceable>
BACKWARD ALL BACKWARD ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -82,7 +82,7 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -82,7 +82,7 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
retrieve the indicated number of rows moving in the forward or retrieve the indicated number of rows moving in the forward or
backward direction, leaving the cursor positioned on the backward direction, leaving the cursor positioned on the
last-returned row (or after/before all rows, if the <replaceable last-returned row (or after/before all rows, if the <replaceable
class="PARAMETER">count</replaceable> exceeds the number of rows class="parameter">count</replaceable> exceeds the number of rows
available). available).
</para> </para>
...@@ -109,9 +109,9 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -109,9 +109,9 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">direction</replaceable></term> <term><replaceable class="parameter">direction</replaceable></term>
<listitem> <listitem>
<para><replaceable class="PARAMETER">direction</replaceable> defines <para><replaceable class="parameter">direction</replaceable> defines
the fetch direction and number of rows to fetch. It can be one the fetch direction and number of rows to fetch. It can be one
of the following: of the following:
...@@ -121,7 +121,7 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -121,7 +121,7 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
<listitem> <listitem>
<para> <para>
Fetch the next row. This is the default if <replaceable Fetch the next row. This is the default if <replaceable
class="PARAMETER">direction</replaceable> is omitted. class="parameter">direction</replaceable> is omitted.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -154,17 +154,17 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -154,17 +154,17 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>ABSOLUTE <replaceable class="PARAMETER">count</replaceable></literal></term> <term><literal>ABSOLUTE <replaceable class="parameter">count</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
Fetch the <replaceable Fetch the <replaceable
class="PARAMETER">count</replaceable>'th row of the query, class="parameter">count</replaceable>'th row of the query,
or the <literal>abs(<replaceable or the <literal>abs(<replaceable
class="PARAMETER">count</replaceable>)</literal>'th row from class="parameter">count</replaceable>)</literal>'th row from
the end if <replaceable the end if <replaceable
class="PARAMETER">count</replaceable> is negative. Position class="parameter">count</replaceable> is negative. Position
before first row or after last row if <replaceable before first row or after last row if <replaceable
class="PARAMETER">count</replaceable> is out of range; in class="parameter">count</replaceable> is out of range; in
particular, <literal>ABSOLUTE 0</literal> positions before particular, <literal>ABSOLUTE 0</literal> positions before
the first row. the first row.
</para> </para>
...@@ -172,14 +172,14 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -172,14 +172,14 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>RELATIVE <replaceable class="PARAMETER">count</replaceable></literal></term> <term><literal>RELATIVE <replaceable class="parameter">count</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
Fetch the <replaceable Fetch the <replaceable
class="PARAMETER">count</replaceable>'th succeeding row, or class="parameter">count</replaceable>'th succeeding row, or
the <literal>abs(<replaceable the <literal>abs(<replaceable
class="PARAMETER">count</replaceable>)</literal>'th prior class="parameter">count</replaceable>)</literal>'th prior
row if <replaceable class="PARAMETER">count</replaceable> is row if <replaceable class="parameter">count</replaceable> is
negative. <literal>RELATIVE 0</literal> re-fetches the negative. <literal>RELATIVE 0</literal> re-fetches the
current row, if any. current row, if any.
</para> </para>
...@@ -187,13 +187,13 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -187,13 +187,13 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">count</replaceable></term> <term><replaceable class="parameter">count</replaceable></term>
<listitem> <listitem>
<para> <para>
Fetch the next <replaceable Fetch the next <replaceable
class="PARAMETER">count</replaceable> rows (same as class="parameter">count</replaceable> rows (same as
<literal>FORWARD <replaceable <literal>FORWARD <replaceable
class="PARAMETER">count</replaceable></literal>). class="parameter">count</replaceable></literal>).
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -217,11 +217,11 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -217,11 +217,11 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>FORWARD <replaceable class="PARAMETER">count</replaceable></literal></term> <term><literal>FORWARD <replaceable class="parameter">count</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
Fetch the next <replaceable Fetch the next <replaceable
class="PARAMETER">count</replaceable> rows. class="parameter">count</replaceable> rows.
<literal>FORWARD 0</literal> re-fetches the current row. <literal>FORWARD 0</literal> re-fetches the current row.
</para> </para>
</listitem> </listitem>
...@@ -246,11 +246,11 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -246,11 +246,11 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>BACKWARD <replaceable class="PARAMETER">count</replaceable></literal></term> <term><literal>BACKWARD <replaceable class="parameter">count</replaceable></literal></term>
<listitem> <listitem>
<para> <para>
Fetch the prior <replaceable Fetch the prior <replaceable
class="PARAMETER">count</replaceable> rows (scanning class="parameter">count</replaceable> rows (scanning
backwards). <literal>BACKWARD 0</literal> re-fetches the backwards). <literal>BACKWARD 0</literal> re-fetches the
current row. current row.
</para> </para>
...@@ -270,20 +270,20 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] < ...@@ -270,20 +270,20 @@ FETCH [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">count</replaceable></term> <term><replaceable class="parameter">count</replaceable></term>
<listitem> <listitem>
<para><replaceable class="PARAMETER">count</replaceable> is a <para><replaceable class="parameter">count</replaceable> is a
possibly-signed integer constant, determining the location or possibly-signed integer constant, determining the location or
number of rows to fetch. For <literal>FORWARD</> and number of rows to fetch. For <literal>FORWARD</> and
<literal>BACKWARD</> cases, specifying a negative <replaceable <literal>BACKWARD</> cases, specifying a negative <replaceable
class="PARAMETER">count</replaceable> is equivalent to changing class="parameter">count</replaceable> is equivalent to changing
the sense of <literal>FORWARD</> and <literal>BACKWARD</>. the sense of <literal>FORWARD</> and <literal>BACKWARD</>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cursor_name</replaceable></term> <term><replaceable class="parameter">cursor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
An open cursor's name. An open cursor's name.
...@@ -394,7 +394,7 @@ COMMIT WORK; ...@@ -394,7 +394,7 @@ COMMIT WORK;
The <command>FETCH</command> forms involving The <command>FETCH</command> forms involving
<literal>FORWARD</literal> and <literal>BACKWARD</literal>, as well <literal>FORWARD</literal> and <literal>BACKWARD</literal>, as well
as the forms <literal>FETCH <replaceable as the forms <literal>FETCH <replaceable
class="PARAMETER">count</replaceable></literal> and <literal>FETCH class="parameter">count</replaceable></literal> and <literal>FETCH
ALL</literal>, in which <literal>FORWARD</literal> is implicit, are ALL</literal>, in which <literal>FORWARD</literal> is implicit, are
<productname>PostgreSQL</productname> extensions. <productname>PostgreSQL</productname> extensions.
</para> </para>
......
...@@ -23,70 +23,70 @@ PostgreSQL documentation ...@@ -23,70 +23,70 @@ PostgreSQL documentation
<synopsis> <synopsis>
GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER } GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON { [ TABLE ] <replaceable class="PARAMETER">table_name</replaceable> [, ...] ON { [ TABLE ] <replaceable class="parameter">table_name</replaceable> [, ...]
| ALL TABLES IN SCHEMA <replaceable class="PARAMETER">schema_name</replaceable> [, ...] } | ALL TABLES IN SCHEMA <replaceable class="parameter">schema_name</replaceable> [, ...] }
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { { SELECT | INSERT | UPDATE | REFERENCES } ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) GRANT { { SELECT | INSERT | UPDATE | REFERENCES } ( <replaceable class="parameter">column_name</replaceable> [, ...] )
[, ...] | ALL [ PRIVILEGES ] ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) } [, ...] | ALL [ PRIVILEGES ] ( <replaceable class="parameter">column_name</replaceable> [, ...] ) }
ON [ TABLE ] <replaceable class="PARAMETER">table_name</replaceable> [, ...] ON [ TABLE ] <replaceable class="parameter">table_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { { USAGE | SELECT | UPDATE } GRANT { { USAGE | SELECT | UPDATE }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON { SEQUENCE <replaceable class="PARAMETER">sequence_name</replaceable> [, ...] ON { SEQUENCE <replaceable class="parameter">sequence_name</replaceable> [, ...]
| ALL SEQUENCES IN SCHEMA <replaceable class="PARAMETER">schema_name</replaceable> [, ...] } | ALL SEQUENCES IN SCHEMA <replaceable class="parameter">schema_name</replaceable> [, ...] }
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { { CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] } GRANT { { CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] }
ON DATABASE <replaceable>database_name</replaceable> [, ...] ON DATABASE <replaceable>database_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON DOMAIN <replaceable>domain_name</replaceable> [, ...] ON DOMAIN <replaceable>domain_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON FOREIGN DATA WRAPPER <replaceable>fdw_name</replaceable> [, ...] ON FOREIGN DATA WRAPPER <replaceable>fdw_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON FOREIGN SERVER <replaceable>server_name</replaceable> [, ...] ON FOREIGN SERVER <replaceable>server_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { EXECUTE | ALL [ PRIVILEGES ] } GRANT { EXECUTE | ALL [ PRIVILEGES ] }
ON { FUNCTION <replaceable>function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">arg_name</replaceable> ] <replaceable class="parameter">arg_type</replaceable> [, ...] ] ) ] [, ...] ON { FUNCTION <replaceable>function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">arg_name</replaceable> ] <replaceable class="parameter">arg_type</replaceable> [, ...] ] ) ] [, ...]
| ALL FUNCTIONS IN SCHEMA <replaceable class="PARAMETER">schema_name</replaceable> [, ...] } | ALL FUNCTIONS IN SCHEMA <replaceable class="parameter">schema_name</replaceable> [, ...] }
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON LANGUAGE <replaceable>lang_name</replaceable> [, ...] ON LANGUAGE <replaceable>lang_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { { SELECT | UPDATE } [, ...] | ALL [ PRIVILEGES ] } GRANT { { SELECT | UPDATE } [, ...] | ALL [ PRIVILEGES ] }
ON LARGE OBJECT <replaceable class="PARAMETER">loid</replaceable> [, ...] ON LARGE OBJECT <replaceable class="parameter">loid</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { { CREATE | USAGE } [, ...] | ALL [ PRIVILEGES ] } GRANT { { CREATE | USAGE } [, ...] | ALL [ PRIVILEGES ] }
ON SCHEMA <replaceable>schema_name</replaceable> [, ...] ON SCHEMA <replaceable>schema_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { CREATE | ALL [ PRIVILEGES ] } GRANT { CREATE | ALL [ PRIVILEGES ] }
ON TABLESPACE <replaceable>tablespace_name</replaceable> [, ...] ON TABLESPACE <replaceable>tablespace_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
GRANT { USAGE | ALL [ PRIVILEGES ] } GRANT { USAGE | ALL [ PRIVILEGES ] }
ON TYPE <replaceable>type_name</replaceable> [, ...] ON TYPE <replaceable>type_name</replaceable> [, ...]
TO <replaceable class="PARAMETER">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ] TO <replaceable class="parameter">role_specification</replaceable> [, ...] [ WITH GRANT OPTION ]
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase> <phrase>where <replaceable class="parameter">role_specification</replaceable> can be:</phrase>
[ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> [ GROUP ] <replaceable class="parameter">role_name</replaceable>
| PUBLIC | PUBLIC
| CURRENT_USER | CURRENT_USER
| SESSION_USER | SESSION_USER
GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replaceable class="PARAMETER">role_name</replaceable> [, ...] [ WITH ADMIN OPTION ] GRANT <replaceable class="parameter">role_name</replaceable> [, ...] TO <replaceable class="parameter">role_name</replaceable> [, ...] [ WITH ADMIN OPTION ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,11 +21,11 @@ PostgreSQL documentation ...@@ -21,11 +21,11 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> IMPORT FOREIGN SCHEMA <replaceable class="parameter">remote_schema</replaceable>
[ { LIMIT TO | EXCEPT } ( <replaceable class="PARAMETER">table_name</replaceable> [, ...] ) ] [ { LIMIT TO | EXCEPT } ( <replaceable class="parameter">table_name</replaceable> [, ...] ) ]
FROM SERVER <replaceable class="PARAMETER">server_name</replaceable> FROM SERVER <replaceable class="parameter">server_name</replaceable>
INTO <replaceable class="PARAMETER">local_schema</replaceable> INTO <replaceable class="parameter">local_schema</replaceable>
[ OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ... ] ) ] [ OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ... ] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -59,7 +59,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -59,7 +59,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">remote_schema</replaceable></term> <term><replaceable class="parameter">remote_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The remote schema to import from. The specific meaning of a remote schema The remote schema to import from. The specific meaning of a remote schema
...@@ -69,7 +69,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -69,7 +69,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>LIMIT TO ( <replaceable class="PARAMETER">table_name</replaceable> [, ...] )</literal></term> <term><literal>LIMIT TO ( <replaceable class="parameter">table_name</replaceable> [, ...] )</literal></term>
<listitem> <listitem>
<para> <para>
Import only foreign tables matching one of the given table names. Import only foreign tables matching one of the given table names.
...@@ -79,7 +79,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -79,7 +79,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>EXCEPT ( <replaceable class="PARAMETER">table_name</replaceable> [, ...] )</literal></term> <term><literal>EXCEPT ( <replaceable class="parameter">table_name</replaceable> [, ...] )</literal></term>
<listitem> <listitem>
<para> <para>
Exclude specified foreign tables from the import. All tables Exclude specified foreign tables from the import. All tables
...@@ -90,7 +90,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -90,7 +90,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">server_name</replaceable></term> <term><replaceable class="parameter">server_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The foreign server to import from. The foreign server to import from.
...@@ -99,7 +99,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -99,7 +99,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">local_schema</replaceable></term> <term><replaceable class="parameter">local_schema</replaceable></term>
<listitem> <listitem>
<para> <para>
The schema in which the imported foreign tables will be created. The schema in which the imported foreign tables will be created.
...@@ -108,7 +108,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable> ...@@ -108,7 +108,7 @@ IMPORT FOREIGN SCHEMA <replaceable class="PARAMETER">remote_schema</replaceable>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>OPTIONS ( <replaceable class="PARAMETER">option</replaceable> '<replaceable class="PARAMETER">value</replaceable>' [, ...] )</literal></term> <term><literal>OPTIONS ( <replaceable class="parameter">option</replaceable> '<replaceable class="parameter">value</replaceable>' [, ...] )</literal></term>
<listitem> <listitem>
<para> <para>
Options to be used during the import. Options to be used during the import.
......
...@@ -22,25 +22,25 @@ PostgreSQL documentation ...@@ -22,25 +22,25 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ] [ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replaceable class="parameter">alias</replaceable> ] [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replaceable class="parameter">alias</replaceable> ] [ ( <replaceable class="parameter">column_name</replaceable> [, ...] ) ]
[ OVERRIDING { SYSTEM | USER} VALUE ] [ OVERRIDING { SYSTEM | USER} VALUE ]
{ DEFAULT VALUES | VALUES ( { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } [, ...] ) [, ...] | <replaceable class="PARAMETER">query</replaceable> } { DEFAULT VALUES | VALUES ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) [, ...] | <replaceable class="parameter">query</replaceable> }
[ ON CONFLICT [ <replaceable class="parameter">conflict_target</replaceable> ] <replaceable class="parameter">conflict_action</replaceable> ] [ ON CONFLICT [ <replaceable class="parameter">conflict_target</replaceable> ] <replaceable class="parameter">conflict_action</replaceable> ]
[ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ] [ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ]
<phrase>where <replaceable class="parameter">conflict_target</replaceable> can be one of:</phrase> <phrase>where <replaceable class="parameter">conflict_target</replaceable> can be one of:</phrase>
( { <replaceable class="parameter">index_column_name</replaceable> | ( <replaceable class="parameter">index_expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ...] ) [ WHERE <replaceable class="PARAMETER">index_predicate</replaceable> ] ( { <replaceable class="parameter">index_column_name</replaceable> | ( <replaceable class="parameter">index_expression</replaceable> ) } [ COLLATE <replaceable class="parameter">collation</replaceable> ] [ <replaceable class="parameter">opclass</replaceable> ] [, ...] ) [ WHERE <replaceable class="parameter">index_predicate</replaceable> ]
ON CONSTRAINT <replaceable class="PARAMETER">constraint_name</replaceable> ON CONSTRAINT <replaceable class="parameter">constraint_name</replaceable>
<phrase>and <replaceable class="parameter">conflict_action</replaceable> is one of:</phrase> <phrase>and <replaceable class="parameter">conflict_action</replaceable> is one of:</phrase>
DO NOTHING DO NOTHING
DO UPDATE SET { <replaceable class="PARAMETER">column_name</replaceable> = { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } | DO UPDATE SET { <replaceable class="parameter">column_name</replaceable> = { <replaceable class="parameter">expression</replaceable> | DEFAULT } |
( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } [, ...] ) | ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) |
( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) = ( <replaceable class="PARAMETER">sub-SELECT</replaceable> ) ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = ( <replaceable class="parameter">sub-SELECT</replaceable> )
} [, ...] } [, ...]
[ WHERE <replaceable class="PARAMETER">condition</replaceable> ] [ WHERE <replaceable class="parameter">condition</replaceable> ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -93,7 +93,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -93,7 +93,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
inserted or updated will be returned. For example, if a row was inserted or updated will be returned. For example, if a row was
locked but not updated because an <literal>ON CONFLICT DO UPDATE locked but not updated because an <literal>ON CONFLICT DO UPDATE
... WHERE</literal> clause <replaceable ... WHERE</literal> clause <replaceable
class="PARAMETER">condition</replaceable> was not satisfied, the class="parameter">condition</replaceable> was not satisfied, the
row will not be returned. row will not be returned.
</para> </para>
...@@ -119,7 +119,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -119,7 +119,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
Use of the <literal>RETURNING</> clause requires <literal>SELECT</> Use of the <literal>RETURNING</> clause requires <literal>SELECT</>
privilege on all columns mentioned in <literal>RETURNING</>. privilege on all columns mentioned in <literal>RETURNING</>.
If you use the <replaceable If you use the <replaceable
class="PARAMETER">query</replaceable> clause to insert rows from a class="parameter">query</replaceable> clause to insert rows from a
query, you of course need to have <literal>SELECT</literal> privilege on query, you of course need to have <literal>SELECT</literal> privilege on
any table or column used in the query. any table or column used in the query.
</para> </para>
...@@ -160,7 +160,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -160,7 +160,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of an existing table. The name (optionally schema-qualified) of an existing table.
...@@ -173,7 +173,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -173,7 +173,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
<listitem> <listitem>
<para> <para>
A substitute name for <replaceable A substitute name for <replaceable
class="PARAMETER">table_name</replaceable>. When an alias is class="parameter">table_name</replaceable>. When an alias is
provided, it completely hides the actual name of the table. provided, it completely hides the actual name of the table.
This is particularly useful when <literal>ON CONFLICT DO UPDATE</> This is particularly useful when <literal>ON CONFLICT DO UPDATE</>
targets a table named <varname>excluded</>, since that will otherwise targets a table named <varname>excluded</>, since that will otherwise
...@@ -185,11 +185,11 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -185,11 +185,11 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a column in the table named by <replaceable The name of a column in the table named by <replaceable
class="PARAMETER">table_name</replaceable>. The column name class="parameter">table_name</replaceable>. The column name
can be qualified with a subfield name or array subscript, if can be qualified with a subfield name or array subscript, if
needed. (Inserting into only some fields of a composite needed. (Inserting into only some fields of a composite
column leaves the other fields null.) When referencing a column leaves the other fields null.) When referencing a
...@@ -246,7 +246,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -246,7 +246,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">expression</replaceable></term> <term><replaceable class="parameter">expression</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression or value to assign to the corresponding column. An expression or value to assign to the corresponding column.
...@@ -265,7 +265,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -265,7 +265,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">query</replaceable></term> <term><replaceable class="parameter">query</replaceable></term>
<listitem> <listitem>
<para> <para>
A query (<command>SELECT</command> statement) that supplies the A query (<command>SELECT</command> statement) that supplies the
...@@ -277,14 +277,14 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -277,14 +277,14 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_expression</replaceable></term> <term><replaceable class="parameter">output_expression</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression to be computed and returned by the An expression to be computed and returned by the
<command>INSERT</> command after each row is inserted or <command>INSERT</> command after each row is inserted or
updated. The expression can use any column names of the table updated. The expression can use any column names of the table
named by <replaceable named by <replaceable
class="PARAMETER">table_name</replaceable>. Write class="parameter">table_name</replaceable>. Write
<literal>*</> to return all columns of the inserted or updated <literal>*</> to return all columns of the inserted or updated
row(s). row(s).
</para> </para>
...@@ -292,7 +292,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -292,7 +292,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_name</replaceable></term> <term><replaceable class="parameter">output_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A name to use for a returned column. A name to use for a returned column.
...@@ -328,14 +328,14 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -328,14 +328,14 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
<parameter>conflict_target</parameter> can perform <parameter>conflict_target</parameter> can perform
<emphasis>unique index inference</emphasis>. When performing <emphasis>unique index inference</emphasis>. When performing
inference, it consists of one or more <replaceable inference, it consists of one or more <replaceable
class="PARAMETER">index_column_name</replaceable> columns and/or class="parameter">index_column_name</replaceable> columns and/or
<replaceable class="PARAMETER">index_expression</replaceable> <replaceable class="parameter">index_expression</replaceable>
expressions, and an optional <replaceable class="PARAMETER">index_predicate</replaceable>. All <replaceable expressions, and an optional <replaceable class="parameter">index_predicate</replaceable>. All <replaceable
class="PARAMETER">table_name</replaceable> unique indexes that, class="parameter">table_name</replaceable> unique indexes that,
without regard to order, contain exactly the without regard to order, contain exactly the
<parameter>conflict_target</parameter>-specified <parameter>conflict_target</parameter>-specified
columns/expressions are inferred (chosen) as arbiter indexes. If columns/expressions are inferred (chosen) as arbiter indexes. If
an <replaceable class="PARAMETER">index_predicate</replaceable> is an <replaceable class="parameter">index_predicate</replaceable> is
specified, it must, as a further requirement for inference, specified, it must, as a further requirement for inference,
satisfy arbiter indexes. Note that this means a non-partial satisfy arbiter indexes. Note that this means a non-partial
unique index (a unique index without a predicate) will be inferred unique index (a unique index without a predicate) will be inferred
...@@ -400,42 +400,42 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -400,42 +400,42 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">index_column_name</replaceable></term> <term><replaceable class="parameter">index_column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a <replaceable The name of a <replaceable
class="PARAMETER">table_name</replaceable> column. Used to class="parameter">table_name</replaceable> column. Used to
infer arbiter indexes. Follows <command>CREATE infer arbiter indexes. Follows <command>CREATE
INDEX</command> format. <literal>SELECT</> privilege on INDEX</command> format. <literal>SELECT</> privilege on
<replaceable class="PARAMETER">index_column_name</replaceable> <replaceable class="parameter">index_column_name</replaceable>
is required. is required.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">index_expression</replaceable></term> <term><replaceable class="parameter">index_expression</replaceable></term>
<listitem> <listitem>
<para> <para>
Similar to <replaceable Similar to <replaceable
class="PARAMETER">index_column_name</replaceable>, but used to class="parameter">index_column_name</replaceable>, but used to
infer expressions on <replaceable infer expressions on <replaceable
class="PARAMETER">table_name</replaceable> columns appearing class="parameter">table_name</replaceable> columns appearing
within index definitions (not simple columns). Follows within index definitions (not simple columns). Follows
<command>CREATE INDEX</command> format. <literal>SELECT</> <command>CREATE INDEX</command> format. <literal>SELECT</>
privilege on any column appearing within <replaceable privilege on any column appearing within <replaceable
class="PARAMETER">index_expression</replaceable> is required. class="parameter">index_expression</replaceable> is required.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">collation</replaceable></term> <term><replaceable class="parameter">collation</replaceable></term>
<listitem> <listitem>
<para> <para>
When specified, mandates that corresponding <replaceable When specified, mandates that corresponding <replaceable
class="PARAMETER">index_column_name</replaceable> or class="parameter">index_column_name</replaceable> or
<replaceable class="PARAMETER">index_expression</replaceable> <replaceable class="parameter">index_expression</replaceable>
use a particular collation in order to be matched during use a particular collation in order to be matched during
inference. Typically this is omitted, as collations usually inference. Typically this is omitted, as collations usually
do not affect whether or not a constraint violation occurs. do not affect whether or not a constraint violation occurs.
...@@ -445,12 +445,12 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -445,12 +445,12 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">opclass</replaceable></term> <term><replaceable class="parameter">opclass</replaceable></term>
<listitem> <listitem>
<para> <para>
When specified, mandates that corresponding <replaceable When specified, mandates that corresponding <replaceable
class="PARAMETER">index_column_name</replaceable> or class="parameter">index_column_name</replaceable> or
<replaceable class="PARAMETER">index_expression</replaceable> <replaceable class="parameter">index_expression</replaceable>
use particular operator class in order to be matched during use particular operator class in order to be matched during
inference. Typically this is omitted, as the inference. Typically this is omitted, as the
<emphasis>equality</emphasis> semantics are often equivalent <emphasis>equality</emphasis> semantics are often equivalent
...@@ -463,7 +463,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -463,7 +463,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">index_predicate</replaceable></term> <term><replaceable class="parameter">index_predicate</replaceable></term>
<listitem> <listitem>
<para> <para>
Used to allow inference of partial unique indexes. Any Used to allow inference of partial unique indexes. Any
...@@ -471,13 +471,13 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -471,13 +471,13 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
partial indexes) can be inferred. Follows <command>CREATE partial indexes) can be inferred. Follows <command>CREATE
INDEX</command> format. <literal>SELECT</> privilege on any INDEX</command> format. <literal>SELECT</> privilege on any
column appearing within <replaceable column appearing within <replaceable
class="PARAMETER">index_predicate</replaceable> is required. class="parameter">index_predicate</replaceable> is required.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">constraint_name</replaceable></term> <term><replaceable class="parameter">constraint_name</replaceable></term>
<listitem> <listitem>
<para> <para>
Explicitly specifies an arbiter Explicitly specifies an arbiter
...@@ -488,7 +488,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -488,7 +488,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">condition</replaceable></term> <term><replaceable class="parameter">condition</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression that returns a value of type An expression that returns a value of type
...@@ -522,7 +522,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac ...@@ -522,7 +522,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
<para> <para>
It is often preferable to use unique index inference rather than It is often preferable to use unique index inference rather than
naming a constraint directly using <literal>ON CONFLICT ON naming a constraint directly using <literal>ON CONFLICT ON
CONSTRAINT</literal> <replaceable class="PARAMETER"> CONSTRAINT</literal> <replaceable class="parameter">
constraint_name</replaceable>. Inference will continue to work constraint_name</replaceable>. Inference will continue to work
correctly when the underlying index is replaced by another more correctly when the underlying index is replaced by another more
or less equivalent index in an overlapping way, for example when or less equivalent index in an overlapping way, for example when
...@@ -753,7 +753,7 @@ INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International') ...@@ -753,7 +753,7 @@ INSERT INTO distributors (did, dname) VALUES (10, 'Conrad International')
<para> <para>
Possible limitations of the <replaceable Possible limitations of the <replaceable
class="PARAMETER">query</replaceable> clause are documented under class="parameter">query</replaceable> clause are documented under
<xref linkend="sql-select">. <xref linkend="sql-select">.
</para> </para>
</refsect1> </refsect1>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
LISTEN <replaceable class="PARAMETER">channel</replaceable> LISTEN <replaceable class="parameter">channel</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -31,14 +31,14 @@ LISTEN <replaceable class="PARAMETER">channel</replaceable> ...@@ -31,14 +31,14 @@ LISTEN <replaceable class="PARAMETER">channel</replaceable>
<para> <para>
<command>LISTEN</command> registers the current session as a <command>LISTEN</command> registers the current session as a
listener on the notification channel named <replaceable listener on the notification channel named <replaceable
class="PARAMETER">channel</replaceable>. class="parameter">channel</replaceable>.
If the current session is already registered as a listener for If the current session is already registered as a listener for
this notification channel, nothing is done. this notification channel, nothing is done.
</para> </para>
<para> <para>
Whenever the command <command>NOTIFY <replaceable Whenever the command <command>NOTIFY <replaceable
class="PARAMETER">channel</replaceable></command> is invoked, either class="parameter">channel</replaceable></command> is invoked, either
by this session or another one connected to the same database, all by this session or another one connected to the same database, all
the sessions currently listening on that notification channel are the sessions currently listening on that notification channel are
notified, and each will in turn notify its connected client notified, and each will in turn notify its connected client
...@@ -77,7 +77,7 @@ LISTEN <replaceable class="PARAMETER">channel</replaceable> ...@@ -77,7 +77,7 @@ LISTEN <replaceable class="PARAMETER">channel</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">channel</replaceable></term> <term><replaceable class="parameter">channel</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a notification channel (any identifier). Name of a notification channel (any identifier).
......
...@@ -20,7 +20,7 @@ doc/src/sgml/ref/load.sgml ...@@ -20,7 +20,7 @@ doc/src/sgml/ref/load.sgml
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
LOAD '<replaceable class="PARAMETER">filename</replaceable>' LOAD '<replaceable class="parameter">filename</replaceable>'
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -53,7 +53,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>' ...@@ -53,7 +53,7 @@ LOAD '<replaceable class="PARAMETER">filename</replaceable>'
<para> <para>
Non-superusers can only apply <command>LOAD</> to library files Non-superusers can only apply <command>LOAD</> to library files
located in <filename>$libdir/plugins/</> &mdash; the specified located in <filename>$libdir/plugins/</> &mdash; the specified
<replaceable class="PARAMETER">filename</replaceable> must begin <replaceable class="parameter">filename</replaceable> must begin
with exactly that string. (It is the database administrator's with exactly that string. (It is the database administrator's
responsibility to ensure that only <quote>safe</> libraries responsibility to ensure that only <quote>safe</> libraries
are installed there.) are installed there.)
......
...@@ -21,9 +21,9 @@ PostgreSQL documentation ...@@ -21,9 +21,9 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] [, ...] [ IN <replaceable class="PARAMETER">lockmode</replaceable> MODE ] [ NOWAIT ] LOCK [ TABLE ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ] [, ...] [ IN <replaceable class="parameter">lockmode</replaceable> MODE ] [ NOWAIT ]
<phrase>where <replaceable class="PARAMETER">lockmode</replaceable> is one of:</phrase> <phrase>where <replaceable class="parameter">lockmode</replaceable> is one of:</phrase>
ACCESS SHARE | ROW SHARE | ROW EXCLUSIVE | SHARE UPDATE EXCLUSIVE ACCESS SHARE | ROW SHARE | ROW EXCLUSIVE | SHARE UPDATE EXCLUSIVE
| SHARE | SHARE ROW EXCLUSIVE | EXCLUSIVE | ACCESS EXCLUSIVE | SHARE | SHARE ROW EXCLUSIVE | EXCLUSIVE | ACCESS EXCLUSIVE
...@@ -59,7 +59,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ...@@ -59,7 +59,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ]
committed data, because <literal>SHARE</> lock mode conflicts with committed data, because <literal>SHARE</> lock mode conflicts with
the <literal>ROW EXCLUSIVE</> lock acquired by writers, and your the <literal>ROW EXCLUSIVE</> lock acquired by writers, and your
<command>LOCK TABLE <replaceable <command>LOCK TABLE <replaceable
class="PARAMETER">name</replaceable> IN SHARE MODE</command> class="parameter">name</replaceable> IN SHARE MODE</command>
statement will wait until any concurrent holders of <literal>ROW statement will wait until any concurrent holders of <literal>ROW
EXCLUSIVE</literal> mode locks commit or roll back. Thus, once you EXCLUSIVE</literal> mode locks commit or roll back. Thus, once you
obtain the lock, there are no uncommitted writes outstanding; obtain the lock, there are no uncommitted writes outstanding;
...@@ -107,7 +107,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] ...@@ -107,7 +107,7 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ]
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of an existing table to The name (optionally schema-qualified) of an existing table to
......
...@@ -27,23 +27,23 @@ PostgreSQL documentation ...@@ -27,23 +27,23 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<!-- Note the "direction" bit is also in ref/fetch.sgml --> <!-- Note the "direction" bit is also in ref/fetch.sgml -->
<synopsis> <synopsis>
MOVE [ <replaceable class="PARAMETER">direction</replaceable> [ FROM | IN ] ] <replaceable class="PARAMETER">cursor_name</replaceable> MOVE [ <replaceable class="parameter">direction</replaceable> [ FROM | IN ] ] <replaceable class="parameter">cursor_name</replaceable>
<phrase>where <replaceable class="PARAMETER">direction</replaceable> can be empty or one of:</phrase> <phrase>where <replaceable class="parameter">direction</replaceable> can be empty or one of:</phrase>
NEXT NEXT
PRIOR PRIOR
FIRST FIRST
LAST LAST
ABSOLUTE <replaceable class="PARAMETER">count</replaceable> ABSOLUTE <replaceable class="parameter">count</replaceable>
RELATIVE <replaceable class="PARAMETER">count</replaceable> RELATIVE <replaceable class="parameter">count</replaceable>
<replaceable class="PARAMETER">count</replaceable> <replaceable class="parameter">count</replaceable>
ALL ALL
FORWARD FORWARD
FORWARD <replaceable class="PARAMETER">count</replaceable> FORWARD <replaceable class="parameter">count</replaceable>
FORWARD ALL FORWARD ALL
BACKWARD BACKWARD
BACKWARD <replaceable class="PARAMETER">count</replaceable> BACKWARD <replaceable class="parameter">count</replaceable>
BACKWARD ALL BACKWARD ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable class="PARAMETER">payload</replaceable> ] NOTIFY <replaceable class="parameter">channel</replaceable> [ , <replaceable class="parameter">payload</replaceable> ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -128,7 +128,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla ...@@ -128,7 +128,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">channel</replaceable></term> <term><replaceable class="parameter">channel</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of the notification channel to be signaled (any identifier). Name of the notification channel to be signaled (any identifier).
...@@ -136,7 +136,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla ...@@ -136,7 +136,7 @@ NOTIFY <replaceable class="PARAMETER">channel</replaceable> [ , <replaceable cla
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">payload</replaceable></term> <term><replaceable class="parameter">payload</replaceable></term>
<listitem> <listitem>
<para> <para>
The <quote>payload</> string to be communicated along with the The <quote>payload</> string to be communicated along with the
......
...@@ -287,12 +287,12 @@ ...@@ -287,12 +287,12 @@
<listitem> <listitem>
<para> <para>
Restore only those archive elements that are listed in <replaceable Restore only those archive elements that are listed in <replaceable
class="PARAMETER">list-file</replaceable>, and restore them in the class="parameter">list-file</replaceable>, and restore them in the
order they appear in the file. Note that order they appear in the file. Note that
if filtering switches such as <option>-n</> or <option>-t</> are if filtering switches such as <option>-n</> or <option>-t</> are
used with <option>-L</>, they will further restrict the items restored. used with <option>-L</>, they will further restrict the items restored.
</para> </para>
<para><replaceable class="PARAMETER">list-file</> is normally created by <para><replaceable class="parameter">list-file</> is normally created by
editing the output of a previous <option>-l</> operation. editing the output of a previous <option>-l</> operation.
Lines can be moved or removed, and can also Lines can be moved or removed, and can also
be commented out by placing a semicolon (<literal>;</literal>) at the be commented out by placing a semicolon (<literal>;</literal>) at the
......
...@@ -26,7 +26,7 @@ PostgreSQL documentation ...@@ -26,7 +26,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class="PARAMETER">data_type</replaceable> [, ...] ) ] AS <replaceable class="PARAMETER">statement</replaceable> PREPARE <replaceable class="parameter">name</replaceable> [ ( <replaceable class="parameter">data_type</replaceable> [, ...] ) ] AS <replaceable class="parameter">statement</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -86,7 +86,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class ...@@ -86,7 +86,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
An arbitrary name given to this particular prepared An arbitrary name given to this particular prepared
...@@ -98,7 +98,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class ...@@ -98,7 +98,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">data_type</replaceable></term> <term><replaceable class="parameter">data_type</replaceable></term>
<listitem> <listitem>
<para> <para>
The data type of a parameter to the prepared statement. If the The data type of a parameter to the prepared statement. If the
...@@ -112,7 +112,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class ...@@ -112,7 +112,7 @@ PREPARE <replaceable class="PARAMETER">name</replaceable> [ ( <replaceable class
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">statement</replaceable></term> <term><replaceable class="parameter">statement</replaceable></term>
<listitem> <listitem>
<para> <para>
Any <command>SELECT</>, <command>INSERT</>, <command>UPDATE</>, Any <command>SELECT</>, <command>INSERT</>, <command>UPDATE</>,
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable> PREPARE TRANSACTION <replaceable class="parameter">transaction_id</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -65,7 +65,7 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable> ...@@ -65,7 +65,7 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">transaction_id</replaceable></term> <term><replaceable class="parameter">transaction_id</replaceable></term>
<listitem> <listitem>
<para> <para>
An arbitrary identifier that later identifies this transaction for An arbitrary identifier that later identifies this transaction for
......
...@@ -21,8 +21,8 @@ PostgreSQL documentation ...@@ -21,8 +21,8 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURRENT_USER | SESSION_USER } [, ...] REASSIGN OWNED BY { <replaceable class="parameter">old_role</replaceable> | CURRENT_USER | SESSION_USER } [, ...]
TO { <replaceable class="PARAMETER">new_role</replaceable> | CURRENT_USER | SESSION_USER } TO { <replaceable class="parameter">new_role</replaceable> | CURRENT_USER | SESSION_USER }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -32,8 +32,8 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR ...@@ -32,8 +32,8 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR
<para> <para>
<command>REASSIGN OWNED</command> instructs the system to change <command>REASSIGN OWNED</command> instructs the system to change
the ownership of database objects owned by any of the the ownership of database objects owned by any of the
<replaceable class="PARAMETER">old_roles</replaceable> to <replaceable class="parameter">old_roles</replaceable> to
<replaceable class="PARAMETER">new_role</replaceable>. <replaceable class="parameter">new_role</replaceable>.
</para> </para>
</refsect1> </refsect1>
...@@ -42,19 +42,19 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR ...@@ -42,19 +42,19 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">old_role</replaceable></term> <term><replaceable class="parameter">old_role</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a role. The ownership of all the objects within the The name of a role. The ownership of all the objects within the
current database, and of all shared objects (databases, tablespaces), current database, and of all shared objects (databases, tablespaces),
owned by this role will be reassigned to owned by this role will be reassigned to
<replaceable class="PARAMETER">new_role</replaceable>. <replaceable class="parameter">new_role</replaceable>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_role</replaceable></term> <term><replaceable class="parameter">new_role</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the role that will be made the new owner of the The name of the role that will be made the new owner of the
...@@ -88,7 +88,7 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR ...@@ -88,7 +88,7 @@ REASSIGN OWNED BY { <replaceable class="PARAMETER">old_role</replaceable> | CURR
<para> <para>
The <command>REASSIGN OWNED</command> command does not affect any The <command>REASSIGN OWNED</command> command does not affect any
privileges granted to the <replaceable class="PARAMETER">old_roles</> for privileges granted to the <replaceable class="parameter">old_roles</> for
objects that are not owned by them. Use <command>DROP OWNED</command> to objects that are not owned by them. Use <command>DROP OWNED</command> to
revoke such privileges. revoke such privileges.
</para> </para>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="PARAMETER">name</replaceable> REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="parameter">name</replaceable>
[ WITH [ NO ] DATA ] [ WITH [ NO ] DATA ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -77,7 +77,7 @@ REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="PARAMETER">name</ ...@@ -77,7 +77,7 @@ REFRESH MATERIALIZED VIEW [ CONCURRENTLY ] <replaceable class="PARAMETER">name</
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the materialized view to The name (optionally schema-qualified) of the materialized view to
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replaceable class="PARAMETER">name</replaceable> REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replaceable class="parameter">name</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -139,7 +139,7 @@ REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replacea ...@@ -139,7 +139,7 @@ REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replacea
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the specific index, table, or database to be The name of the specific index, table, or database to be
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
RESET <replaceable class="PARAMETER">configuration_parameter</replaceable> RESET <replaceable class="parameter">configuration_parameter</replaceable>
RESET ALL RESET ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -63,7 +63,7 @@ SET <replaceable class="parameter">configuration_parameter</replaceable> TO DEFA ...@@ -63,7 +63,7 @@ SET <replaceable class="parameter">configuration_parameter</replaceable> TO DEFA
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">configuration_parameter</replaceable></term> <term><replaceable class="parameter">configuration_parameter</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a settable run-time parameter. Available parameters are Name of a settable run-time parameter. Available parameters are
......
...@@ -24,89 +24,89 @@ PostgreSQL documentation ...@@ -24,89 +24,89 @@ PostgreSQL documentation
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER } { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON { [ TABLE ] <replaceable class="PARAMETER">table_name</replaceable> [, ...] ON { [ TABLE ] <replaceable class="parameter">table_name</replaceable> [, ...]
| ALL TABLES IN SCHEMA <replaceable>schema_name</replaceable> [, ...] } | ALL TABLES IN SCHEMA <replaceable>schema_name</replaceable> [, ...] }
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { SELECT | INSERT | UPDATE | REFERENCES } ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) { { SELECT | INSERT | UPDATE | REFERENCES } ( <replaceable class="parameter">column_name</replaceable> [, ...] )
[, ...] | ALL [ PRIVILEGES ] ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) } [, ...] | ALL [ PRIVILEGES ] ( <replaceable class="parameter">column_name</replaceable> [, ...] ) }
ON [ TABLE ] <replaceable class="PARAMETER">table_name</replaceable> [, ...] ON [ TABLE ] <replaceable class="parameter">table_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { USAGE | SELECT | UPDATE } { { USAGE | SELECT | UPDATE }
[, ...] | ALL [ PRIVILEGES ] } [, ...] | ALL [ PRIVILEGES ] }
ON { SEQUENCE <replaceable class="PARAMETER">sequence_name</replaceable> [, ...] ON { SEQUENCE <replaceable class="parameter">sequence_name</replaceable> [, ...]
| ALL SEQUENCES IN SCHEMA <replaceable>schema_name</replaceable> [, ...] } | ALL SEQUENCES IN SCHEMA <replaceable>schema_name</replaceable> [, ...] }
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] } { { CREATE | CONNECT | TEMPORARY | TEMP } [, ...] | ALL [ PRIVILEGES ] }
ON DATABASE <replaceable>database_name</replaceable> [, ...] ON DATABASE <replaceable>database_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON DOMAIN <replaceable>domain_name</replaceable> [, ...] ON DOMAIN <replaceable>domain_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON FOREIGN DATA WRAPPER <replaceable>fdw_name</replaceable> [, ...] ON FOREIGN DATA WRAPPER <replaceable>fdw_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON FOREIGN SERVER <replaceable>server_name</replaceable> [, ...] ON FOREIGN SERVER <replaceable>server_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ EXECUTE | ALL [ PRIVILEGES ] } { EXECUTE | ALL [ PRIVILEGES ] }
ON { FUNCTION <replaceable>function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">arg_name</replaceable> ] <replaceable class="parameter">arg_type</replaceable> [, ...] ] ) ] [, ...] ON { FUNCTION <replaceable>function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">arg_name</replaceable> ] <replaceable class="parameter">arg_type</replaceable> [, ...] ] ) ] [, ...]
| ALL FUNCTIONS IN SCHEMA <replaceable>schema_name</replaceable> [, ...] } | ALL FUNCTIONS IN SCHEMA <replaceable>schema_name</replaceable> [, ...] }
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON LANGUAGE <replaceable>lang_name</replaceable> [, ...] ON LANGUAGE <replaceable>lang_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { SELECT | UPDATE } [, ...] | ALL [ PRIVILEGES ] } { { SELECT | UPDATE } [, ...] | ALL [ PRIVILEGES ] }
ON LARGE OBJECT <replaceable class="PARAMETER">loid</replaceable> [, ...] ON LARGE OBJECT <replaceable class="parameter">loid</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ { CREATE | USAGE } [, ...] | ALL [ PRIVILEGES ] } { { CREATE | USAGE } [, ...] | ALL [ PRIVILEGES ] }
ON SCHEMA <replaceable>schema_name</replaceable> [, ...] ON SCHEMA <replaceable>schema_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ CREATE | ALL [ PRIVILEGES ] } { CREATE | ALL [ PRIVILEGES ] }
ON TABLESPACE <replaceable>tablespace_name</replaceable> [, ...] ON TABLESPACE <replaceable>tablespace_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ GRANT OPTION FOR ] REVOKE [ GRANT OPTION FOR ]
{ USAGE | ALL [ PRIVILEGES ] } { USAGE | ALL [ PRIVILEGES ] }
ON TYPE <replaceable>type_name</replaceable> [, ...] ON TYPE <replaceable>type_name</replaceable> [, ...]
FROM { [ GROUP ] <replaceable class="PARAMETER">role_name</replaceable> | PUBLIC } [, ...] FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
REVOKE [ ADMIN OPTION FOR ] REVOKE [ ADMIN OPTION FOR ]
<replaceable class="PARAMETER">role_name</replaceable> [, ...] FROM <replaceable class="PARAMETER">role_name</replaceable> [, ...] <replaceable class="parameter">role_name</replaceable> [, ...] FROM <replaceable class="parameter">role_name</replaceable> [, ...]
[ CASCADE | RESTRICT ] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
ROLLBACK PREPARED <replaceable class="PARAMETER">transaction_id</replaceable> ROLLBACK PREPARED <replaceable class="parameter">transaction_id</replaceable>
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -39,7 +39,7 @@ ROLLBACK PREPARED <replaceable class="PARAMETER">transaction_id</replaceable> ...@@ -39,7 +39,7 @@ ROLLBACK PREPARED <replaceable class="PARAMETER">transaction_id</replaceable>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">transaction_id</replaceable></term> <term><replaceable class="parameter">transaction_id</replaceable></term>
<listitem> <listitem>
<para> <para>
The transaction identifier of the transaction that is to be The transaction identifier of the transaction that is to be
......
...@@ -50,7 +50,7 @@ ROLLBACK [ WORK | TRANSACTION ] TO [ SAVEPOINT ] <replaceable>savepoint_name</re ...@@ -50,7 +50,7 @@ ROLLBACK [ WORK | TRANSACTION ] TO [ SAVEPOINT ] <replaceable>savepoint_name</re
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">savepoint_name</></term> <term><replaceable class="parameter">savepoint_name</></term>
<listitem> <listitem>
<para> <para>
The savepoint to roll back to. The savepoint to roll back to.
......
...@@ -21,28 +21,28 @@ PostgreSQL documentation ...@@ -21,28 +21,28 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SECURITY LABEL [ FOR <replaceable class="PARAMETER">provider</replaceable> ] ON SECURITY LABEL [ FOR <replaceable class="parameter">provider</replaceable> ] ON
{ {
TABLE <replaceable class="PARAMETER">object_name</replaceable> | TABLE <replaceable class="parameter">object_name</replaceable> |
COLUMN <replaceable class="PARAMETER">table_name</replaceable>.<replaceable class="PARAMETER">column_name</replaceable> | COLUMN <replaceable class="parameter">table_name</replaceable>.<replaceable class="parameter">column_name</replaceable> |
AGGREGATE <replaceable class="PARAMETER">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) | AGGREGATE <replaceable class="parameter">aggregate_name</replaceable> ( <replaceable>aggregate_signature</replaceable> ) |
DATABASE <replaceable class="PARAMETER">object_name</replaceable> | DATABASE <replaceable class="parameter">object_name</replaceable> |
DOMAIN <replaceable class="PARAMETER">object_name</replaceable> | DOMAIN <replaceable class="parameter">object_name</replaceable> |
EVENT TRIGGER <replaceable class="PARAMETER">object_name</replaceable> | EVENT TRIGGER <replaceable class="parameter">object_name</replaceable> |
FOREIGN TABLE <replaceable class="PARAMETER">object_name</replaceable> FOREIGN TABLE <replaceable class="parameter">object_name</replaceable>
FUNCTION <replaceable class="PARAMETER">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] | FUNCTION <replaceable class="parameter">function_name</replaceable> [ ( [ [ <replaceable class="parameter">argmode</replaceable> ] [ <replaceable class="parameter">argname</replaceable> ] <replaceable class="parameter">argtype</replaceable> [, ...] ] ) ] |
LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> | LARGE OBJECT <replaceable class="parameter">large_object_oid</replaceable> |
MATERIALIZED VIEW <replaceable class="PARAMETER">object_name</replaceable> | MATERIALIZED VIEW <replaceable class="parameter">object_name</replaceable> |
[ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">object_name</replaceable> | [ PROCEDURAL ] LANGUAGE <replaceable class="parameter">object_name</replaceable> |
PUBLICATION <replaceable class="PARAMETER">object_name</replaceable> | PUBLICATION <replaceable class="parameter">object_name</replaceable> |
ROLE <replaceable class="PARAMETER">object_name</replaceable> | ROLE <replaceable class="parameter">object_name</replaceable> |
SCHEMA <replaceable class="PARAMETER">object_name</replaceable> | SCHEMA <replaceable class="parameter">object_name</replaceable> |
SEQUENCE <replaceable class="PARAMETER">object_name</replaceable> | SEQUENCE <replaceable class="parameter">object_name</replaceable> |
SUBSCRIPTION <replaceable class="PARAMETER">object_name</replaceable> | SUBSCRIPTION <replaceable class="parameter">object_name</replaceable> |
TABLESPACE <replaceable class="PARAMETER">object_name</replaceable> | TABLESPACE <replaceable class="parameter">object_name</replaceable> |
TYPE <replaceable class="PARAMETER">object_name</replaceable> | TYPE <replaceable class="parameter">object_name</replaceable> |
VIEW <replaceable class="PARAMETER">object_name</replaceable> VIEW <replaceable class="parameter">object_name</replaceable>
} IS '<replaceable class="PARAMETER">label</replaceable>' } IS '<replaceable class="parameter">label</replaceable>'
<phrase>where <replaceable>aggregate_signature</replaceable> is:</phrase> <phrase>where <replaceable>aggregate_signature</replaceable> is:</phrase>
......
...@@ -76,7 +76,7 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="parameter">expression</replac ...@@ -76,7 +76,7 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="parameter">expression</replac
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">new_table</replaceable></term> <term><replaceable class="parameter">new_table</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table to be created. The name (optionally schema-qualified) of the table to be created.
......
...@@ -21,8 +21,8 @@ PostgreSQL documentation ...@@ -21,8 +21,8 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SET [ SESSION | LOCAL ] <replaceable class="PARAMETER">configuration_parameter</replaceable> { TO | = } { <replaceable class="PARAMETER">value</replaceable> | '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT } SET [ SESSION | LOCAL ] <replaceable class="parameter">configuration_parameter</replaceable> { TO | = } { <replaceable class="parameter">value</replaceable> | '<replaceable class="parameter">value</replaceable>' | DEFAULT }
SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</replaceable> | LOCAL | DEFAULT } SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="parameter">timezone</replaceable> | LOCAL | DEFAULT }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -118,7 +118,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep ...@@ -118,7 +118,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">configuration_parameter</replaceable></term> <term><replaceable class="parameter">configuration_parameter</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a settable run-time parameter. Available parameters are Name of a settable run-time parameter. Available parameters are
...@@ -128,7 +128,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep ...@@ -128,7 +128,7 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">value</replaceable></term> <term><replaceable class="parameter">value</replaceable></term>
<listitem> <listitem>
<para> <para>
New value of parameter. Values can be specified as string New value of parameter. Values can be specified as string
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
SHOW <replaceable class="PARAMETER">name</replaceable> SHOW <replaceable class="parameter">name</replaceable>
SHOW ALL SHOW ALL
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -47,7 +47,7 @@ SHOW ALL ...@@ -47,7 +47,7 @@ SHOW ALL
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a run-time parameter. Available parameters are The name of a run-time parameter. Available parameters are
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ] [, ... ] TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="parameter">name</replaceable> [ * ] [, ... ]
[ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ] [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -44,7 +44,7 @@ TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ ...@@ -44,7 +44,7 @@ TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">name</replaceable></term> <term><replaceable class="parameter">name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of a table to truncate. The name (optionally schema-qualified) of a table to truncate.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * } UNLISTEN { <replaceable class="parameter">channel</replaceable> | * }
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -34,7 +34,7 @@ UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * } ...@@ -34,7 +34,7 @@ UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * }
<command>UNLISTEN</command> cancels any existing registration of <command>UNLISTEN</command> cancels any existing registration of
the current <productname>PostgreSQL</productname> session as a the current <productname>PostgreSQL</productname> session as a
listener on the notification channel named <replaceable listener on the notification channel named <replaceable
class="PARAMETER">channel</replaceable>. The special wildcard class="parameter">channel</replaceable>. The special wildcard
<literal>*</literal> cancels all listener registrations for the <literal>*</literal> cancels all listener registrations for the
current session. current session.
</para> </para>
...@@ -52,7 +52,7 @@ UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * } ...@@ -52,7 +52,7 @@ UNLISTEN { <replaceable class="PARAMETER">channel</replaceable> | * }
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">channel</replaceable></term> <term><replaceable class="parameter">channel</replaceable></term>
<listitem> <listitem>
<para> <para>
Name of a notification channel (any identifier). Name of a notification channel (any identifier).
......
...@@ -22,13 +22,13 @@ PostgreSQL documentation ...@@ -22,13 +22,13 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
[ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ] [ WITH [ RECURSIVE ] <replaceable class="parameter">with_query</replaceable> [, ...] ]
UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ [ AS ] <replaceable class="parameter">alias</replaceable> ] UPDATE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [ [ AS ] <replaceable class="parameter">alias</replaceable> ]
SET { <replaceable class="PARAMETER">column_name</replaceable> = { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } | SET { <replaceable class="parameter">column_name</replaceable> = { <replaceable class="parameter">expression</replaceable> | DEFAULT } |
( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="PARAMETER">expression</replaceable> | DEFAULT } [, ...] ) | ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) |
( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) = ( <replaceable class="PARAMETER">sub-SELECT</replaceable> ) ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = ( <replaceable class="parameter">sub-SELECT</replaceable> )
} [, ...] } [, ...]
[ FROM <replaceable class="PARAMETER">from_list</replaceable> ] [ FROM <replaceable class="parameter">from_list</replaceable> ]
[ WHERE <replaceable class="PARAMETER">condition</replaceable> | WHERE CURRENT OF <replaceable class="PARAMETER">cursor_name</replaceable> ] [ WHERE <replaceable class="parameter">condition</replaceable> | WHERE CURRENT OF <replaceable class="parameter">cursor_name</replaceable> ]
[ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ] [ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -88,7 +88,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -88,7 +88,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of the table to update. The name (optionally schema-qualified) of the table to update.
...@@ -115,11 +115,11 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -115,11 +115,11 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a column in the table named by <replaceable The name of a column in the table named by <replaceable
class="PARAMETER">table_name</replaceable>. class="parameter">table_name</replaceable>.
The column name can be qualified with a subfield name or array The column name can be qualified with a subfield name or array
subscript, if needed. Do not include the table's name in the subscript, if needed. Do not include the table's name in the
specification of a target column &mdash; for example, specification of a target column &mdash; for example,
...@@ -129,7 +129,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -129,7 +129,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">expression</replaceable></term> <term><replaceable class="parameter">expression</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression to assign to the column. The expression can use the An expression to assign to the column. The expression can use the
...@@ -149,7 +149,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -149,7 +149,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">sub-SELECT</replaceable></term> <term><replaceable class="parameter">sub-SELECT</replaceable></term>
<listitem> <listitem>
<para> <para>
A <literal>SELECT</> sub-query that produces as many output columns A <literal>SELECT</> sub-query that produces as many output columns
...@@ -164,7 +164,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -164,7 +164,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">from_list</replaceable></term> <term><replaceable class="parameter">from_list</replaceable></term>
<listitem> <listitem>
<para> <para>
A list of table expressions, allowing columns from other tables A list of table expressions, allowing columns from other tables
...@@ -180,7 +180,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -180,7 +180,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">condition</replaceable></term> <term><replaceable class="parameter">condition</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression that returns a value of type <type>boolean</type>. An expression that returns a value of type <type>boolean</type>.
...@@ -191,7 +191,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -191,7 +191,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">cursor_name</replaceable></term> <term><replaceable class="parameter">cursor_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of the cursor to use in a <literal>WHERE CURRENT OF</> The name of the cursor to use in a <literal>WHERE CURRENT OF</>
...@@ -208,12 +208,12 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -208,12 +208,12 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_expression</replaceable></term> <term><replaceable class="parameter">output_expression</replaceable></term>
<listitem> <listitem>
<para> <para>
An expression to be computed and returned by the <command>UPDATE</> An expression to be computed and returned by the <command>UPDATE</>
command after each row is updated. The expression can use any command after each row is updated. The expression can use any
column names of the table named by <replaceable class="PARAMETER">table_name</replaceable> column names of the table named by <replaceable class="parameter">table_name</replaceable>
or table(s) listed in <literal>FROM</>. or table(s) listed in <literal>FROM</>.
Write <literal>*</> to return all columns. Write <literal>*</> to return all columns.
</para> </para>
...@@ -221,7 +221,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [ ...@@ -221,7 +221,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">output_name</replaceable></term> <term><replaceable class="parameter">output_name</replaceable></term>
<listitem> <listitem>
<para> <para>
A name to use for a returned column. A name to use for a returned column.
......
...@@ -21,10 +21,10 @@ PostgreSQL documentation ...@@ -21,10 +21,10 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
VACUUM [ ( <replaceable class="PARAMETER">option</replaceable> [, ...] ) ] [ <replaceable class="PARAMETER">table_and_columns</replaceable> [, ...] ] VACUUM [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <replaceable class="parameter">table_and_columns</replaceable> [, ...] ]
VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMETER">table_and_columns</replaceable> [, ...] ] VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="parameter">table_and_columns</replaceable> [, ...] ]
<phrase>where <replaceable class="PARAMETER">option</replaceable> can be one of:</phrase> <phrase>where <replaceable class="parameter">option</replaceable> can be one of:</phrase>
FULL FULL
FREEZE FREEZE
...@@ -32,9 +32,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET ...@@ -32,9 +32,9 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET
ANALYZE ANALYZE
DISABLE_PAGE_SKIPPING DISABLE_PAGE_SKIPPING
<phrase>and <replaceable class="PARAMETER">table_and_columns</replaceable> is:</phrase> <phrase>and <replaceable class="parameter">table_and_columns</replaceable> is:</phrase>
<replaceable class="PARAMETER">table_name</replaceable> [ ( <replaceable class="PARAMETER">column_name</replaceable> [, ...] ) ] <replaceable class="parameter">table_name</replaceable> [ ( <replaceable class="parameter">column_name</replaceable> [, ...] ) ]
</synopsis> </synopsis>
</refsynopsisdiv> </refsynopsisdiv>
...@@ -51,7 +51,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET ...@@ -51,7 +51,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET
</para> </para>
<para> <para>
Without a <replaceable class="PARAMETER">table_and_columns</replaceable> Without a <replaceable class="parameter">table_and_columns</replaceable>
list, <command>VACUUM</command> processes every table and materialized view list, <command>VACUUM</command> processes every table and materialized view
in the current database that the current user has permission to vacuum. in the current database that the current user has permission to vacuum.
With a list, <command>VACUUM</command> processes only those table(s). With a list, <command>VACUUM</command> processes only those table(s).
...@@ -161,7 +161,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET ...@@ -161,7 +161,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">table_name</replaceable></term> <term><replaceable class="parameter">table_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name (optionally schema-qualified) of a specific table or The name (optionally schema-qualified) of a specific table or
...@@ -172,7 +172,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET ...@@ -172,7 +172,7 @@ VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ <replaceable class="PARAMET
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">column_name</replaceable></term> <term><replaceable class="parameter">column_name</replaceable></term>
<listitem> <listitem>
<para> <para>
The name of a specific column to analyze. Defaults to all columns. The name of a specific column to analyze. Defaults to all columns.
......
...@@ -21,7 +21,7 @@ PostgreSQL documentation ...@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv> <refsynopsisdiv>
<synopsis> <synopsis>
VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, ...] VALUES ( <replaceable class="parameter">expression</replaceable> [, ...] ) [, ...]
[ ORDER BY <replaceable class="parameter">sort_expression</replaceable> [ ASC | DESC | USING <replaceable class="parameter">operator</replaceable> ] [, ...] ] [ ORDER BY <replaceable class="parameter">sort_expression</replaceable> [ ASC | DESC | USING <replaceable class="parameter">operator</replaceable> ] [, ...] ]
[ LIMIT { <replaceable class="parameter">count</replaceable> | ALL } ] [ LIMIT { <replaceable class="parameter">count</replaceable> | ALL } ]
[ OFFSET <replaceable class="parameter">start</replaceable> [ ROW | ROWS ] ] [ OFFSET <replaceable class="parameter">start</replaceable> [ ROW | ROWS ] ]
...@@ -63,13 +63,13 @@ VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, .. ...@@ -63,13 +63,13 @@ VALUES ( <replaceable class="PARAMETER">expression</replaceable> [, ...] ) [, ..
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><replaceable class="PARAMETER">expression</replaceable></term> <term><replaceable class="parameter">expression</replaceable></term>
<listitem> <listitem>
<para> <para>
A constant or expression to compute and insert at the indicated place A constant or expression to compute and insert at the indicated place
in the resulting table (set of rows). In a <command>VALUES</> list in the resulting table (set of rows). In a <command>VALUES</> list
appearing at the top level of an <command>INSERT</>, an appearing at the top level of an <command>INSERT</>, an
<replaceable class="PARAMETER">expression</replaceable> can be replaced <replaceable class="parameter">expression</replaceable> can be replaced
by <literal>DEFAULT</literal> to indicate that the destination column's by <literal>DEFAULT</literal> to indicate that the destination column's
default value should be inserted. <literal>DEFAULT</literal> cannot default value should be inserted. <literal>DEFAULT</literal> cannot
be used when <command>VALUES</> appears in other contexts. be used when <command>VALUES</> appears in other contexts.
......
...@@ -701,7 +701,7 @@ LIMIT 10; ...@@ -701,7 +701,7 @@ LIMIT 10;
</indexterm> </indexterm>
<synopsis> <synopsis>
to_tsvector(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>text</>) returns <type>tsvector</> to_tsvector(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>text</>) returns <type>tsvector</>
</synopsis> </synopsis>
<para> <para>
...@@ -811,7 +811,7 @@ UPDATE tt SET ti = ...@@ -811,7 +811,7 @@ UPDATE tt SET ti =
</indexterm> </indexterm>
<synopsis> <synopsis>
to_tsquery(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">querytext</replaceable> <type>text</>) returns <type>tsquery</> to_tsquery(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">querytext</replaceable> <type>text</>) returns <type>tsquery</>
</synopsis> </synopsis>
<para> <para>
...@@ -884,7 +884,7 @@ SELECT to_tsquery('''supernovae stars'' &amp; !crab'); ...@@ -884,7 +884,7 @@ SELECT to_tsquery('''supernovae stars'' &amp; !crab');
</indexterm> </indexterm>
<synopsis> <synopsis>
plainto_tsquery(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">querytext</replaceable> <type>text</>) returns <type>tsquery</> plainto_tsquery(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">querytext</replaceable> <type>text</>) returns <type>tsquery</>
</synopsis> </synopsis>
<para> <para>
...@@ -924,7 +924,7 @@ SELECT plainto_tsquery('english', 'The Fat &amp; Rats:C'); ...@@ -924,7 +924,7 @@ SELECT plainto_tsquery('english', 'The Fat &amp; Rats:C');
</indexterm> </indexterm>
<synopsis> <synopsis>
phraseto_tsquery(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">querytext</replaceable> <type>text</>) returns <type>tsquery</> phraseto_tsquery(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">querytext</replaceable> <type>text</>) returns <type>tsquery</>
</synopsis> </synopsis>
<para> <para>
...@@ -994,7 +994,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C'); ...@@ -994,7 +994,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C');
<primary>ts_rank</primary> <primary>ts_rank</primary>
</indexterm> </indexterm>
<literal>ts_rank(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal> <literal>ts_rank(<optional> <replaceable class="parameter">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1011,7 +1011,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C'); ...@@ -1011,7 +1011,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C');
<primary>ts_rank_cd</primary> <primary>ts_rank_cd</primary>
</indexterm> </indexterm>
<literal>ts_rank_cd(<optional> <replaceable class="PARAMETER">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal> <literal>ts_rank_cd(<optional> <replaceable class="parameter">weights</replaceable> <type>float4[]</>, </optional> <replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">normalization</replaceable> <type>integer</> </optional>) returns <type>float4</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1043,7 +1043,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C'); ...@@ -1043,7 +1043,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C');
<para> <para>
For both these functions, For both these functions,
the optional <replaceable class="PARAMETER">weights</replaceable> the optional <replaceable class="parameter">weights</replaceable>
argument offers the ability to weigh word instances more or less argument offers the ability to weigh word instances more or less
heavily depending on how they are labeled. The weight arrays specify heavily depending on how they are labeled. The weight arrays specify
how heavily to weigh each category of word, in the order: how heavily to weigh each category of word, in the order:
...@@ -1052,7 +1052,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C'); ...@@ -1052,7 +1052,7 @@ SELECT phraseto_tsquery('english', 'The Fat &amp; Rats:C');
{D-weight, C-weight, B-weight, A-weight} {D-weight, C-weight, B-weight, A-weight}
</synopsis> </synopsis>
If no <replaceable class="PARAMETER">weights</replaceable> are provided, If no <replaceable class="parameter">weights</replaceable> are provided,
then these defaults are used: then these defaults are used:
<programlisting> <programlisting>
...@@ -1199,7 +1199,7 @@ LIMIT 10; ...@@ -1199,7 +1199,7 @@ LIMIT 10;
</indexterm> </indexterm>
<synopsis> <synopsis>
ts_headline(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>text</>, <replaceable class="PARAMETER">query</replaceable> <type>tsquery</> <optional>, <replaceable class="PARAMETER">options</replaceable> <type>text</> </optional>) returns <type>text</> ts_headline(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>text</>, <replaceable class="parameter">query</replaceable> <type>tsquery</> <optional>, <replaceable class="parameter">options</replaceable> <type>text</> </optional>) returns <type>text</>
</synopsis> </synopsis>
<para> <para>
...@@ -1388,7 +1388,7 @@ query.', ...@@ -1388,7 +1388,7 @@ query.',
<primary>setweight</primary> <primary>setweight</primary>
</indexterm> </indexterm>
<literal>setweight(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>, <replaceable class="PARAMETER">weight</replaceable> <type>"char"</>) returns <type>tsvector</></literal> <literal>setweight(<replaceable class="parameter">vector</replaceable> <type>tsvector</>, <replaceable class="parameter">weight</replaceable> <type>"char"</>) returns <type>tsvector</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1416,7 +1416,7 @@ query.', ...@@ -1416,7 +1416,7 @@ query.',
<primary>length(tsvector)</primary> <primary>length(tsvector)</primary>
</indexterm> </indexterm>
<literal>length(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>integer</></literal> <literal>length(<replaceable class="parameter">vector</replaceable> <type>tsvector</>) returns <type>integer</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1433,7 +1433,7 @@ query.', ...@@ -1433,7 +1433,7 @@ query.',
<primary>strip</primary> <primary>strip</primary>
</indexterm> </indexterm>
<literal>strip(<replaceable class="PARAMETER">vector</replaceable> <type>tsvector</>) returns <type>tsvector</></literal> <literal>strip(<replaceable class="parameter">vector</replaceable> <type>tsvector</>) returns <type>tsvector</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1546,7 +1546,7 @@ SELECT to_tsquery('fat') &lt;-&gt; to_tsquery('cat | rat'); ...@@ -1546,7 +1546,7 @@ SELECT to_tsquery('fat') &lt;-&gt; to_tsquery('cat | rat');
<primary>tsquery_phrase</primary> <primary>tsquery_phrase</primary>
</indexterm> </indexterm>
<literal>tsquery_phrase(<replaceable class="PARAMETER">query1</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">query2</replaceable> <type>tsquery</> [, <replaceable class="PARAMETER">distance</replaceable> <type>integer</> ]) returns <type>tsquery</></literal> <literal>tsquery_phrase(<replaceable class="parameter">query1</replaceable> <type>tsquery</>, <replaceable class="parameter">query2</replaceable> <type>tsquery</> [, <replaceable class="parameter">distance</replaceable> <type>integer</> ]) returns <type>tsquery</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1575,7 +1575,7 @@ SELECT tsquery_phrase(to_tsquery('fat'), to_tsquery('cat'), 10); ...@@ -1575,7 +1575,7 @@ SELECT tsquery_phrase(to_tsquery('fat'), to_tsquery('cat'), 10);
<primary>numnode</primary> <primary>numnode</primary>
</indexterm> </indexterm>
<literal>numnode(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>integer</></literal> <literal>numnode(<replaceable class="parameter">query</replaceable> <type>tsquery</>) returns <type>integer</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1609,7 +1609,7 @@ SELECT numnode('foo &amp; bar'::tsquery); ...@@ -1609,7 +1609,7 @@ SELECT numnode('foo &amp; bar'::tsquery);
<primary>querytree</primary> <primary>querytree</primary>
</indexterm> </indexterm>
<literal>querytree(<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>) returns <type>text</></literal> <literal>querytree(<replaceable class="parameter">query</replaceable> <type>tsquery</>) returns <type>text</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1662,16 +1662,16 @@ SELECT querytree(to_tsquery('!defined')); ...@@ -1662,16 +1662,16 @@ SELECT querytree(to_tsquery('!defined'));
<varlistentry> <varlistentry>
<term> <term>
<literal>ts_rewrite (<replaceable class="PARAMETER">query</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">target</replaceable> <type>tsquery</>, <replaceable class="PARAMETER">substitute</replaceable> <type>tsquery</>) returns <type>tsquery</></literal> <literal>ts_rewrite (<replaceable class="parameter">query</replaceable> <type>tsquery</>, <replaceable class="parameter">target</replaceable> <type>tsquery</>, <replaceable class="parameter">substitute</replaceable> <type>tsquery</>) returns <type>tsquery</></literal>
</term> </term>
<listitem> <listitem>
<para> <para>
This form of <function>ts_rewrite</> simply applies a single This form of <function>ts_rewrite</> simply applies a single
rewrite rule: <replaceable class="PARAMETER">target</replaceable> rewrite rule: <replaceable class="parameter">target</replaceable>
is replaced by <replaceable class="PARAMETER">substitute</replaceable> is replaced by <replaceable class="parameter">substitute</replaceable>
wherever it appears in <replaceable wherever it appears in <replaceable
class="PARAMETER">query</replaceable>. For example: class="parameter">query</replaceable>. For example:
<screen> <screen>
SELECT ts_rewrite('a &amp; b'::tsquery, 'a'::tsquery, 'c'::tsquery); SELECT ts_rewrite('a &amp; b'::tsquery, 'a'::tsquery, 'c'::tsquery);
...@@ -1686,7 +1686,7 @@ SELECT ts_rewrite('a &amp; b'::tsquery, 'a'::tsquery, 'c'::tsquery); ...@@ -1686,7 +1686,7 @@ SELECT ts_rewrite('a &amp; b'::tsquery, 'a'::tsquery, 'c'::tsquery);
<varlistentry> <varlistentry>
<term> <term>
<literal>ts_rewrite (<replaceable class="PARAMETER">query</> <type>tsquery</>, <replaceable class="PARAMETER">select</> <type>text</>) returns <type>tsquery</></literal> <literal>ts_rewrite (<replaceable class="parameter">query</> <type>tsquery</>, <replaceable class="parameter">select</> <type>text</>) returns <type>tsquery</></literal>
</term> </term>
<listitem> <listitem>
...@@ -1785,8 +1785,8 @@ SELECT ts_rewrite('a &amp; b'::tsquery, ...@@ -1785,8 +1785,8 @@ SELECT ts_rewrite('a &amp; b'::tsquery,
</para> </para>
<synopsis> <synopsis>
tsvector_update_trigger(<replaceable class="PARAMETER">tsvector_column_name</replaceable>, <replaceable class="PARAMETER">config_name</replaceable>, <replaceable class="PARAMETER">text_column_name</replaceable> <optional>, ... </optional>) tsvector_update_trigger(<replaceable class="parameter">tsvector_column_name</replaceable>, <replaceable class="parameter">config_name</replaceable>, <replaceable class="parameter">text_column_name</replaceable> <optional>, ... </optional>)
tsvector_update_trigger_column(<replaceable class="PARAMETER">tsvector_column_name</replaceable>, <replaceable class="PARAMETER">config_column_name</replaceable>, <replaceable class="PARAMETER">text_column_name</replaceable> <optional>, ... </optional>) tsvector_update_trigger_column(<replaceable class="parameter">tsvector_column_name</replaceable>, <replaceable class="parameter">config_column_name</replaceable>, <replaceable class="parameter">text_column_name</replaceable> <optional>, ... </optional>)
</synopsis> </synopsis>
<para> <para>
...@@ -1886,9 +1886,9 @@ CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE ...@@ -1886,9 +1886,9 @@ CREATE TRIGGER tsvectorupdate BEFORE INSERT OR UPDATE
</para> </para>
<synopsis> <synopsis>
ts_stat(<replaceable class="PARAMETER">sqlquery</replaceable> <type>text</>, <optional> <replaceable class="PARAMETER">weights</replaceable> <type>text</>, </optional> ts_stat(<replaceable class="parameter">sqlquery</replaceable> <type>text</>, <optional> <replaceable class="parameter">weights</replaceable> <type>text</>, </optional>
OUT <replaceable class="PARAMETER">word</replaceable> <type>text</>, OUT <replaceable class="PARAMETER">ndoc</replaceable> <type>integer</>, OUT <replaceable class="parameter">word</replaceable> <type>text</>, OUT <replaceable class="parameter">ndoc</replaceable> <type>integer</>,
OUT <replaceable class="PARAMETER">nentry</replaceable> <type>integer</>) returns <type>setof record</> OUT <replaceable class="parameter">nentry</replaceable> <type>integer</>) returns <type>setof record</>
</synopsis> </synopsis>
<para> <para>
...@@ -3177,22 +3177,22 @@ SHOW default_text_search_config; ...@@ -3177,22 +3177,22 @@ SHOW default_text_search_config;
</indexterm> </indexterm>
<synopsis> <synopsis>
ts_debug(<optional> <replaceable class="PARAMETER">config</replaceable> <type>regconfig</>, </optional> <replaceable class="PARAMETER">document</replaceable> <type>text</>, ts_debug(<optional> <replaceable class="parameter">config</replaceable> <type>regconfig</>, </optional> <replaceable class="parameter">document</replaceable> <type>text</>,
OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="parameter">alias</> <type>text</>,
OUT <replaceable class="PARAMETER">description</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>,
OUT <replaceable class="PARAMETER">token</> <type>text</>, OUT <replaceable class="parameter">token</> <type>text</>,
OUT <replaceable class="PARAMETER">dictionaries</> <type>regdictionary[]</>, OUT <replaceable class="parameter">dictionaries</> <type>regdictionary[]</>,
OUT <replaceable class="PARAMETER">dictionary</> <type>regdictionary</>, OUT <replaceable class="parameter">dictionary</> <type>regdictionary</>,
OUT <replaceable class="PARAMETER">lexemes</> <type>text[]</>) OUT <replaceable class="parameter">lexemes</> <type>text[]</>)
returns setof record returns setof record
</synopsis> </synopsis>
<para> <para>
<function>ts_debug</> displays information about every token of <function>ts_debug</> displays information about every token of
<replaceable class="PARAMETER">document</replaceable> as produced by the <replaceable class="parameter">document</replaceable> as produced by the
parser and processed by the configured dictionaries. It uses the parser and processed by the configured dictionaries. It uses the
configuration specified by <replaceable configuration specified by <replaceable
class="PARAMETER">config</replaceable>, class="parameter">config</replaceable>,
or <varname>default_text_search_config</varname> if that argument is or <varname>default_text_search_config</varname> if that argument is
omitted. omitted.
</para> </para>
...@@ -3360,10 +3360,10 @@ FROM ts_debug('public.english','The Brightest supernovaes'); ...@@ -3360,10 +3360,10 @@ FROM ts_debug('public.english','The Brightest supernovaes');
</indexterm> </indexterm>
<synopsis> <synopsis>
ts_parse(<replaceable class="PARAMETER">parser_name</replaceable> <type>text</>, <replaceable class="PARAMETER">document</replaceable> <type>text</>, ts_parse(<replaceable class="parameter">parser_name</replaceable> <type>text</>, <replaceable class="parameter">document</replaceable> <type>text</>,
OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">token</> <type>text</>) returns <type>setof record</> OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">token</> <type>text</>) returns <type>setof record</>
ts_parse(<replaceable class="PARAMETER">parser_oid</replaceable> <type>oid</>, <replaceable class="PARAMETER">document</replaceable> <type>text</>, ts_parse(<replaceable class="parameter">parser_oid</replaceable> <type>oid</>, <replaceable class="parameter">document</replaceable> <type>text</>,
OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, OUT <replaceable class="PARAMETER">token</> <type>text</>) returns <type>setof record</> OUT <replaceable class="parameter">tokid</> <type>integer</>, OUT <replaceable class="parameter">token</> <type>text</>) returns <type>setof record</>
</synopsis> </synopsis>
<para> <para>
...@@ -3391,10 +3391,10 @@ SELECT * FROM ts_parse('default', '123 - a number'); ...@@ -3391,10 +3391,10 @@ SELECT * FROM ts_parse('default', '123 - a number');
</indexterm> </indexterm>
<synopsis> <synopsis>
ts_token_type(<replaceable class="PARAMETER">parser_name</> <type>text</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, ts_token_type(<replaceable class="parameter">parser_name</> <type>text</>, OUT <replaceable class="parameter">tokid</> <type>integer</>,
OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="PARAMETER">description</> <type>text</>) returns <type>setof record</> OUT <replaceable class="parameter">alias</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>) returns <type>setof record</>
ts_token_type(<replaceable class="PARAMETER">parser_oid</> <type>oid</>, OUT <replaceable class="PARAMETER">tokid</> <type>integer</>, ts_token_type(<replaceable class="parameter">parser_oid</> <type>oid</>, OUT <replaceable class="parameter">tokid</> <type>integer</>,
OUT <replaceable class="PARAMETER">alias</> <type>text</>, OUT <replaceable class="PARAMETER">description</> <type>text</>) returns <type>setof record</> OUT <replaceable class="parameter">alias</> <type>text</>, OUT <replaceable class="parameter">description</> <type>text</>) returns <type>setof record</>
</synopsis> </synopsis>
<para> <para>
...@@ -3449,7 +3449,7 @@ SELECT * FROM ts_token_type('default'); ...@@ -3449,7 +3449,7 @@ SELECT * FROM ts_token_type('default');
</indexterm> </indexterm>
<synopsis> <synopsis>
ts_lexize(<replaceable class="PARAMETER">dict</replaceable> <type>regdictionary</>, <replaceable class="PARAMETER">token</replaceable> <type>text</>) returns <type>text[]</> ts_lexize(<replaceable class="parameter">dict</replaceable> <type>regdictionary</>, <replaceable class="parameter">token</replaceable> <type>text</>) returns <type>text[]</>
</synopsis> </synopsis>
<para> <para>
......
...@@ -174,11 +174,11 @@ mydb=# select ts_headline('fr','H&ocirc;tel de la Mer',to_tsquery('fr','Hotels') ...@@ -174,11 +174,11 @@ mydb=# select ts_headline('fr','H&ocirc;tel de la Mer',to_tsquery('fr','Hotels')
</indexterm> </indexterm>
<synopsis> <synopsis>
unaccent(<optional><replaceable class="PARAMETER">dictionary</replaceable>, </optional> <replaceable class="PARAMETER">string</replaceable>) returns <type>text</type> unaccent(<optional><replaceable class="parameter">dictionary</replaceable>, </optional> <replaceable class="parameter">string</replaceable>) returns <type>text</type>
</synopsis> </synopsis>
<para> <para>
If the <replaceable class="PARAMETER">dictionary</replaceable> argument is If the <replaceable class="parameter">dictionary</replaceable> argument is
omitted, <literal>unaccent</> is assumed. omitted, <literal>unaccent</> is assumed.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment