Re: Fix pg_upgrade to preserve datdba - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix pg_upgrade to preserve datdba
Date
Msg-id 388155.1616351018@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix pg_upgrade to preserve datdba  (Jan Wieck <jan@wi3ck.info>)
Responses Re: Fix pg_upgrade to preserve datdba  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Jan Wieck <jan@wi3ck.info> writes:
>> On 3/21/21 12:57 PM, Tom Lane wrote:
>>> I think maybe what we have here is a bug in pg_restore, its
>>> --create switch ought to be trying to update the database's
>>> ownership.

> Thanks for that. I like this patch a lot better.

Needs a little more work than that --- we should allow it to respond
to the --no-owner switch, for example.  But I think likely we can do
it where other object ownership is handled.  I'll look in a bit.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pg_upgrade failing for 200+ million Large Objects
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Built-in connection pooler