Re: pg_dump: bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump: bug?
Date
Msg-id 14987.1012627774@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump: bug?  (Neil Conway <nconway@klamath.dyndns.org>)
Responses Re: pg_dump: bug?  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Neil Conway <nconway@klamath.dyndns.org> writes:
> Now, is this a bug?

Good question.  I don't think this is the only example of a
non-self-consistent situation that could arise after a series of
ALTER commands; I'm not sure that we can or should try to solve
every one.

However, it does seem that a superuser should be able to create
databases on behalf of users who can't themselves do so.   So
I'd say that we need a "CREATE DATABASE foo WITH OWNER bar" option.
Then pg_dumpall should emit such critters rather than the
circumlocution it uses now.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Those doc corrections I suggested...
Next
From: Don Baccus
Date:
Subject: Re: pg_dump: bug?