Re: WaitLatchOrSocket seems to not count to 4 right... - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: WaitLatchOrSocket seems to not count to 4 right...
Date
Msg-id CA+hUKGL82Th2BbmMsSFiO1TBR7Dd5uxSc_b3sAyTc-037czUHQ@mail.gmail.com
Whole thread Raw
In response to Re: WaitLatchOrSocket seems to not count to 4 right...  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: WaitLatchOrSocket seems to not count to 4 right...  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Feb 8, 2022 at 1:51 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> (and one day we should make it dynamic and change udata to hold
> an index instead of a pointer...)

Here's a patch like that.

I'd originally sketched this out for another project, but I don't
think I need it for that anymore.  After this exchange I couldn't
resist fleshing it out for a commitfest, just on useability grounds.
Thoughts?

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Synchronizing slots from primary to standby
Next
From: Robert Haas
Date:
Subject: Re: generic plans and "initial" pruning