Hi,

On Tue, Sep 1, 2026 at 9:55 PM Michael Paquier <[email protected]> wrote:
>
> 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.

Thanks for taking a look at it.

> 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..

I haven't looked into other cases where this could be used independently.

For now, I will move this to the other thread as a 0001 patch and
close this thread's CF entry.

--
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com


Reply via email to