Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf77-0005on-L4 for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Oct 2018 00:27:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDf76-0000YR-1O for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Oct 2018 00:27:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf75-0000YI-Rh for pgsql-bugs@lists.postgresql.org; Sat, 20 Oct 2018 00:27:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDf6z-00059S-Hd for pgsql-bugs@postgresql.org; Sat, 20 Oct 2018 00:27:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w9K0RKWX021997; Fri, 19 Oct 2018 20:27:20 -0400 From: Tom Lane To: Andres Freund cc: Andrey , Jeff Janes , Pg Bugs Subject: Re: NOTIFY does not work as expected In-reply-to: <20181020000645.72on3tdtkg5uji2s@alap3.anarazel.de> References: <20180704183055.hqlqm3ramerybzvd@alap3.anarazel.de> <29914.1539902374@sss.pgh.pa.us> <20181018224608.6d4v2fadyu3vrbx2@alap3.anarazel.de> <31090.1539904064@sss.pgh.pa.us> <16416.1539970591@sss.pgh.pa.us> <20181019204542.jemuckjxo7ga7q5g@alap3.anarazel.de> <20181019231435.ovm5jd7zwpj3zs3a@alap3.anarazel.de> <20599.1539993186@sss.pgh.pa.us> <20181020000645.72on3tdtkg5uji2s@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 19 Oct 2018 17:06:45 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21995.1539995240.1@sss.pgh.pa.us> Date: Fri, 19 Oct 2018 20:27:20 -0400 Message-ID: <21996.1539995240@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > I find the +1, 0, -1 pretty confusing and less clear than what was there > before. If we do something like it, could we introduce an enum or macros > for it? Meh. Shall I just go back to the blocked/not blocked approach? There was a need for the 3-way argument at one point while I was fooling with it, but once I decided that it'd be a good idea to re-set the latch on the way out, there wasn't anymore. regards, tom lane