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

Commit 5caf4d5

Browse files
michaelpqpull[bot]
authored andcommitted
doc: Fix some grammar and inconsistent tags
Author: Ekaterina Kiryanova, Elena Indrupskaya, Oleg Sibiryakov, Maxim Yablokov Discussion: https://postgr.es/m/4c2a430b-32e2-44e2-aeca-03b7db6824e4@postgrespro.ru
1 parent 609a396 commit 5caf4d5

File tree

7 files changed

+27
-23
lines changed

7 files changed

+27
-23
lines changed

doc/src/sgml/catalogs.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7943,7 +7943,8 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
79437943
disk and apply at once after the transaction is committed on the
79447944
publisher and received by the subscriber,
79457945
<literal>p</literal> = apply changes directly using a parallel apply
7946-
worker if available (same as 't' if no worker is available)
7946+
worker if available (same as <literal>t</literal> if no worker is
7947+
available)
79477948
</para></entry>
79487949
</row>
79497950

doc/src/sgml/custom-rmgr.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ extern void RegisterCustomRmgr(RmgrId rmid, const RmgrData *rmgr);
9696
</para>
9797
<note>
9898
<para>
99-
The extension must remain in shared_preload_libraries as long as any
100-
custom WAL records may exist in the system. Otherwise
99+
The extension must remain in <varname>shared_preload_libraries</varname>
100+
as long as any custom WAL records may exist in the system. Otherwise
101101
<productname>PostgreSQL</productname> will not be able to apply or decode
102102
the custom WAL records, which may prevent the server from starting.
103103
</para>

doc/src/sgml/ecpg.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1506,9 +1506,9 @@ EXEC SQL TYPE serial_t IS long;
15061506
</para>
15071507

15081508
<para>
1509-
Any word you declare as a typedef cannot be used as an SQL keyword
1510-
in <literal>EXEC SQL</literal> commands later in the same program.
1511-
For example, this won't work:
1509+
Any word you declare as a <literal>typedef</literal> cannot be used as
1510+
an SQL keyword in <literal>EXEC SQL</literal> commands later in the same
1511+
program. For example, this won't work:
15121512
<programlisting>
15131513
EXEC SQL BEGIN DECLARE SECTION;
15141514
typedef int start;

doc/src/sgml/installation.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2743,8 +2743,8 @@ ninja install
27432743
<para>
27442744
The default backend Meson uses is ninja and that should suffice for
27452745
most use cases. However, if you'd like to fully integrate with Visual
2746-
Studio, you can set the <option>BACKEND</option> to
2747-
<command>vs</command>.
2746+
Studio, you can set the <replaceable>BACKEND</replaceable> to
2747+
<literal>vs</literal>.
27482748
</para>
27492749
</listitem>
27502750
</varlistentry>

doc/src/sgml/logicaldecoding.sgml

+5-4
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,12 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
326326
will work but only while the connection is alive (for example a node
327327
restart would break it). Then, the primary may delete system catalog rows
328328
that could be needed by the logical decoding on the standby (as it does
329-
not know about the catalog_xmin on the standby). Existing logical slots
330-
on standby also get invalidated if <varname>wal_level</varname> on the
331-
primary is reduced to less than <literal>logical</literal>.
329+
not know about the <literal>catalog_xmin</literal> on the standby).
330+
Existing logical slots on standby also get invalidated if
331+
<varname>wal_level</varname> on the primary is reduced to less than
332+
<literal>logical</literal>.
332333
This is done as soon as the standby detects such a change in the WAL stream.
333-
It means that, for walsenders which are lagging (if any), some WAL records up
334+
It means that, for walsenders that are lagging (if any), some WAL records up
334335
to the <varname>wal_level</varname> parameter change on the primary won't be
335336
decoded.
336337
</para>

doc/src/sgml/protocol.sgml

+11-9
Original file line numberDiff line numberDiff line change
@@ -2437,11 +2437,12 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
24372437
<term>Int32</term>
24382438
<listitem>
24392439
<para>
2440-
The standby's current global xmin, excluding the catalog_xmin from any
2441-
replication slots. If both this value and the following
2442-
catalog_xmin are 0 this is treated as a notification that hot standby
2443-
feedback will no longer be sent on this connection. Later non-zero
2444-
messages may reinitiate the feedback mechanism.
2440+
The standby's current global <literal>xmin</literal>, excluding the
2441+
<literal>catalog_xmin</literal> from any replication slots. If both
2442+
this value and the following <literal>catalog_xmin</literal>
2443+
are 0, this is treated as a notification that hot standby feedback
2444+
will no longer be sent on this connection. Later non-zero messages
2445+
may reinitiate the feedback mechanism.
24452446
</para>
24462447
</listitem>
24472448
</varlistentry>
@@ -2450,7 +2451,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
24502451
<term>Int32</term>
24512452
<listitem>
24522453
<para>
2453-
The epoch of the global xmin xid on the standby.
2454+
The epoch of the global <literal>xmin</literal> xid on the standby.
24542455
</para>
24552456
</listitem>
24562457
</varlistentry>
@@ -2459,8 +2460,9 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
24592460
<term>Int32</term>
24602461
<listitem>
24612462
<para>
2462-
The lowest catalog_xmin of any replication slots on the standby. Set to 0
2463-
if no catalog_xmin exists on the standby or if hot standby feedback is being
2463+
The lowest <literal>catalog_xmin</literal> of any replication
2464+
slots on the standby. Set to 0 if no <literal>catalog_xmin</literal>
2465+
exists on the standby or if hot standby feedback is being
24642466
disabled.
24652467
</para>
24662468
</listitem>
@@ -2470,7 +2472,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
24702472
<term>Int32</term>
24712473
<listitem>
24722474
<para>
2473-
The epoch of the catalog_xmin xid on the standby.
2475+
The epoch of the <literal>catalog_xmin</literal> xid on the standby.
24742476
</para>
24752477
</listitem>
24762478
</varlistentry>

doc/src/sgml/xact.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</para>
7171

7272
<para>
73-
In addition to <literal>vxid</literal> and <type>xid</type>,
73+
In addition to <literal>vxid</literal> and <literal>xid</literal>,
7474
prepared transactions are also assigned Global Transaction
7575
Identifiers (<acronym>GID</acronym>). GIDs are string literals up
7676
to 200 bytes long, which must be unique amongst other currently
@@ -121,7 +121,7 @@
121121
<para>
122122
Subtransactions can be started explicitly using the
123123
<command>SAVEPOINT</command> command, but can also be started in
124-
other ways, such as PL/pgSQL's <command>EXCEPTION</command> clause.
124+
other ways, such as PL/pgSQL's <literal>EXCEPTION</literal> clause.
125125
PL/Python and PL/TCL also support explicit subtransactions.
126126
Subtransactions can also be started from other subtransactions.
127127
The top-level transaction and its child subtransactions form a

0 commit comments

Comments
 (0)