Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby
Date
Msg-id 4C064344.7040601@enterprisedb.com
Whole thread Raw
In response to Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On 02/06/10 06:23, Fujii Masao wrote:
> On Mon, May 31, 2010 at 7:17 PM, Fujii Masao<masao.fujii@gmail.com>  wrote:
>> 4) Change it so that checkpoint_segments takes effect in standby mode,
>> but not during recovery otherwise
>
> I revised the patch to achieve 4). This will enable checkpoint_segments
> to trigger a restartpoint like checkpoint_timeout already does, in
> standby mode (i.e., streaming replication or file-based log shipping).

Hmm, XLogCtl->Insert.RedoRecPtr is not updated during recovery, so this 
doesn't work.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [BUGS] BUG #5487: dblink failed with 63 bytes connection names
Next
From: Pavel Stehule
Date:
Subject: proposal - custom format for date, timestamp