Re: rfc: add pg_dump options to dump output - Mailing list pgsql-hackers

From James William Pye
Subject Re: rfc: add pg_dump options to dump output
Date
Msg-id 20080603164324.GA27207@lit.jwp.name
Whole thread Raw
In response to Re: rfc: add pg_dump options to dump output  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: rfc: add pg_dump options to dump output  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jun 03, 2008 at 01:17:43AM -0400, Tom Lane wrote:
> Robert Treat <xzilla@users.sourceforge.net> writes:
> > I would like to add the flags given to pg_dump into the output of the pg_dump
> > file.

+1, FWIW

> > Anyone see any issues with this?
> 
> I'm a bit worried about breaking diff-equality of matching dumps,

I don't tend to do this too often, but I'm curious if others make a habit of this
for some process. When I have done this, it's normally one-off case.

> but mainly I don't see the point.

It's informative, no? Sure if every dump used the same flags, it's pointless.
However, that's certainly not the case: --schema, --exclude-schema, etc. ie, I
imagine it would be nice to have the information about how a dump was performed
without having to track down someone's script or pester the person who's in the
know via e-mail if you wanted/needed to repeat the process.


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Case-Insensitve Text Comparison
Next
From: Teodor Sigaev
Date:
Subject: Re: phrase search