Re: Errors when restoring backup created by pg_dumpall
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: PopeRigby <poperigby@mailbox.org>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>, "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2024-12-01T03:51:40Z
Lists: pgsql-general
On Saturday, November 30, 2024, PopeRigby <poperigby@mailbox.org> wrote: > > Ok, so the error is not emanating from your code but rather the body of > the ll_to_earth function defined in the earthdistance extension. > > David J. > > By code do you mean my sql file created by pg_dumpall? Sorry, I'm just a > self-hoster so I'm not very well versed in Postgres. I'm just trying to get > my server back online. > Yes, your “code” is the user contents of the SQL file. Your best bet is probably to locate the various “set_config(‘search_path’, ‘’)” commands and add “public” to them. Since you installed earthdistance to public this should bridge the gap. David J.
Commits
-
contrib/earthdistance: Use SQL-standard function bodies.
- 969bbd0fafc0 18.0 landed
- 3652de36e432 17.3 landed
- 31daa10facec 16.7 landed