Commit f0e44021 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Add some markup

parent c63172d6
......@@ -54,7 +54,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
<variablelist>
<varlistentry>
<term>SET/DROP DEFAULT</term>
<term><literal>SET</literal>/<literal>DROP DEFAULT</literal></term>
<listitem>
<para>
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>
<term>SET/DROP NOT NULL</term>
<term><literal>SET</literal>/<literal>DROP NOT NULL</literal></term>
<listitem>
<para>
These forms change whether a domain is marked to allow NULL
......@@ -76,7 +76,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</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>
<para>
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>
<term>DROP CONSTRAINT [ IF EXISTS ]</term>
<term><literal>DROP CONSTRAINT [ IF EXISTS ]</literal></term>
<listitem>
<para>
This form drops constraints on a domain.
......@@ -105,7 +105,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry>
<varlistentry>
<term>RENAME CONSTRAINT</term>
<term><literal>RENAME CONSTRAINT</literal></term>
<listitem>
<para>
This form changes the name of a constraint on a domain.
......@@ -114,7 +114,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry>
<varlistentry>
<term>VALIDATE CONSTRAINT</term>
<term><literal>VALIDATE CONSTRAINT</literal></term>
<listitem>
<para>
This form validates a constraint previously added as
......@@ -125,7 +125,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
</varlistentry>
<varlistentry>
<term>OWNER</term>
<term><literal>OWNER</literal></term>
<listitem>
<para>
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>
<term>SET SCHEMA</term>
<term><literal>SET SCHEMA</literal></term>
<listitem>
<para>
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>
<term>CURRENT_USER</term>
<term><literal>CURRENT_USER</literal></term>
<listitem>
<para>
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>
<term>SESSION_USER</term>
<term><literal>SESSION_USER</literal></term>
<listitem>
<para>
Alter the current session user instead of an explicitly identified
......
......@@ -98,7 +98,7 @@ ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> DISABLE
</varlistentry>
<varlistentry>
<term>REFRESH PUBLICATION</term>
<term><literal>REFRESH PUBLICATION</literal></term>
<listitem>
<para>
Fetch missing table information from publisher. This will start
......
......@@ -121,20 +121,20 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
</varlistentry>
<varlistentry>
<term><replaceable class="parameter">PERMISSIVE</replaceable></term>
<term><literal>PERMISSIVE</literal></term>
<listitem>
<para>
Specify that the policy is to be created as a permissive policy.
All permissive policies which are applicable to a given query will
be combined together using the boolean "OR" operator. By creating
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>
</listitem>
</varlistentry>
<varlistentry>
<term><replaceable class="parameter">RESTRICTIVE</replaceable></term>
<term><literal>RESTRICTIVE</literal></term>
<listitem>
<para>
Specify that the policy is to be created as a restrictive policy.
......
......@@ -22,9 +22,9 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_name</replaceable>
WITH ( <replaceable class="PARAMETER">option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )
ON ( <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...])
FROM <replaceable class="PARAMETER">table_name</replaceable>
WITH ( <replaceable class="PARAMETER">option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )
ON ( <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...])
FROM <replaceable class="PARAMETER">table_name</replaceable>
</synopsis>
</refsynopsisdiv>
......
......@@ -136,8 +136,8 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
</varlistentry>
<varlistentry>
<term>COPY DATA</term>
<term>NOCOPY DATA</term>
<term><literal>COPY DATA</literal></term>
<term><literal>NOCOPY DATA</literal></term>
<listitem>
<para>
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>
<term>NOCONNECT</term>
<term><literal>NOCONNECT</literal></term>
<listitem>
<para>
Instructs <command>CREATE SUBSCRIPTION</command> to skip the initial
......
......@@ -177,7 +177,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
<variablelist>
<varlistentry>
<term>SELECT</term>
<term><literal>SELECT</literal></term>
<listitem>
<para>
Allows <xref linkend="sql-select"> from
......@@ -196,7 +196,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</varlistentry>
<varlistentry>
<term>INSERT</term>
<term><literal>INSERT</literal></term>
<listitem>
<para>
Allows <xref linkend="sql-insert"> of a new
......@@ -209,7 +209,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</varlistentry>
<varlistentry>
<term>UPDATE</term>
<term><literal>UPDATE</literal></term>
<listitem>
<para>
Allows <xref linkend="sql-update"> of any
......@@ -231,7 +231,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</varlistentry>
<varlistentry>
<term>DELETE</term>
<term><literal>DELETE</literal></term>
<listitem>
<para>
Allows <xref linkend="sql-delete"> of a row
......@@ -244,7 +244,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</varlistentry>
<varlistentry>
<term>TRUNCATE</term>
<term><literal>TRUNCATE</literal></term>
<listitem>
<para>
Allows <xref linkend="sql-truncate"> on
......@@ -254,7 +254,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
</varlistentry>
<varlistentry>
<term>REFERENCES</term>
<term><literal>REFERENCES</literal></term>
<listitem>
<para>
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>
<term>TRIGGER</term>
<term><literal>TRIGGER</literal></term>
<listitem>
<para>
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>
<term>CREATE</term>
<term><literal>CREATE</literal></term>
<listitem>
<para>
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>
<term>CONNECT</term>
<term><literal>CONNECT</literal></term>
<listitem>
<para>
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>
<term>TEMPORARY</term>
<term>TEMP</term>
<term><literal>TEMPORARY</literal></term>
<term><literal>TEMP</literal></term>
<listitem>
<para>
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>
<term>EXECUTE</term>
<term><literal>EXECUTE</literal></term>
<listitem>
<para>
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>
<term>USAGE</term>
<term><literal>USAGE</literal></term>
<listitem>
<para>
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>
<term>ALL PRIVILEGES</term>
<term><literal>ALL PRIVILEGES</literal></term>
<listitem>
<para>
Grant all of the available privileges at once.
......
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