Re: [PATCH] Fix LISTEN startup race with direct advancement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joel Jacobson" <joel(at)compiler(dot)org>
Cc: "Arseniy Mukhin" <arseniy(dot)mukhin(dot)dev(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Fix LISTEN startup race with direct advancement
Date: 2026-05-27 16:28:32
Message-ID: 636961.1779899312@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Joel Jacobson" <joel(at)compiler(dot)org> writes:
> On Tue, May 26, 2026, at 17:40, Tom Lane wrote:
>> (Both "listening" and "committed" appear in dozens of places in this
>> file that are not references to this flag, so TBH I'd rather use a
>> flag name that is not either of those words. But I can't think of
>> a better name.)

> How about renaming listening to removeOnAbort and negating its meaning?

Okay, or at least I haven't a better idea. Pushed after some more
fiddling with the comments.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-05-27 16:29:51 Re: [PATCH] Remove obsolete LISTEN array growth isolation test
Previous Message Ayush Tiwari 2026-05-27 16:00:07 Re: postgres_fdw, dblink: Validate use_scram_passthrough values