pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Benjamin Krajmalnik <kraj@illumen.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Howto: Using PITR recovery for standby replication
Date: Thu, 20 Apr 2006 23:09:58 -0400
Message-ID: <2764.1145588998@sss.pgh.pa.us> (raw)
In-Reply-To: <8511B4970E0D124898E973DF496F9B4357E0F4@stash.stackdump.local>
References: <443F9BF3.4060101@laposte.net>
	<1145028323.5597.1.camel@localhost.localdomain>
	<443FDF05.4060600@laposte.net>
	<20060421014243.GR49405@pervasive.com>
	<8511B4970E0D124898E973DF496F9B4357E0F4@stash.stackdump.local>

"Benjamin Krajmalnik" <kraj@illumen.com> writes:
> I have tried using pg_dump, but discovered that the backup was not a =
> consistent backup.

Really?

> Back to the problem I faced when testing backups with pg_dump, it =
> appears that the backup was not a consistent backup of the data.  For =
> example, sequences which are used by some tables bo longer held the =
> correct values (the tables now held higher values),

Sequences are non-transactional, so pg_dump might well capture a higher
value of the sequence counter than is reflected in any table row, but
there are numerous other ways by which a gap can appear in the set of
sequence values.  That's not a bug.  If you've got real discrepancies
in pg_dump's output, a lot of us would like to know about 'em.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <2764.1145588998@sss.pgh.pa.us>
Permalink:  ../2764.1145588998@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2764.1145588998@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kraj@illumen.com
  Subject: Re: Howto: Using PITR recovery for standby replication
  In-Reply-To: <2764.1145588998@sss.pgh.pa.us>
  References: <443F9BF3.4060101@laposte.net> <1145028323.5597.1.camel@localhost.localdomain> <443FDF05.4060600@laposte.net> <20060421014243.GR49405@pervasive.com> <8511B4970E0D124898E973DF496F9B4357E0F4@stash.stackdump.local> <2764.1145588998@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox