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 1neIm0-0003uE-SQ for pgsql-general@arkaria.postgresql.org; Tue, 12 Apr 2022 15:49:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neIlz-0003CC-OB for pgsql-general@arkaria.postgresql.org; Tue, 12 Apr 2022 15:49:43 +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 1neIlz-0003C3-55 for pgsql-general@lists.postgresql.org; Tue, 12 Apr 2022 15:49:43 +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 1neIlp-0006aS-Nf for pgsql-general@lists.postgresql.org; Tue, 12 Apr 2022 15:49:42 +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 23CFnThZ810146; Tue, 12 Apr 2022 11:49:29 -0400 From: Tom Lane To: "David G. Johnston" cc: Bryn Llewellyn , Adrian Klaver , Alvaro Herrera , pgsql-general list Subject: Re: alter function/procedure depends on extension In-reply-to: References: <7C2D01B4-AD32-48DB-B5FA-6FFBC312ECB2@yugabyte.com> <4c6b69e2-52c6-359d-3ed9-04842f631ffe@aklaver.com> <3781667.1645147045@sss.pgh.pa.us> <3889546.1645156447@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Tue, 12 Apr 2022 08:36:05 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <810144.1649778569.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 12 Apr 2022 11:49:29 -0400 Message-ID: <810145.1649778569@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > - A function that's marked as dependent on an extension is automati= cally > - dropped when the extension is dropped. > + A function that's marked as dependent on an extension is skipped = during > + dependency checking in restrict mode . That is absolutely not an improvement. The proposed replacement text is about as clear as mud. > + A function can depend upon multiple extensions, and will be dropp= ed when > + any one of those extensions is dropped. This addition might be worth making, though. (likewise for the other instances, of course) regards, tom lane