On Wed, Sep 02, 2026 at 08:53:47AM +0900, Michael Paquier wrote:
> Perhaps out-of-core code or extensions could make use of this API, but
> in my experience this usually points at possible optimizations in the
> backend core code.  I'd suggest to look at that first, perhaps, if
> you'd like to make LockHasWaiters() fast-path safe?

Oh, I have missed the argument about autoprewarm and pg_prewarm on
this thread:
https://www.postgresql.org/message-id/CALj2ACXXx9TwYzeP0cRnZKHz60yOYivcG7yiV=2ftc5chsv...@mail.gmail.com

Sorry about that.  I'd be curious about a different case where this
could be used.  Without the other proposal this feels a bit dead when
taken independently..
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to