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

Commit a92b5f9

Browse files
committed
doc: Use <literal> and all-caps for READ COMMITTED isolation level.
The documentation overall is not entirely consistent about how we do this, but this is consistent with other usages within lock.sgml. Etsuro Fujita
1 parent e246b3d commit a92b5f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ref/lock.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ LOCK [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [ * ]
5151
restrictive lock mode possible. <command>LOCK TABLE</command>
5252
provides for cases when you might need more restrictive locking.
5353
For example, suppose an application runs a transaction at the
54-
Read Committed isolation level and needs to ensure that data in a
55-
table remains stable for the duration of the transaction. To
56-
achieve this you could obtain <literal>SHARE</> lock mode over the
54+
<literal>READ COMMITTED</> isolation level and needs to ensure that
55+
data in a table remains stable for the duration of the transaction.
56+
To achieve this you could obtain <literal>SHARE</> lock mode over the
5757
table before querying. This will prevent concurrent data changes
5858
and ensure subsequent reads of the table see a stable view of
5959
committed data, because <literal>SHARE</> lock mode conflicts with

0 commit comments

Comments
 (0)