Re: Errors when restoring backup created by pg_dumpall - Mailing list pgsql-general

From Ron Johnson
Subject Re: Errors when restoring backup created by pg_dumpall
Date
Msg-id CANzqJaBVSAEd8eTKeocbqf1v7hHbA6XAY5t63Sh9vhAm62_+Eg@mail.gmail.com
Whole thread Raw
In response to Re: Errors when restoring backup created by pg_dumpall  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Errors when restoring backup created by pg_dumpall
List pgsql-general
On Sat, Nov 30, 2024 at 10:36 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
[snip] 
In future schema qualify all references.

For now in the dump file you could search for

SELECT pg_catalog.set_config('search_path', '', false);

and set to

SELECT pg_catalog.set_config('search_path', 'public', false);

What if this had been a pg_dump --format={custom,directory} backup?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Errors when restoring backup created by pg_dumpall
Next
From: "David G. Johnston"
Date:
Subject: Re: Errors when restoring backup created by pg_dumpall