Re: pg_dumpall - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: pg_dumpall
Date
Msg-id 20080117192135.GB21761@svana.org
Whole thread Raw
In response to Re: pg_dumpall  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-general
On Thu, Jan 17, 2008 at 11:14:22AM -0800, Glyn Astill wrote:
> > begin;
> > set transaction isolation level serializable;
> >
> > --- begin dumping stuff;
> >
>
> Wouldn't that just lock everything so nothing could be updated? Or
> just the table it is outputting?

PostgreSQL uses MVCC, which means the whole thing is lock free. It just
requires more diskspace. To keep the older versions around.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Attachment

pgsql-general by date:

Previous
From: Glyn Astill
Date:
Subject: Re: pg_dumpall
Next
From: Tom Hart
Date:
Subject: Re: advocacy: drupal and PostgreSQL