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 1tLFAs-00Dc1C-E4 for pgsql-general@arkaria.postgresql.org; Wed, 11 Dec 2024 05:22:14 +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 1tLFAp-00CMRk-Qk for pgsql-general@arkaria.postgresql.org; Wed, 11 Dec 2024 05:22:13 +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 1tLFAo-00CMPb-Sf for pgsql-general@lists.postgresql.org; Wed, 11 Dec 2024 05:22:12 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLFAj-002Cef-1s for pgsql-general@postgresql.org; Wed, 11 Dec 2024 05:22:10 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 735FA1383A86; Wed, 11 Dec 2024 00:22:03 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Wed, 11 Dec 2024 00:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733894523; x=1733980923; bh=FcgiD/RxEWBOIxROgEO6/4dLNRUoZaOP9zmrJ01ZrSg=; b= FO7jaywUJfm2zOg45gbDQGLzHjNu6q+kvhFA6AdTYjk9B9O3pcPwm8ZgfiG2EAyS CPSEyfIiL95B98CtY5VcyTNlqL2YrkDOqWMKzER7FV9ka3WzJJ0176o6LwnUPUvA e/qSBD1HmuIwjqSB/lzey7AMJPFFsWzrn0kJguuTiEG8hEtZUTOmDjnrGm4w+kRZ Mjd30uJ/JyvG7rYMGU2YttIN9WEQJG/dKkaucXw045PlEa6NejZFRL8/wNs15CYw 9COr/yOZRqSQem+4yGLRblV+4MnarG3GUtOExtDRiiG6tSNQl+DyohTKnU1bap4V Mphu6Si/i5yayb2Y1Vds6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1733894523; x= 1733980923; bh=FcgiD/RxEWBOIxROgEO6/4dLNRUoZaOP9zmrJ01ZrSg=; b=o VK08nsGkzfjYrtm15LrzdYSm1PxAjdP2RHONorSDYoV9OH6pbg1/GzMj54HuIQzV ooSHLv9fSSpvYrzBXYb9bxDA62/e8WqZ3gMEnxNY78JSp8/RNGG815fUDUi3Mw6K XxtJfaX+zVDb4Qqva0iotLuGY5WUrmw/j1ZfuKZOkToDZt8tWI/SR4VBmoceoHQV b8k3K06GClfEhXIHL74UIcAfWi5EwbDuk3qa8Rq6YrJiBDBKMVald/50afH+vXn3 HmGYJxf7uVYatB1SK5kuMPLW5Fuf4afr2e0mC+NvtiE/zwNdwUjPSf/uRUZmtJO+ h+VOINszXUwM6F2//XLUw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrjeelgdejlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpefgudefkefhveefleevieeu veehvdduudekuddvvdelhfeuueeijedtuedvvedvueenucffohhmrghinhepphhoshhtgh hrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspg hrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepphhophgvrhhi ghgshiesmhgrihhlsghogidrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrd hprgdruhhspdhrtghpthhtohepuggrvhhiugdrghdrjhhohhhnshhtohhnsehgmhgrihhl rdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghsqh hlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Dec 2024 00:22:02 -0500 (EST) Message-ID: <2b1143ef-2740-437a-a68d-664bb36beca8@aklaver.com> Date: Tue, 10 Dec 2024 21:22:01 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Errors when restoring backup created by pg_dumpall To: PopeRigby , Tom Lane Cc: "David G. Johnston" , "pgsql-general@postgresql.org" References: <6a6439f1-8039-44e2-8fb9-59028f7f2014@mailbox.org> <41791b6d-aaf5-4fed-9cc3-e89bc49e8637@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> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. -- Adrian Klaver adrian.klaver@aklaver.com