Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f0e4402

Browse files
committed
doc: Add some markup
1 parent c63172d commit f0e4402

7 files changed

+34
-34
lines changed

doc/src/sgml/ref/alter_domain.sgml

+8-8
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
5454

5555
<variablelist>
5656
<varlistentry>
57-
<term>SET/DROP DEFAULT</term>
57+
<term><literal>SET</literal>/<literal>DROP DEFAULT</literal></term>
5858
<listitem>
5959
<para>
6060
These forms set or remove the default value for a domain. Note
@@ -65,7 +65,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
6565
</varlistentry>
6666

6767
<varlistentry>
68-
<term>SET/DROP NOT NULL</term>
68+
<term><literal>SET</literal>/<literal>DROP NOT NULL</literal></term>
6969
<listitem>
7070
<para>
7171
These forms change whether a domain is marked to allow NULL
@@ -76,7 +76,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
7676
</varlistentry>
7777

7878
<varlistentry>
79-
<term>ADD <replaceable class="PARAMETER">domain_constraint</replaceable> [ NOT VALID ]</term>
79+
<term><literal>ADD <replaceable class="PARAMETER">domain_constraint</replaceable> [ NOT VALID ]</literal></term>
8080
<listitem>
8181
<para>
8282
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>
9494
</varlistentry>
9595

9696
<varlistentry>
97-
<term>DROP CONSTRAINT [ IF EXISTS ]</term>
97+
<term><literal>DROP CONSTRAINT [ IF EXISTS ]</literal></term>
9898
<listitem>
9999
<para>
100100
This form drops constraints on a domain.
@@ -105,7 +105,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
105105
</varlistentry>
106106

107107
<varlistentry>
108-
<term>RENAME CONSTRAINT</term>
108+
<term><literal>RENAME CONSTRAINT</literal></term>
109109
<listitem>
110110
<para>
111111
This form changes the name of a constraint on a domain.
@@ -114,7 +114,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
114114
</varlistentry>
115115

116116
<varlistentry>
117-
<term>VALIDATE CONSTRAINT</term>
117+
<term><literal>VALIDATE CONSTRAINT</literal></term>
118118
<listitem>
119119
<para>
120120
This form validates a constraint previously added as
@@ -125,7 +125,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
125125
</varlistentry>
126126

127127
<varlistentry>
128-
<term>OWNER</term>
128+
<term><literal>OWNER</literal></term>
129129
<listitem>
130130
<para>
131131
This form changes the owner of the domain to the specified user.
@@ -143,7 +143,7 @@ ALTER DOMAIN <replaceable class="PARAMETER">name</replaceable>
143143
</varlistentry>
144144

145145
<varlistentry>
146-
<term>SET SCHEMA</term>
146+
<term><literal>SET SCHEMA</literal></term>
147147
<listitem>
148148
<para>
149149
This form changes the schema of the domain. Any constraints

doc/src/sgml/ref/alter_role.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
134134
</varlistentry>
135135

136136
<varlistentry>
137-
<term>CURRENT_USER</term>
137+
<term><literal>CURRENT_USER</literal></term>
138138
<listitem>
139139
<para>
140140
Alter the current user instead of an explicitly identified role.
@@ -143,7 +143,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
143143
</varlistentry>
144144

145145
<varlistentry>
146-
<term>SESSION_USER</term>
146+
<term><literal>SESSION_USER</literal></term>
147147
<listitem>
148148
<para>
149149
Alter the current session user instead of an explicitly identified

doc/src/sgml/ref/alter_subscription.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ALTER SUBSCRIPTION <replaceable class="PARAMETER">name</replaceable> DISABLE
9898
</varlistentry>
9999

100100
<varlistentry>
101-
<term>REFRESH PUBLICATION</term>
101+
<term><literal>REFRESH PUBLICATION</literal></term>
102102
<listitem>
103103
<para>
104104
Fetch missing table information from publisher. This will start

doc/src/sgml/ref/create_policy.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,20 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
121121
</varlistentry>
122122

123123
<varlistentry>
124-
<term><replaceable class="parameter">PERMISSIVE</replaceable></term>
124+
<term><literal>PERMISSIVE</literal></term>
125125
<listitem>
126126
<para>
127127
Specify that the policy is to be created as a permissive policy.
128128
All permissive policies which are applicable to a given query will
129129
be combined together using the boolean "OR" operator. By creating
130130
permissive policies, administrators can add to the set of records
131-
which can be accessed. Policies are PERMISSIVE by default.
131+
which can be accessed. Policies are permissive by default.
132132
</para>
133133
</listitem>
134134
</varlistentry>
135135

136136
<varlistentry>
137-
<term><replaceable class="parameter">RESTRICTIVE</replaceable></term>
137+
<term><literal>RESTRICTIVE</literal></term>
138138
<listitem>
139139
<para>
140140
Specify that the policy is to be created as a restrictive policy.

