Re: Errors when restoring backup created by pg_dumpall
PopeRigby <poperigby@mailbox.org>
From: PopeRigby <poperigby@mailbox.org>
To: Adrian Klaver <adrian.klaver@aklaver.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>,
"pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2024-12-13T06:19:11Z
Lists: pgsql-general
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 <adrian.klaver@aklaver.com> 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?
Commits
-
contrib/earthdistance: Use SQL-standard function bodies.
- 969bbd0fafc0 18.0 landed
- 3652de36e432 17.3 landed
- 31daa10facec 16.7 landed