Re: Feature bug dumpall CREATE ROLE postgres - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Feature bug dumpall CREATE ROLE postgres
Date
Msg-id 2549130.1709159773@sss.pgh.pa.us
Whole thread Raw
In response to Re: Feature bug dumpall CREATE ROLE postgres  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Feature bug dumpall CREATE ROLE postgres  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-bugs
Andrew Dunstan <andrew@dunslane.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



pgsql-bugs by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Feature bug dumpall CREATE ROLE postgres
Next
From: Andrew Dunstan
Date:
Subject: Re: Feature bug dumpall CREATE ROLE postgres