Re: Cascading replication and recovery_target_timeline='latest' - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Cascading replication and recovery_target_timeline='latest'
Date
Msg-id 5046DE84.7020107@iki.fi
Whole thread Raw
In response to Re: Cascading replication and recovery_target_timeline='latest'  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 04.09.2012 21:56, Peter Eisentraut wrote:
> On Tue, 2012-09-04 at 19:34 -0700, Heikki Linnakangas wrote:
>>> The attached patch fixes it for me. It fixes the original problem, by
>>> adding the missing locking and terminating walsenders on a target
>>> timeline change, and also changes the behavior wrt. WAL segments
>>> restored from the archive, as I just suggested in another email
>>> (http://archives.postgresql.org/pgsql-hackers/2012-09/msg00206.php).
>>
>> Committed that.
>
> New compiler warnings:
>
> xlog.c: In function ‘XLogFileRead’:
> xlog.c:2785:14: error: unused variable ‘endptr’ [-Werror=unused-variable]
> xlog.c:2784:25: error: unused variable ‘xlogctl’ [-Werror=unused-variable]

Fixed, thanks.

- Heikki



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Cascading replication and recovery_target_timeline='latest'
Next
From: Amit Kapila
Date:
Subject: Re: Proof of concept: standalone backend with full FE/BE protocol