Hi,

> Yes, logging every autovacuum lock failure would be too noisy.
> I was thinking that log_lock_failure should apply only to LOCK TABLE ... 
> NOWAIT,
> but per the current code, restricting it that way seems difficult.

I wrote a simple patch to support LOCK NOWAIT only.

Looking forward to your comments!

--
Regards,
ChangAo Chen

Attachment: v1-0001-Make-log_lock_failures-support-LOCK-NOWAIT.patch
Description: Binary data

Reply via email to