Re: [HACKERS] Ordering of pg_dump output

Chris <chrisb@nimrod.itg.telstra.com.au>

From: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
To: hackers@postgreSQL.org
Date: 2000-02-08T22:50:03Z
Lists: pgsql-hackers
> Tom Lane wrote:
> >
> > The simplest real solution I've heard so far is to dump database objects
> > in order by OID rather than doing it strictly by type.

Hmm. Now if my OO stuff was working I guess pg_dump could be implemented
as...

List<PGObject*> dblist = pgselect("SELECT ** from object order by oid");
while (dblist.begin(); !dblist.atEnd(); dblist++) {
	dblist.obj().dump();