Re: [HACKERS] pg_dump inconsistences - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] pg_dump inconsistences
Date
Msg-id 199905260457.AAA02819@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] pg_dump inconsistences  (Vadim Mikheev <vadim@krs.ru>)
Responses Re: [HACKERS] pg_dump inconsistences  (Don Baccus <dhogaza@pacifier.com>)
List pgsql-hackers
> 
> As far as I see each COPY table TO STDOUT is executed in
> its own transaction. This may cause referential inconsistences
> (pg_dump saves foreign keys, then other transaction deletes some
> foreign and primary keys and commits, now pg_dump saves
> primary keys and loses some of them, breaking referential
> integrity).

Oh, I get it.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] pg_dump inconsistences
Next
From: Ari Halberstadt
Date:
Subject: Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot