]> granicus.if.org Git - postgresql/commitdiff
doc: Add some markup
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 8 Apr 2017 02:42:03 +0000 (22:42 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 8 Apr 2017 02:45:39 +0000 (22:45 -0400)
doc/src/sgml/ref/alter_domain.sgml
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/alter_subscription.sgml
doc/src/sgml/ref/create_policy.sgml
doc/src/sgml/ref/create_statistics.sgml
doc/src/sgml/ref/create_subscription.sgml
doc/src/sgml/ref/grant.sgml

index 74dda73c699210d33d6adc4b78255f6a7c8df270..95a822aef621e3dbe9aad1099bc44d44b8068908 100644 (file)
@@ -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
index da36ad96967e7c842c28f5787b5ec0dc48ec5a60..37fcfb926c11169f0ce0584046c58e2b86b84182 100644 (file)
@@ -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
index 6f94247b923a7144143c1611231cf44d33d02256..0e332bc143bd536ac2696ba2c60074dba1c405aa 100644 (file)
@@ -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
index f0486effaf5c76d107e4e490ffb86bbb516f8079..3b24e5e95eb41a878be6a8c1ae8c12a29401a2e0 100644 (file)
@@ -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.
index 163d43f2d4147dd0585ddb01f838f2c20b6e5dbf..dbe28d668575071bffae4ef3a4b6ed7ff2b6e39e 100644 (file)
@@ -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>
index 8f3c30b9b0132a7cb767a0e861498488bfe60e4b..3410d6fc8c2fd481a02b5f097cf3077b95ca1730 100644 (file)
@@ -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
index d7b6d5fb300320103d3e821aff788189c04738b4..c63252ca2477b9ce8de2b1ebd7593a8153495c31 100644 (file)
@@ -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.