Re: pg_dumpall

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Steve Clark <sclark(at)netwolves(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dumpall
Date: 2008-01-17 18:43:58
Message-ID: 20080117184357.GL17828@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glyn Astill wrote:
> Out of interest, how does pg_dump manage to do a snapshot of a
> database at an instant in time?
>
> My mental picture of pg_dump was just a series of queries dumping out
> the tables...

begin;
set transaction isolation level serializable;

--- begin dumping stuff;

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-01-17 18:47:05 Re: pg_dumpall
Previous Message Glyn Astill 2008-01-17 18:37:25 Re: pg_dumpall