Scenario using pg_rewind - Mailing list pgsql-hackers

From Kato, Sho
Subject Scenario using pg_rewind
Date
Msg-id 25C1C6B2E7BE044889E4FE8643A58BA9639C52B4@G01JPEXMBKW03
Whole thread Raw
Responses Re: Scenario using pg_rewind  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

I have a question of how to use pg_rewind.
I see the manual. It says bringing an old master server back online after failover is typical case.

manual:
  A typical scenario is to bring an old master server back online after failover, as a standby that follows the new
master.

I came up with an another scenario where user uses a synchronized old master as a new master.
If so, pg_rewind need to copy WAL from a source server.
Is pg_rewind assuming to use the old master as a new master?

If pg_rewind is used only for a standby server installation, 
pg_rewind does not need to get WAL from source server, does it?

regards,

--
Kato Sho





pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Transactions involving multiple postgres foreign servers
Next
From: Daniel Gustafsson
Date:
Subject: Re: Two small patches for the isolationtester lexer