Re: PITR - Some data is not recovered.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: OKADA Satoshi <okada(dot)satoshi(at)lab(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PITR - Some data is not recovered.
Date: 2004-08-09 16:59:10
Message-ID: 16403.1092070750@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

OKADA Satoshi <okada(dot)satoshi(at)lab(dot)ntt(dot)co(dot)jp> writes:
> I'm testing PITR using pgbench and postgresql ver.8.0bata.

Is this actually the official beta1 version, or is it a snapshot from
last week sometime? In the first commit that had pg_start_backup(),
there wasn't any logic to ensure that the recovery replay would really
start from before the backup began. If a checkpoint occurred after you
started the tar run but before tar got around to copying pg_control,
the recovery wouldn't work properly. I can't be sure but your report
seems consistent with such a problem.

[ digs in CVS logs ] The necessary additional code was committed in
revision 1.155 of src/backend/access/transam/xlog.c. If you have 1.154
please update and try again. If you do have 1.155 or later then we
need to look closer.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-09 17:00:33 Re: Add Missing From?
Previous Message Josh Berkus 2004-08-09 16:53:29 Re: Add Missing From?