Re: Backup & Restore - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Backup & Restore
Date
Msg-id 200202252017.g1PKHfh08926@candle.pha.pa.us
Whole thread Raw
In response to Re: Backup & Restore  ("Gavin M. Roy" <gmr@justsportsusa.com>)
List pgsql-general
Gavin M. Roy wrote:
[ There is text before PGP section. ]
>
-- Start of PGP signed section.
> This is true to a point.  Since my DB is dormant from 11 PM PST time
> until 5 AM PST time, I'm not concerned about the table relationships
> getting out of sync.  I guess this isn't the most eloquent way of
> doing this, but it works for me...
>
> So based upon your comment, pg_dump locks the database while running,
> preventing any data inconsistencies?

Yes, doesn't so much lock as use MVCC to return a constent snapshot.

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

pgsql-general by date:

Previous
From: "Gavin M. Roy"
Date:
Subject: Re: Backup & Restore
Next
From: Doug McNaught
Date:
Subject: Re: Backup & Restore