Re: pg_dump consistency.

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Marc Wrubleski <mlwruble(at)sorexsoftware(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump consistency.
Date: 2001-04-09 22:25:30
Message-ID: 200104092225.f39MPU230791@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Marc Wrubleski wrote:
>Hi all,
>
>I have been reading but cannot find this particular bit of info.
>
>I need to guarantee to my customer that the pg_dump is consistent. I
>couldn't guarantee consistency if the pg_dump is run while the db is
>on-line, and we cannot take the db off-line to do backups.
>
>So, can anyone tell me
>1. IF pg_dump is consistent (without taking the db offline),

Yes

>2. if so, how does it do it?

As with any other SQL query, pg_dump ignores any transaction started
or completed after its own start.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Finally, brethren, whatsoever things are true,
whatsoever things are honest, whatsoever things are
just, whatsoever things are pure, whatsoever things
are lovely, whatsoever things are of good report; if
there be any virtue, and if there be any praise, think
on these things." Philippians 4:8

Browse pgsql-general by date

  From Date Subject
Next Message Homayoun Yousefi'zadeh 2001-04-09 22:33:19 JDBC and Perl compiling problems w/ postgresql-7.1rc4
Previous Message Oliver Elphick 2001-04-09 22:21:31 Re: Re: information on users