BUG #5986: pg_dump output is not ordered - Mailing list pgsql-bugs

From Daniel Migowski
Subject BUG #5986: pg_dump output is not ordered
Date
Msg-id 201104191252.p3JCqe2W074774@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5986: pg_dump output is not ordered  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: BUG #5986: pg_dump output is not ordered  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5986
Logged by:          Daniel Migowski
Email address:      dmigowski@ikoffice.de
PostgreSQL version: 8.3.14
Operating system:   Many
Description:        pg_dump output is not ordered
Details:

Hi,

I would love to give pg_dump an option to produce ordered output. This would
make it much easier to create dump files that are comparable with a textual
diff tools.

The following orderings are required:

* Dump objects ordered by name. I know this cannot be done with all objects,
but at least remain a reproducable, deterministic order.

Also nice would be:

* Dump data ordered by primary key, or if not available, dump data ordered
by all columns.

In addition it would be nice to have an option to omit oid comments, because
oids are usually not used in databases.

Thank you very much.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5985: CLUSTER ... USING can fail with ERROR: index xxx does not belong to table yyy
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #5986: pg_dump output is not ordered