Re: Backup history file should be replicated in Streaming Replication?

Fujii Masao <masao.fujii@gmail.com>

From: Fujii Masao <masao.fujii@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Simon Riggs <simon@2ndquadrant.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-05T05:32:58Z
Lists: pgsql-hackers
On Mon, Jan 4, 2010 at 9:55 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> Heikki Linnakangas wrote:
>> Here's is modified patch that adds a new backupStartPoint field to
>> pg_control for that + some other minor editorialization.
>
> I've committed this now.

Thanks a lot!

src/backend/access/transam/xlog.c
> else
> {
> 	XLogRecPtr	InvalidXLogRecPtr = {0, 0};
> 	ControlFile->minRecoveryPoint = InvalidXLogRecPtr;
> }

In my original patch, the above is for the problem discussed in
http://archives.postgresql.org/pgsql-hackers/2009-12/msg02039.php

Since you've already fixed the problem, that code is useless.
How about getting rid of that code?

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center