Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXpi7-0005wl-Vv for pgsql-hackers@arkaria.postgresql.org; Fri, 25 Mar 2022 19:34:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nXpi5-0005ru-Jp for pgsql-hackers@arkaria.postgresql.org; Fri, 25 Mar 2022 19:34:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXpi5-0005rl-An for pgsql-hackers@lists.postgresql.org; Fri, 25 Mar 2022 19:34:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXpi2-00045W-QJ for pgsql-hackers@lists.postgresql.org; Fri, 25 Mar 2022 19:34:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22PJYoDd3457747; Fri, 25 Mar 2022 15:34:50 -0400 From: Tom Lane To: Robert Haas cc: Andres Freund , Jacob Champion , "Jelte.Fennema@microsoft.com" , PostgreSQL Hackers Subject: Re: Add non-blocking version of PQcancel In-reply-to: References: <20220113004411.3tdgiqdmmo4musb5@alap3.anarazel.de> <3150365.1648158113@sss.pgh.pa.us> <20220324224909.4tnubqv2owmfoyoc@alap3.anarazel.de> <3453535.1648234019@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 25 Mar 2022 15:22:50 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3457745.1648236890.1@sss.pgh.pa.us> Date: Fri, 25 Mar 2022 15:34:50 -0400 Message-ID: <3457746.1648236890@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > Well, that's a fair point, but it's somewhat orthogonal to the one I'm > making, which is that a non-blocking version of function X might be > expected to share code or at least functionality with X itself. Having > something that is named in a way that implies asynchrony without other > differences but which is actually different in other important ways is > no good. Yeah. We need to choose a name for these new function(s) that is sufficiently different from "PQcancel" that people won't expect them to behave exactly the same as that does. I lack any good ideas about that, how about you? >> Yeah, I don't think it's anywhere near fully baked yet. On the other >> hand, we do have a couple of weeks left. > We do? Um, you did read the psql-release discussion about setting the feature freeze deadline, no? regards, tom lane