| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
| Cc: | Greg Stark <stark(at)mit(dot)edu>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: WaitLatchOrSocket seems to not count to 4 right... |
| Date: | 2022-02-10 21:47:45 |
| Message-ID: | CA+hUKGL82Th2BbmMsSFiO1TBR7Dd5uxSc_b3sAyTc-037czUHQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Feb 8, 2022 at 1:51 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)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 | Content-Type | Size |
|---|---|---|
| 0001-Expand-WaitEventSet-dynamically.patch | text/x-patch | 17.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2022-02-10 22:01:52 | Re: generic plans and "initial" pruning |
| Previous Message | Bruce Momjian | 2022-02-10 21:47:15 | Re: Synchronizing slots from primary to standby |