mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
doc: Add some markup
This commit is contained in:
parent
c63172d60f
commit
f0e44021df
@ -54,7 +54,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SET/DROP DEFAULT</term>
|
<term><literal>SET</literal>/<literal>DROP DEFAULT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
These forms set or remove the default value for a domain. Note
|
These forms set or remove the default value for a domain. Note
|
||||||
@ -65,7 +65,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SET/DROP NOT NULL</term>
|
<term><literal>SET</literal>/<literal>DROP NOT NULL</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
These forms change whether a domain is marked to allow NULL
|
These forms change whether a domain is marked to allow NULL
|
||||||
@ -76,7 +76,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>ADD <replaceable class="PARAMETER">domain_constraint</replaceable> [ NOT VALID ]</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
|
||||||
@ -94,7 +94,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>DROP CONSTRAINT [ IF EXISTS ]</term>
|
<term><literal>DROP CONSTRAINT [ IF EXISTS ]</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This form drops constraints on a domain.
|
This form drops constraints on a domain.
|
||||||
@ -105,7 +105,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>RENAME CONSTRAINT</term>
|
<term><literal>RENAME CONSTRAINT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This form changes the name of a constraint on a domain.
|
This form changes the name of a constraint on a domain.
|
||||||
@ -114,7 +114,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>VALIDATE CONSTRAINT</term>
|
<term><literal>VALIDATE CONSTRAINT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This form validates a constraint previously added as
|
This form validates a constraint previously added as
|
||||||
@ -125,7 +125,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>OWNER</term>
|
<term><literal>OWNER</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This form changes the owner of the domain to the specified user.
|
This form changes the owner of the domain to the specified user.
|
||||||
@ -143,7 +143,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SET SCHEMA</term>
|
<term><literal>SET SCHEMA</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
This form changes the schema of the domain. Any constraints
|
This form changes the schema of the domain. Any constraints
|
||||||
|
@ -134,7 +134,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>CURRENT_USER</term>
|
<term><literal>CURRENT_USER</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Alter the current user instead of an explicitly identified role.
|
Alter the current user instead of an explicitly identified role.
|
||||||
@ -143,7 +143,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SESSION_USER</term>
|
<term><literal>SESSION_USER</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Alter the current session user instead of an explicitly identified
|
Alter the current session user instead of an explicitly identified
|
||||||
|
@ -98,7 +98,7 @@ ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> DISABLE
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>REFRESH PUBLICATION</term>
|
<term><literal>REFRESH PUBLICATION</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Fetch missing table information from publisher. This will start
|
Fetch missing table information from publisher. This will start
|
||||||
|
@ -121,20 +121,20 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><replaceable class="parameter">PERMISSIVE</replaceable></term>
|
<term><literal>PERMISSIVE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specify that the policy is to be created as a permissive policy.
|
Specify that the policy is to be created as a permissive policy.
|
||||||
All permissive policies which are applicable to a given query will
|
All permissive policies which are applicable to a given query will
|
||||||
be combined together using the boolean "OR" operator. By creating
|
be combined together using the boolean "OR" operator. By creating
|
||||||
permissive policies, administrators can add to the set of records
|
permissive policies, administrators can add to the set of records
|
||||||
which can be accessed. Policies are PERMISSIVE by default.
|
which can be accessed. Policies are permissive by default.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><replaceable class="parameter">RESTRICTIVE</replaceable></term>
|
<term><literal>RESTRICTIVE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specify that the policy is to be created as a restrictive policy.
|
Specify that the policy is to be created as a restrictive policy.
|
||||||
|
@ -136,8 +136,8 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>COPY DATA</term>
|
<term><literal>COPY DATA</literal></term>
|
||||||
<term>NOCOPY DATA</term>
|
<term><literal>NOCOPY DATA</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specifies if the existing data in the publications that are being
|
Specifies if the existing data in the publications that are being
|
||||||
@ -148,7 +148,7 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>NOCONNECT</term>
|
<term><literal>NOCONNECT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Instructs <command>CREATE SUBSCRIPTION</command> to skip the initial
|
Instructs <command>CREATE SUBSCRIPTION</command> to skip the initial
|
||||||
|
@ -177,7 +177,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>SELECT</term>
|
<term><literal>SELECT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-select"> from
|
Allows <xref linkend="sql-select"> from
|
||||||
@ -196,7 +196,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>INSERT</term>
|
<term><literal>INSERT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-insert"> of a new
|
Allows <xref linkend="sql-insert"> of a new
|
||||||
@ -209,7 +209,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>UPDATE</term>
|
<term><literal>UPDATE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-update"> of any
|
Allows <xref linkend="sql-update"> of any
|
||||||
@ -231,7 +231,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>DELETE</term>
|
<term><literal>DELETE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-delete"> of a row
|
Allows <xref linkend="sql-delete"> of a row
|
||||||
@ -244,7 +244,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>TRUNCATE</term>
|
<term><literal>TRUNCATE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows <xref linkend="sql-truncate"> on
|
Allows <xref linkend="sql-truncate"> on
|
||||||
@ -254,7 +254,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>REFERENCES</term>
|
<term><literal>REFERENCES</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows creation of a foreign key constraint referencing the specified
|
Allows creation of a foreign key constraint referencing the specified
|
||||||
@ -265,7 +265,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>TRIGGER</term>
|
<term><literal>TRIGGER</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows the creation of a trigger on the specified table. (See the
|
Allows the creation of a trigger on the specified table. (See the
|
||||||
@ -275,7 +275,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>CREATE</term>
|
<term><literal>CREATE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
For databases, allows new schemas and publications to be created within the database.
|
For databases, allows new schemas and publications to be created within the database.
|
||||||
@ -295,7 +295,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>CONNECT</term>
|
<term><literal>CONNECT</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows the user to connect to the specified database. This
|
Allows the user to connect to the specified database. This
|
||||||
@ -306,8 +306,8 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>TEMPORARY</term>
|
<term><literal>TEMPORARY</literal></term>
|
||||||
<term>TEMP</term>
|
<term><literal>TEMP</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows temporary tables to be created while using the specified database.
|
Allows temporary tables to be created while using the specified database.
|
||||||
@ -316,7 +316,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>EXECUTE</term>
|
<term><literal>EXECUTE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allows the use of the specified function and the use of any
|
Allows the use of the specified function and the use of any
|
||||||
@ -328,7 +328,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>USAGE</term>
|
<term><literal>USAGE</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
For procedural languages, allows the use of the specified language for
|
For procedural languages, allows the use of the specified language for
|
||||||
@ -371,7 +371,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>ALL PRIVILEGES</term>
|
<term><literal>ALL PRIVILEGES</literal></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Grant all of the available privileges at once.
|
Grant all of the available privileges at once.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user