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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: Shmem queue is not flushed if receiver is not yet attached
Date: 2022-05-31 13:02:55
Message-ID: CA+Tgmoaj5eAG4KeTQJNfX1=v=5WQcH7Gqvav7Tb1OpGU_EVqCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 30, 2022 at 3:06 AM Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2022-05-31 13:49:17 Re: [RFC] building postgres with meson
Previous Message Robert Haas 2022-05-31 12:55:24 Re: "ERROR: latch already owned" on gharial