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 1mXjWo-0003LQ-2I for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Oct 2021 12:26:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mXjWm-0007Iq-M0 for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Oct 2021 12:26:36 +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 1mXjWm-0007Ii-EX for pgsql-hackers@lists.postgresql.org; Tue, 05 Oct 2021 12:26:36 +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 1mXjWg-0002Dy-1L for pgsql-hackers@lists.postgresql.org; Tue, 05 Oct 2021 12:26:35 +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 195CQS384055681; Tue, 5 Oct 2021 08:26:28 -0400 From: Tom Lane To: "Verona, Luiz" cc: pgsql-hackers@lists.postgresql.org Subject: Re: Extension relocation vs. schema qualification In-reply-to: <3a89b08b90ac4aef99bce42ba7a23c67@EX13D20EUC002.ant.amazon.com> References: <152106914669.1223.5104148605998271987@wrigleys.postgresql.org> <20180330205229.GS8476@momjian.us> <20180402202402.GA24073@momjian.us> <20180405065957.GA2276534@rfd.leadboat.com> <20180710014308.GA805781@rfd.leadboat.com> <3a89b08b90ac4aef99bce42ba7a23c67@EX13D20EUC002.ant.amazon.com> Comments: In-reply-to "Verona, Luiz" message dated "Tue, 05 Oct 2021 09:57:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4055679.1633436788.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Oct 2021 08:26:28 -0400 Message-ID: <4055680.1633436788@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Verona, Luiz" writes: > I am writing to resurrect this 3-year-old thread. Attached is a patch to= address earthdistance related failures during pg_restore. > The proposed patch will: = > - Create a new version of earthdistance (1.2) and make this new version= default > - Change earthdistance relocatable from true to false That part seems like kind of a nonstarter. People may already rely on it being relocatable. Also, if cube is still relocatable, it could still get broken post-installation. I spent some time awhile ago on fixing this via new-style SQL functions [1]. That didn't get finished for reasons explained in the thread, but I think that's probably a more productive direction to go in. regards, tom lane [1] https://www.postgresql.org/message-id/flat/3395418.1618352794%40sss.pg= h.pa.us