Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita92b5f9

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/lock.sgml

Lines changed: 3 additions & 3 deletions
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 atable remains stable for the duration of the transaction.
56+
Toachieve 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)

[8]ページ先頭

©2009-2025 Movatter.jp