Re: [PATCH] Allow NOTIFY without cross-transaction commit ordering

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Ivan Alekseev <nettrash(at)nettrash(dot)me>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Joel Jacobson <joel(at)compiler(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Arseniy Mukhin <arseniy(dot)mukhin(dot)dev(at)gmail(dot)com>, Rishu Bagga <rishu(dot)postgres(at)gmail(dot)com>
Subject: Re: [PATCH] Allow NOTIFY without cross-transaction commit ordering
Date: 2026-12-05 05:22:27
Message-ID: CAGRkXqTDgZG=2P4PdWCCBgBNTM78+jY4RJ9yv=aEUr8PRYbEBQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Ivan,

Thanks for this. I think the lost wakeup that 0002 fixes can still
happen in two other cases. One is when the earlier transaction aborts
after queuing its entries, for example on a serialization failure at
commit. The other is when it commits while the listener is reading,
since SignalBackends() skips a listener with isAdvancing set.

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shihao zhong 2026-12-05 05:32:43 Re: POC: Unlocked path for GetSnapshotDataReuse
Previous Message Manu 2026-12-05 05:21:23 Avoid quadratic behavior in MergeConstraintsIntoExisting()