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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Joel Jacobson" <joel@compiler.org>
Cc: "Arseniy Mukhin" <arseniy.mukhin.dev@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-05-27T16:28:32Z
Lists: pgsql-hackers
"Joel Jacobson" <joel@compiler.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