[HACKERS removed from CC: list]

Joseph Shraibman <[EMAIL PROTECTED]> writes:


> Doing a dumpall for a backup is taking a long time, the a restore from
> the dump files doesn't leave the database in its original state.  Could
> a command be added that locks all the files, quickly tars them up, then
> releases the lock?

As I understand it, pg_dump runs inside a transaction, so the output
reflects a consistent snapshot of the database as of the time the dump 
starts (thanks to MVCC); restoring will put the database back to where 
it was at the start of the dump.

Have you observed otherwise?

-Doug
-- 
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to