doc: move mention of log_min_error_statement in a better spot
authorBruce Momjian <[email protected]>
Mon, 7 Oct 2019 18:33:31 +0000 (14:33 -0400)
committerBruce Momjian <[email protected]>
Mon, 7 Oct 2019 18:33:31 +0000 (14:33 -0400)
Previously it was mentioned in the lock_timeout docs in a confusing
location.

Reported-by: [email protected]
Discussion: https://postgr.es/m/157019615723.25307.15449102262106437404@wrigleys.postgresql.org

Backpatch-through: 9.4

doc/src/sgml/config.sgml

index b24589f5b75ba6c2f145a13e45e41dec7f87f735..c6a9fb2695c27ec9f5206bfcf14b86f6c80d89fc 100644 (file)
@@ -5707,9 +5707,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
         each lock acquisition attempt.  The limit applies both to explicit
         locking requests (such as <command>LOCK TABLE</>, or <command>SELECT
         FOR UPDATE</> without <literal>NOWAIT</>) and to implicitly-acquired
-        locks.  If <varname>log_min_error_statement</> is set to
-        <literal>ERROR</> or lower, the statement that timed out will be
-        logged.  A value of zero (the default) turns this off.
+        locks.  A value of zero (the default) turns this off.
        </para>
 
        <para>
@@ -5717,7 +5715,9 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
         while waiting for locks.  Note that if <varname>statement_timeout</>
         is nonzero, it is rather pointless to set <varname>lock_timeout</> to
         the same or larger value, since the statement timeout would always
-        trigger first.
+        trigger first.  If <varname>log_min_error_statement</> is set to
+        <literal>ERROR</> or lower, the statement that timed out will be
+        logged.
        </para>
 
        <para>