Re: Changing pg_dump default file format - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Changing pg_dump default file format
Date
Msg-id 6248.1383849920@sss.pgh.pa.us
Whole thread Raw
In response to Re: Changing pg_dump default file format  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Changing pg_dump default file format  (David Fetter <david@fetter.org>)
Re: Changing pg_dump default file format  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> If we wanted to change the defaults, I think it would be easier to
> create a separate bin name (e.g. pg_backup) than to change the existing
> parameters for pg_dump.

That might work.  However, just to be contrary: what about the
functionality of pg_dumpall?  We've heard repeated complaints about
pg_dump's lack of ability to dump multiple databases or global settings,
and just institutionalizing the existing -Fc format as the default
will make it harder not easier to fix that.

I'd be happier about inventing a pg_backup if it were a replacement for
pg_dumpall and not just a cosmetic wrapper.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Changing pg_dump default file format
Next
From: Jeff Janes
Date:
Subject: Re: Changing pg_dump default file format