Thread

  1. Re: Add “FOR UPDATE NOWAIT” lock details to the log.

    cca5507 <cca5507@qq.com> — 2026-05-14T05:27:58Z

    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