Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFkgu-0007OF-VM for pgsql-docs@arkaria.postgresql.org; Wed, 22 Jun 2016 16:07:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bFkgu-00055H-I8 for pgsql-docs@arkaria.postgresql.org; Wed, 22 Jun 2016 16:07:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFQQ5-0001RU-Oh for pgsql-docs@postgresql.org; Tue, 21 Jun 2016 18:29:05 +0000 Received: from smtp5.opentext.com ([205.211.178.41]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFQPy-0000zX-8y for pgsql-docs@postgresql.org; Tue, 21 Jun 2016 18:29:03 +0000 Received: from otwlxg10.opentext.net (otwlxg10.opentext.net [10.2.103.151]) by wldmzsvc05.dmz.opentext.com (8.14.4/8.14.4) with ESMTP id u5LISvN2001874 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 21 Jun 2016 14:28:57 -0400 Received: from OTWLXG20.opentext.net ([169.254.2.57]) by otwlxg10.opentext.net ([10.2.103.151]) with mapi id 14.03.0294.000; Tue, 21 Jun 2016 14:28:54 -0400 From: Michelle Schwan To: Tom Lane , Alvaro Herrera CC: Michael Paquier , "pgsql-docs@postgresql.org" Subject: Re: DROP EXTENSION Thread-Topic: [DOCS] DROP EXTENSION Thread-Index: AQHRy1LwM7cKl9z5jki8p+xAAikTip/0aGCAgAAVIICAAAPbgP//vWkA Date: Tue, 21 Jun 2016 18:28:53 +0000 Message-ID: References: <20160621181301.GA91352@alvherre.pgsql> <12382.1466533609@sss.pgh.pa.us> In-Reply-To: <12382.1466533609@sss.pgh.pa.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.2.111.33] x-tm-as-product-ver: SMEX-11.0.0.1191-8.000.1202-22404.005 x-tm-as-result: No--36.645700-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Pg-Spam-Score: -4.1 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Ok - I understand! However, could that be stated in the documentation so that is clear? -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Tuesday, June 21, 2016 2:27 PM To: Alvaro Herrera Cc: Michael Paquier; Michelle Schwan; pgsql-docs@postgresql.org Subject: Re: [DOCS] DROP EXTENSION Alvaro Herrera writes: > Right; mschwan wrote private email to indicate that the function in=20 > question is: > CREATE OR REPLACE FUNCTION public.f_unaccent(text) > RETURNS text AS > $$ > select public.unaccent('public.unaccent', $1) $$ > LANGUAGE sql IMMUTABLE; > so when the unaccent extension is dropped, this function remains (of > course) but it stops working. Ah, I kind of suspected that: the issue is that we don't analyze function b= odies to detect dependencies therein. In a perfect world we would, but the= re are daunting obstacles in the way. regards, tom lane --=20 Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs