summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2019-10-07 14:33:31 -0400
committerBruce Momjian <bruce@momjian.us>2019-10-07 14:33:31 -0400
commit7eefec61c9e3d053e063696b71e8f11b268b98f4 (patch)
tree2a258b937dffde9eda52c08148f60ebc9c2bbab7 /doc/src
parent1b5c2ddcdefc31619c209716af3b4238968e6ce9 (diff)
doc: move mention of log_min_error_statement in a better spot
Previously it was mentioned in the lock_timeout docs in a confusing location. Reported-by: ivaylo.zlatanov@gmail.com Discussion: https://postgr.es/m/157019615723.25307.15449102262106437404@wrigleys.postgresql.org Backpatch-through: 9.4
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 11dee23c732..6c00ec894d0 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -6549,9 +6549,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>
@@ -6559,7 +6557,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>