Re: Feature bug dumpall CREATE ROLE postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Jim Wilson <jim(at)wreath(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Feature bug dumpall CREATE ROLE postgres
Date: 2024-02-28 22:36:13
Message-ID: 2549130.1709159773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> What if we just skip creating the role if it's the bootstrap superuser
> in the source and has the same name as the bootstrap superuser in the
> destination, using some DO processing?

Hmm ... pg_dump has never used any DO blocks in its output, and
I'm not sure it's a great idea to start. Seems like the kind of
decision we could regret down the road, given the possible need
for pg_restore to parse the output.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Dunstan 2024-02-28 22:47:22 Re: Feature bug dumpall CREATE ROLE postgres
Previous Message Andrew Dunstan 2024-02-28 22:31:18 Re: Feature bug dumpall CREATE ROLE postgres