Stephen Frost <sfrost(at)snowman(dot)net> writes:
> It'd be nice to have a NOTICE printed when a wait-on-lock takes longer
> than a few seconds.
It'd be relatively painless to make that happen as part of the
deadlock-check timeout function, but that's typically only a one-second
delay not a "few seconds". I think it'd likely be overly chatty.
regards, tom lane