Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyPgH-0007Qn-GX for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Sep 2018 22:56:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fyPgF-0008Q3-S4 for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Sep 2018 22:56:47 +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.89) (envelope-from ) id 1fyPgF-0008Pv-Fw for pgsql-hackers@lists.postgresql.org; Fri, 07 Sep 2018 22:56:47 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fyPgC-0007VJ-JN for pgsql-hackers@lists.postgresql.org; Fri, 07 Sep 2018 22:56:46 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1fyPgB-0000cO-As; Fri, 07 Sep 2018 18:56:43 -0400 Date: Fri, 7 Sep 2018 18:56:43 -0400 From: Bruce Momjian To: Tom Lane Cc: Gunnlaugur Thor Briem , Adrian Klaver , pgsql-hackers@lists.postgresql.org Subject: Re: unaccent(text) fails depending on search_path (WAS: pg_upgrade fails saying function unaccent(text) doesn't exist) Message-ID: <20180907225643.GI28811@momjian.us> References: <20180829190635.GD25450@momjian.us> <6c73c320-95b7-c259-e309-c46300557852@aklaver.com> <6e023cde-943a-5cea-8626-f1e9b29695df@aklaver.com> <12109.1536174213@sss.pgh.pa.us> <22723.1536187020@sss.pgh.pa.us> <20180907223247.GH28811@momjian.us> <6520.1536360232@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6520.1536360232@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Sep 7, 2018 at 06:43:52PM -0400, Tom Lane wrote: > Bruce Momjian writes: > > If we are going down this route, is there any thought of handling > > earchdistance the same way? > > https://www.postgresql.org/message-id/20180330205229.GS8476@momjian.us > > AFAICS there are no internal-to-the-C-code search path dependencies > in earthdistance.c, so it's not the same problem. Uh, there is an SQL function that calls functions from the module that fail. It would be a CREATE FUNCTION patch, I think, but I thought the issue was the same. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +