Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLz1c-000qQE-86 for pgsql-general@arkaria.postgresql.org; Fri, 13 Dec 2024 06:19:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tLz1Z-001ocj-OT for pgsql-general@arkaria.postgresql.org; Fri, 13 Dec 2024 06:19:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLz1Z-001oaj-A5 for pgsql-general@lists.postgresql.org; Fri, 13 Dec 2024 06:19:42 +0000 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLz1X-002ZLh-Go for pgsql-general@postgresql.org; Fri, 13 Dec 2024 06:19:41 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Y8fLq60cJz9stm; Fri, 13 Dec 2024 07:19:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1734070771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nHSntJG3qY3k7ORRKqYf1zTyopmfoG/O02JneK595D4=; b=bW8EWMDia9DloEvsDP8BURyyuUcxo7jDlCNlLA4/clDI5r8PLSpgcUFlg+e2+S3UFHly3N 7Ve2nqpOOpo4HkXzkPpsR+YO7rfTUrwoq3hg8T37uXxBeJjqssvSzZ0FExYycYyGBdGXUj 8WhACmYSgsqHF9EHcmlYMhmi3hFw3M4nrtsykhq7uNdrw1yMzlYEZyhyCQi+wMa624O1p2 s1f+RQW+A8P5XETP4dpL8wmh6yuywZckX5ZDuIeTfykN9GE8R5lf3NDkb5Y+wjLuj6KUS0 vKypvR8HC2jaK2NBjeAlqB3VFhXry0eBhtbfPKqfbRSoG1WwZ8nI3l630w7EQA== Message-ID: Date: Thu, 12 Dec 2024 22:19:11 -0800 MIME-Version: 1.0 Subject: Re: Errors when restoring backup created by pg_dumpall To: Adrian Klaver , Tom Lane Cc: "David G. Johnston" , "pgsql-general@postgresql.org" References: <6a6439f1-8039-44e2-8fb9-59028f7f2014@mailbox.org> <1257068.1733025493@sss.pgh.pa.us> <06425038-e012-4bac-aec1-d9541436f893@mailbox.org> <92405f98-7f0c-4442-8252-697352daefc1@aklaver.com> <1470486.1733087658@sss.pgh.pa.us> <4ab662d8-57cc-471f-8a58-cfd71d1cea22@aklaver.com> <1475512.1733090108@sss.pgh.pa.us> <19d5f2c7-1252-4442-accb-8aa2cb289ad0@mailbox.org> <9a7ca237-7696-40e3-9ae6-12bd98c1b86c@mailbox.org> <5dc9dd9e-a3c9-45a1-8497-7e304812eb! 8c@aklaver.com> <4147349.1733786606@sss.pgh.pa.us> <16a6330b-9e6c-4f09-974b-075a7facb4c5@aklaver.com> <2b1143ef-2740-437a-a68d-664bb36beca8@aklaver.com> Content-Language: en-US From: PopeRigby In-Reply-To: <2b1143ef-2740-437a-a68d-664bb36beca8@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-META: afcggy918asrmtqw15jjy1r7ezho8apb X-MBO-RS-ID: 8e8c0b0cacfcf204c57 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/10/24 21:22, Adrian Klaver wrote: > On 12/10/24 19:05, PopeRigby wrote: >> On 12/9/24 16:31, Adrian Klaver wrote: >>> On 12/9/24 15:30, PopeRigby wrote: >>>> On 12/9/24 15:23, Tom Lane wrote: >>>>> Adrian Klaver writes: >>>>>> You could file an issue here: >>>>>> https://www.postgresql.org/account/login/?next=/account/submitbug/ >>>>>> Ask if the developers could use the mechanisms available here: >>>>>> https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-RELOCATION >>>>>> >>>>> This wouldn't really move the needle, since (a) there is not some >>>>> magic group of people that will become involved who aren't already >>>>> and (b) the requested fix seems exactly the same as the work >>>>> already in progress at [1]. >>>>> >>>>> What would help is to figure out why the proposed patch didn't >>>>> seem to work for you.  I continue to suspect that you didn't >>>>> really install the updated extension, but it's unclear. >>>>> >>>>>             regards, tom lane >>>>> >>>>> [1] >>>>> https://www.postgresql.org/message-id/flat/3395418.1618352794@sss.pgh.pa.us >>>> >>>> I compiled and installed PostgreSQL with the patch, and restarted >>>> it, so unless there are other steps I'm not sure what I could have >>>> done wrong. >>>> >>> >>> >>> What was the source of the patch? >>> >> This: >> https://www.postgresql.org/message-id/attachment/122092/0002-earthdistance-sql-functions.patch >> > > If I am following correctly I believe you need this one: > > https://www.postgresql.org/message-id/attachment/166859/v2-0002-Use-new-style-SQL-function-in-earthdistance-exten.patch > > > It has the changes that include the schema qualifications. The one you > used does not have those modifications. > Beautiful. How can I follow this so I know when it gets upstream?