Re: Shmem queue is not flushed if receiver is not yet attached
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Tomas Vondra <tomas.vondra@enterprisedb.com>,
Dilip Kumar <dilipbalaut@gmail.com>
Date: 2022-05-31T13:02:55Z
Lists: pgsql-hackers
On Mon, May 30, 2022 at 3:06 AM Pavan Deolasee <pavan.deolasee@gmail.com> wrote: >> I think that this patch is basically correct, except that it's not >> correct to set mqh_counterparty_attached when receiver is still NULL. >> Here's a v2 where I've attempted to correct that while preserving the >> essence of your proposed fix. > > This looks good to me, Thanks for checking. Committed. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
shm_mq_sendv: Fix flushing bug when receiver not yet attached.
- f5bfba5413f5 15.0 landed