]> granicus.if.org Git - postgresql/commitdiff
doc: Use <literal> and all-caps for READ COMMITTED isolation level.
authorRobert Haas <rhaas@postgresql.org>
Fri, 19 Sep 2014 17:07:24 +0000 (13:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 19 Sep 2014 17:12:52 +0000 (13:12 -0400)
The documentation overall is not entirely consistent about how we do
this, but this is consistent with other usages within lock.sgml.

Etsuro Fujita

doc/src/sgml/ref/lock.sgml

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