Re: pg_rewind in contrib - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: pg_rewind in contrib
Date
Msg-id 54ACECCB.6030909@vmware.com
Whole thread Raw
In response to Re: pg_rewind in contrib  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_rewind in contrib
List pgsql-hackers
On 01/07/2015 01:54 AM, Andrew Dunstan wrote:
> I also think it's a great idea. But I think we should consider the name
> carefully. pg_resync might be a better name. Strictly, you might not be
> quite rewinding, AIUI.

pg_resync sounds too generic. It's true that if the source server has 
changes of its own, then it's more of a sideways movement than 
rewinding, but I think it's nevertheless a good name.

It does always rewind the control file, so that after startup, WAL 
replay begins from the last common point in history between the servers. 
WAL replay will catch up with the source server, which might be ahead of 
last common point, but strictly speaking pg_rewind is not involved at 
that point anymore.

- Heikki




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pg_rewind in contrib
Next
From: Heikki Linnakangas
Date:
Subject: Re: pg_rewind in contrib