Re: question about pg_dump - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: question about pg_dump
Date
Msg-id 2f4958ff0910220745u5e093660s4fea120d818458@mail.gmail.com
Whole thread Raw
In response to question about pg_dump  ("Scot Kreienkamp" <SKreien@la-z-boy.com>)
Responses Re: question about pg_dump
List pgsql-general


On Thu, Oct 22, 2009 at 3:42 PM, Scot Kreienkamp <SKreien@la-z-boy.com> wrote:

Hi everyone,

 

I have a question about pg_dump backups.  Will changes made in the database made during a pg_dump operation be reflected in the dumped datafile?  Or is the data the exact dataset that was in the database as of the start of the backup?

pg_dump opens transaction, on a serializable isolation level. In short, it is the proper full isolation level (as oppose to the default one: "read committed"). It can cause locks up on database, but the idea is that the dump it self is a snapshot, and is fully atomic.




--
GJ

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: FATAL error "could not find function "alt_to_mic" in file cyrillic_and_mic.so
Next
From: Tom Lane
Date:
Subject: Re: leak in libpq, getpwuid