Re: Shmem queue is not flushed if receiver is not yet attached

Pavan Deolasee <pavan.deolasee@gmail.com>

From: Pavan Deolasee <pavan.deolasee@gmail.com>
To: Japin Li <japinli@hotmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Tomas Vondra <tomas.vondra@enterprisedb.com>, Dilip Kumar <dilipbalaut@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-05-30T07:07:51Z
Lists: pgsql-hackers
On Wed, May 25, 2022 at 7:01 AM Japin Li <japinli@hotmail.com> wrote:

>
> I have a problem that is also related to shmem queue [1], however, I cannot
> reproduce it.  How did you reproduce this problem?
>
>
I discovered this bug while working on an extension that makes use of the
shared memory queue facility. Not sure how useful that is for your purpose.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB: https://www.enterprisedb..com

Commits

  1. shm_mq_sendv: Fix flushing bug when receiver not yet attached.