Skip to content
Snippets Groups Projects
Commit 873cd4f6 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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: default avatar <ivaylo.zlatanov@gmail.com>

Discussion: https://postgr.es/m/157019615723.25307.15449102262106437404@wrigleys.postgresql.org

Backpatch-through: 9.4
parent 8f880909
No related branches found
No related tags found
No related merge requests found
...@@ -5707,9 +5707,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; ...@@ -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 each lock acquisition attempt. The limit applies both to explicit
locking requests (such as <command>LOCK TABLE</>, or <command>SELECT locking requests (such as <command>LOCK TABLE</>, or <command>SELECT
FOR UPDATE</> without <literal>NOWAIT</>) and to implicitly-acquired FOR UPDATE</> without <literal>NOWAIT</>) and to implicitly-acquired
locks. If <varname>log_min_error_statement</> is set to locks. A value of zero (the default) turns this off.
<literal>ERROR</> or lower, the statement that timed out will be
logged. A value of zero (the default) turns this off.
</para> </para>
<para> <para>
...@@ -5717,7 +5715,9 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; ...@@ -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</> while waiting for locks. Note that if <varname>statement_timeout</>
is nonzero, it is rather pointless to set <varname>lock_timeout</> to is nonzero, it is rather pointless to set <varname>lock_timeout</> to
the same or larger value, since the statement timeout would always 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>
<para> <para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment