From: | Kirill Reshke <reshkekirill(at)gmail(dot)com> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>, "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru> |
Subject: | Remove condition variables from injection wait logic. |
Date: | 2025-08-20 06:20:11 |
Message-ID: | CALdSSPi3kRzvtSzGEDp_b7_tBr0BxSttcYSCAFP+cJ14Wbxp4g@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
$sub proposed in a nearby thread. Looks like we have a consensus that
$subj is beneficial.
I implemented necessary legwork, namely a clock-based check in the
wait() routine, PFA. I'm not sure the default pg_sleep argument of 50
millisecond is good, but it is fast enough to not spot any difference
in by-hand testing.
[0] https://www.postgresql.org/message-id/aKT7qD0VkGhQgFJe%40paquier.xyz
--
Best regards,
Kirill Reshke
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Remove-condition-variables-from-injection-wait-lo.patch | application/octet-stream | 2.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Zhijie Hou (Fujitsu) | 2025-08-20 06:42:37 | RE: Conflict detection for update_deleted in logical replication |
Previous Message | Dilip Kumar | 2025-08-20 06:16:55 | Re: Proposal: Conflict log history table for Logical Replication |