Pg_dump consistency.

From: samana srikanth <samanasrikanth(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Pg_dump consistency.
Date: 2009-05-06 09:37:02
Message-ID: e42828680905060237v62371114v6b474e16e94cf1b3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All
I have a doubt.
let's say i have 100 tables in a database DB.

when i say "pg_dump -d DB"

It dumps the tables one after another.

my question is lets say we have dependent tables.
and at the time of pg_dump, we are bombarding the database tables with lots
of data (inserts).

At time 1 (dump of table1 is done)

Table1
---------
Id1 row1
-----------

Table2
---------
Id1 rowx1
-----------

At time 2 (dump of table2 is going on)

Table1
---------
Id1 row1
Id2 row2
-----------

Table2
---------
Id1 rowx1
Id2 rowx2
-----------

Now in this scenaio
will the dump contains the consistent data.??

Thanks
Srikanth

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2009-05-06 09:48:51 Re: Pg_dump consistency.
Previous Message Michael Monnerie 2009-05-06 05:45:56 Re: Can't drop constraint?