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

Commit 0890f7d

Browse files
committed
doc: Fix some markups in logical replication section
Author: Peter Smith Reviewed-by: David Zhang Discussion: https://postgr.es/m/CAHut+Pst11ac2hcmePt1=oTmBwTT=DAssRR1nsdoy4BT+68=Mg@mail.gmail.com
1 parent 90f0d28 commit 0890f7d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/logical-replication.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,24 +124,24 @@
124124
</para>
125125

126126
<para>
127-
A published table must have a <quote>replica identity</quote> configured in
127+
A published table must have a <firstterm>replica identity</firstterm> configured in
128128
order to be able to replicate <command>UPDATE</command>
129129
and <command>DELETE</command> operations, so that appropriate rows to
130130
update or delete can be identified on the subscriber side. By default,
131131
this is the primary key, if there is one. Another unique index (with
132132
certain additional requirements) can also be set to be the replica
133133
identity. If the table does not have any suitable key, then it can be set
134-
to replica identity <quote>full</quote>, which means the entire row becomes
135-
the key. When replica identity <quote>full</quote> is specified,
134+
to replica identity <literal>FULL</literal>, which means the entire row becomes
135+
the key. When replica identity <literal>FULL</literal> is specified,
136136
indexes can be used on the subscriber side for searching the rows. Candidate
137137
indexes must be btree, non-partial, and have at least one column reference
138138
(i.e. cannot consist of only expressions). These restrictions
139139
on the non-unique index properties adhere to some of the restrictions that
140140
are enforced for primary keys. If there are no such suitable indexes,
141141
the search on the subscriber side can be very inefficient, therefore
142-
replica identity <quote>full</quote> should only be used as a
142+
replica identity <literal>FULL</literal> should only be used as a
143143
fallback if no other solution is possible. If a replica identity other
144-
than <quote>full</quote> is set on the publisher side, a replica identity
144+
than <literal>FULL</literal> is set on the publisher side, a replica identity
145145
comprising the same or fewer columns must also be set on the subscriber
146146
side. See <xref linkend="sql-altertable-replica-identity"/> for details on
147147
how to set the replica identity. If a table without a replica identity is
@@ -1640,7 +1640,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
16401640
<para>
16411641
Logical replication is built with an architecture similar to physical
16421642
streaming replication (see <xref linkend="streaming-replication"/>). It is
1643-
implemented by <quote>walsender</quote> and <quote>apply</quote>
1643+
implemented by <literal>walsender</literal> and <literal>apply</literal>
16441644
processes. The walsender process starts logical decoding (described
16451645
in <xref linkend="logicaldecoding"/>) of the WAL and loads the standard
16461646
logical decoding plugin (pgoutput). The plugin transforms the changes read

0 commit comments

Comments
 (0)