Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSH7Z-00352b-20 for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 16:28:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSH7X-008jY1-1P for pgsql-hackers@arkaria.postgresql.org; Wed, 27 May 2026 16:28:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSH7X-008jXt-0U for pgsql-hackers@lists.postgresql.org; Wed, 27 May 2026 16:28:40 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wSH7V-00000001ihG-47XW for pgsql-hackers@postgresql.org; Wed, 27 May 2026 16:28:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 64RGSWHb636962; Wed, 27 May 2026 12:28:32 -0400 From: Tom Lane To: "Joel Jacobson" cc: "Arseniy Mukhin" , pgsql-hackers Subject: Re: [PATCH] Fix LISTEN startup race with direct advancement In-reply-to: References: <9835b0a4-9121-47ac-9c44-427b8b1a7f1b@app.fastmail.com> <14717.1779810009@sss.pgh.pa.us> Comments: In-reply-to "Joel Jacobson" message dated "Wed, 27 May 2026 12:43:54 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <636960.1779899312.1@sss.pgh.pa.us> Date: Wed, 27 May 2026 12:28:32 -0400 Message-ID: <636961.1779899312@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Joel Jacobson" 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