Skip to content

Commit 2c7a297

Browse files
committed
update refresh_materialized_view.sgml &prepare_transaction.sgml
refresh_materialized_view.sgml 2019.12.15 将英文原文中的</>增加相应tag. prepare_transaction.sgml 2019.12.15 将英文原文中的</>增加相应tag.
1 parent 0614840 commit 2c7a297

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

postgresql/doc/src/sgml/ref/prepare_transaction.sgml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ____________________________________________________________________________-->
9090
<!--==========================orignal english content==========================
9191
<para>
9292
From the point of view of the issuing session, <command>PREPARE
93-
TRANSACTION</command> is not unlike a <command>ROLLBACK</> command:
93+
TRANSACTION</command> is not unlike a <command>ROLLBACK</command> command:
9494
after executing it, there is no active current transaction, and the
9595
effects of the prepared transaction are no longer visible. (The effects
9696
will become visible again if the transaction is committed.)
@@ -106,7 +106,7 @@ ____________________________________________________________________________-->
106106
<!--==========================orignal english content==========================
107107
<para>
108108
If the <command>PREPARE TRANSACTION</command> command fails for any
109-
reason, it becomes a <command>ROLLBACK</>: the current transaction
109+
reason, it becomes a <command>ROLLBACK</command>: the current transaction
110110
is canceled.
111111
</para>
112112
____________________________________________________________________________-->
@@ -132,7 +132,7 @@ ____________________________________________________________________________-->
132132
<!--==========================orignal english content==========================
133133
<para>
134134
An arbitrary identifier that later identifies this transaction for
135-
<command>COMMIT PREPARED</> or <command>ROLLBACK PREPARED</>.
135+
<command>COMMIT PREPARED</command> or <command>ROLLBACK PREPARED</command>.
136136
The identifier must be written as a string literal, and must be
137137
less than 200 bytes long. It must not be the same as the identifier
138138
used for any currently prepared transaction.
@@ -157,12 +157,12 @@ ____________________________________________________________________________-->
157157

158158
<!--==========================orignal english content==========================
159159
<para>
160-
<command>PREPARE TRANSACTION</> is not intended for use in applications
160+
<command>PREPARE TRANSACTION</command> is not intended for use in applications
161161
or interactive sessions. Its purpose is to allow an external
162162
transaction manager to perform atomic global transactions across multiple
163163
databases or other transactional resources. Unless you're writing a
164164
transaction manager, you probably shouldn't be using <command>PREPARE
165-
TRANSACTION</>.
165+
TRANSACTION</command>.
166166
</para>
167167
____________________________________________________________________________-->
168168
<para>
@@ -185,11 +185,11 @@ ____________________________________________________________________________-->
185185

186186
<!--==========================orignal english content==========================
187187
<para>
188-
It is not currently allowed to <command>PREPARE</> a transaction that
188+
It is not currently allowed to <command>PREPARE</command> a transaction that
189189
has executed any operations involving temporary tables or the session's
190190
temporary namespace, created any cursors <literal>WITH HOLD</literal>, or
191191
executed <command>LISTEN</command>, <command>UNLISTEN</command>, or
192-
<command>NOTIFY</>.
192+
<command>NOTIFY</command>.
193193
Those features are too tightly
194194
tied to the current session to be useful in a transaction to be prepared.
195195
</para>
@@ -204,13 +204,13 @@ ____________________________________________________________________________-->
204204

205205
<!--==========================orignal english content==========================
206206
<para>
207-
If the transaction modified any run-time parameters with <command>SET</>
208-
(without the <literal>LOCAL</> option),
209-
those effects persist after <command>PREPARE TRANSACTION</>, and will not
207+
If the transaction modified any run-time parameters with <command>SET</command>
208+
(without the <literal>LOCAL</literal> option),
209+
those effects persist after <command>PREPARE TRANSACTION</command>, and will not
210210
be affected by any later <command>COMMIT PREPARED</command> or
211211
<command>ROLLBACK PREPARED</command>. Thus, in this one respect
212-
<command>PREPARE TRANSACTION</> acts more like <command>COMMIT</> than
213-
<command>ROLLBACK</>.
212+
<command>PREPARE TRANSACTION</command> acts more like <command>COMMIT</command> than
213+
<command>ROLLBACK</command>.
214214
</para>
215215
____________________________________________________________________________-->
216216
<para>
@@ -238,7 +238,7 @@ ____________________________________________________________________________-->
238238
<!--==========================orignal english content==========================
239239
<para>
240240
It is unwise to leave transactions in the prepared state for a long time.
241-
This will interfere with the ability of <command>VACUUM</> to reclaim
241+
This will interfere with the ability of <command>VACUUM</command> to reclaim
242242
storage, and in extreme cases could cause the database to shut down
243243
to prevent transaction ID wraparound (see <xref
244244
linkend="vacuum-for-wraparound">). Keep in mind also that the transaction
@@ -284,7 +284,7 @@ ____________________________________________________________________________-->
284284
<!--==========================orignal english content==========================
285285
<para>
286286
Prepare the current transaction for two-phase commit, using
287-
<literal>foobar</> as the transaction identifier:
287+
<literal>foobar</literal> as the transaction identifier:
288288

289289
<programlisting>
290290
PREPARE TRANSACTION 'foobar';

postgresql/doc/src/sgml/ref/refresh_materialized_view.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ ____________________________________________________________________________-->
182182
<para>
183183
While the default index for future
184184
<xref linkend="sql-cluster">
185-
operations is retained, <command>REFRESH MATERIALIZED VIEW</> does not
185+
operations is retained, <command>REFRESH MATERIALIZED VIEW</command> does not
186186
order the generated rows based on this property. If you want the data
187-
to be ordered upon generation, you must use an <literal>ORDER BY</>
187+
to be ordered upon generation, you must use an <literal>ORDER BY</literal>
188188
clause in the backing query.
189189
</para>
190190
____________________________________________________________________________-->

0 commit comments

Comments
 (0)