Re: [HACKERS] Ordering of pg_dump output - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: [HACKERS] Ordering of pg_dump output
Date
Msg-id 38A09D9B.F7833335@nimrod.itg.telecom.com.au
Whole thread Raw
In response to Re: [HACKERS] network_ops in 7.0 and pg_dump question  (Oleg Bartunov <oleg@sai.msu.su>)
List 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();


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: AW: [HACKERS] Another nasty cache problem
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Ordering of pg_dump output