Re: pg_dump --split patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump --split patch
Date
Msg-id 6295.1293555060@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump --split patch  (Joel Jacobson <joel@gluefinance.com>)
Responses Re: pg_dump --split patch
List pgsql-hackers
Joel Jacobson <joel@gluefinance.com> writes:
> 2010/12/28 Tom Lane <tgl@sss.pgh.pa.us>
>> Joel Jacobson <joel@gluefinance.com> writes:
>>> Solution: I propose a new option to pg_dump, --split, which dumps each
>>> object to a separate file in a user friendly directory structure:
>> 
>> Um ... how does that solve the claimed problem exactly?

> Because then you can do,
> $ diff -r <old schema dump dir> <new schema dump dir>,
> instead of,
> $ diff <old entire schema dump> <new entire schema dump>
> which will nicely reveal each individual object modified, as opposed to a
> huge global diff of everything

That has at least as many failure modes as the other representation.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: pg_primary_conninfo
Next
From: Joel Jacobson
Date:
Subject: Re: pg_dump --split patch