doc/src/sgml/ref/create_statistics.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ PostgreSQL documentation
2222
<refsynopsisdiv>
2323
<synopsis>
2424
CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_name</replaceable>
25-
WITH ( <replaceable class="PARAMETER">option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )
26-
ON ( <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...])
27-
FROM <replaceable class="PARAMETER">table_name</replaceable>
25+
WITH ( <replaceable class="PARAMETER">option</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )
26+
ON ( <replaceable class="PARAMETER">column_name</replaceable>, <replaceable class="PARAMETER">column_name</replaceable> [, ...])
27+
FROM <replaceable class="PARAMETER">table_name</replaceable>
2828
</synopsis>
2929

3030
</refsynopsisdiv>

doc/src/sgml/ref/create_subscription.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
136136
</varlistentry>
137137

138138
<varlistentry>
139-
<term>COPY DATA</term>
140-
<term>NOCOPY DATA</term>
139+
<term><literal>COPY DATA</literal></term>
140+
<term><literal>NOCOPY DATA</literal></term>
141141
<listitem>
142142
<para>
143143
Specifies if the existing data in the publications that are being
@@ -148,7 +148,7 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
148148
</varlistentry>
149149

150150
<varlistentry>
151-
<term>NOCONNECT</term>
151+
<term><literal>NOCONNECT</literal></term>
152152
<listitem>
153153
<para>
154154
Instructs <command>CREATE SUBSCRIPTION</command> to skip the initial

doc/src/sgml/ref/grant.sgml

+14-14
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
177177

178178
<variablelist>
179179
<varlistentry>
180-
<term>SELECT</term>
180+
<term><literal>SELECT</literal></term>
181181
<listitem>
182182
<para>
183183
Allows <xref linkend="sql-select"> from
@@ -196,7 +196,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
196196
</varlistentry>
197197

198198
<varlistentry>
199-
<term>INSERT</term>
199+
<term><literal>INSERT</literal></term>
200200
<listitem>
201201
<para>
202202
Allows <xref linkend="sql-insert"> of a new
@@ -209,7 +209,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
209209
</varlistentry>
210210

211211
<varlistentry>
212-
<term>UPDATE</term>
212+
<term><literal>UPDATE</literal></term>
213213
<listitem>
214214
<para>
215215
Allows <xref linkend="sql-update"> of any
@@ -231,7 +231,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
231231
</varlistentry>
232232

233233
<varlistentry>
234-
<term>DELETE</term>
234+
<term><literal>DELETE</literal></term>
235235
<listitem>
236236
<para>
237237
Allows <xref linkend="sql-delete"> of a row
@@ -244,7 +244,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
244244
</varlistentry>
245245

246246
<varlistentry>
247-
<term>TRUNCATE</term>
247+
<term><literal>TRUNCATE</literal></term>
248248
<listitem>
249249
<para>
250250
Allows <xref linkend="sql-truncate"> on
@@ -254,7 +254,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
254254
</varlistentry>
255255

256256
<varlistentry>
257-
<term>REFERENCES</term>
257+
<term><literal>REFERENCES</literal></term>
258258
<listitem>
259259
<para>
260260
Allows creation of a foreign key constraint referencing the specified
@@ -265,7 +265,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
265265
</varlistentry>
266266

267267
<varlistentry>
268-
<term>TRIGGER</term>
268+
<term><literal>TRIGGER</literal></term>
269269
<listitem>
270270
<para>
271271
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
275275
</varlistentry>
276276

277277
<varlistentry>
278-
<term>CREATE</term>
278+
<term><literal>CREATE</literal></term>
279279
<listitem>
280280
<para>
281281
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
295295
</varlistentry>
296296

297297
<varlistentry>
298-
<term>CONNECT</term>
298+
<term><literal>CONNECT</literal></term>
299299
<listitem>
300300
<para>
301301
Allows the user to connect to the specified database. This
@@ -306,8 +306,8 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
306306
</varlistentry>
307307

308308
<varlistentry>
309-
<term>TEMPORARY</term>
310-
<term>TEMP</term>
309+
<term><literal>TEMPORARY</literal></term>
310+
<term><literal>TEMP</literal></term>
311311
<listitem>
312312
<para>
313313
Allows temporary tables to be created while using the specified database.
@@ -316,7 +316,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
316316
</varlistentry>
317317

318318
<varlistentry>
319-
<term>EXECUTE</term>
319+
<term><literal>EXECUTE</literal></term>
320320
<listitem>
321321
<para>
322322
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
328328
</varlistentry>
329329

330330
<varlistentry>
331-
<term>USAGE</term>
331+
<term><literal>USAGE</literal></term>
332332
<listitem>
333333
<para>
334334
For procedural languages, allows the use of the specified language for
@@ -371,7 +371,7 @@ GRANT <replaceable class="PARAMETER">role_name</replaceable> [, ...] TO <replace
371371
</varlistentry>
372372

373373
<varlistentry>
374-
<term>ALL PRIVILEGES</term>
374+
<term><literal>ALL PRIVILEGES</literal></term>
375375
<listitem>
376376
<para>
377377
Grant all of the available privileges at once.

0 commit comments

Comments
 (0)