each lock acquisition attempt. The limit applies both to explicit
locking requests (such as LOCK TABLE>, or SELECT
FOR UPDATE> without NOWAIT>) and to implicitly-acquired
- locks. If log_min_error_statement> is set to
- 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.
while waiting for locks. Note that if statement_timeout>
is nonzero, it is rather pointless to set lock_timeout> to
the same or larger value, since the statement timeout would always
- trigger first.
+ trigger first. If log_min_error_statement> is set to
+ ERROR> or lower, the statement that timed out will be
+ logged.