history file on replica and double switchover - Mailing list pgsql-hackers

From Grigory Smolkin
Subject history file on replica and double switchover
Date
Msg-id 54b059d4-2b48-13a4-6f43-95a087c92367@postgrespro.ru
Whole thread Raw
Responses Re: history file on replica and double switchover
List pgsql-hackers
Hello!

I`ve noticed, that when running switchover replica to master and back to 
replica, new history file is streamed to replica, but not archived,
which is not great, because it breaks PITR if archiving is running on 
replica. The fix looks trivial.
Bash script to reproduce the problem and patch are attached.

-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: Surafel Temesgen
Date:
Subject: Evaluate expression at planning time for two more cases
Next
From: Julien Rouhaud
Date:
Subject: Re: list of extended statistics on psql