Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvUyY-0006u8-2V for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Feb 2019 22:31:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gvUyW-0000yz-B9 for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Feb 2019 22:31:52 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvUyW-0000ys-4q for pgsql-bugs@lists.postgresql.org; Sun, 17 Feb 2019 22:31:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvUyU-0006aT-5B for pgsql-bugs@lists.postgresql.org; Sun, 17 Feb 2019 22:31:51 +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 x1HMVhP4007758; Sun, 17 Feb 2019 17:31:43 -0500 From: Tom Lane To: David Rowley cc: Michael Paquier , Alvaro Herrera , Ash M , PostgreSQL mailing lists Subject: Re: BUG #15572: Misleading message reported by "Drop function operation" on DB with functions having same name In-reply-to: References: <201901071454.wxkoyoq4s5qp@alvherre.pgsql> <19400.1546994166@sss.pgh.pa.us> <13325.1549838359@sss.pgh.pa.us> <20190212030927.GF1475@paquier.xyz> Comments: In-reply-to David Rowley message dated "Mon, 18 Feb 2019 11:17:52 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7756.1550442703.1@sss.pgh.pa.us> Date: Sun, 17 Feb 2019 17:31:43 -0500 Message-ID: <7757.1550442703@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Rowley writes: > On Tue, 12 Feb 2019 at 16:09, Michael Paquier wrote: >> FWIW, it makes me a bit uneasy to change this function signature in >> back-branches if that's the intention as I suspect that it gets used >> in extensions.. For HEAD that's fine of course. > I wondered about this too and questioned Tom about it above. There > was no response. Sorry, I didn't realize you'd asked a question. > I just assumed Tom didn't think it was worth fiddling with in back-branches. Yeah, exactly. Not only do I not feel a need to change this behavior in the back branches, but the original patch is *also* an API change, in that it changes the behavior of what appears to be a well-defined boolean parameter. The fact that none of the call sites found in core today would care doesn't change that; you'd still be risking breaking extensions, and/or future back-patches. So I think targeting this for HEAD only is fine. regards, tom lane