Re: pg_rewind restore_command issue in PG12

2021-01-07 Thread Amine Tengilimoglu
You're welcome Michael! Michael Paquier , 7 Oca 2021 Per, 14:54 tarihinde şunu yazdı: > On Tue, Jan 05, 2021 at 11:54:42AM +0300, Amine Tengilimoglu wrote: > > Thank you Michael. I agree with you. Relevant part can be removed from > the > > document and eliminate the confusion at least. > >

Re: pg_rewind restore_command issue in PG12

2021-01-07 Thread Michael Paquier
On Tue, Jan 05, 2021 at 11:54:42AM +0300, Amine Tengilimoglu wrote: > Thank you Michael. I agree with you. Relevant part can be removed from the > document and eliminate the confusion at least. Okay, I got around this stuff, and committed a fix for 9.6~12. Thanks for the report, Amine! --

Re: pg_rewind restore_command issue in PG12

2021-01-05 Thread Amine Tengilimoglu
Thank you Michael. I agree with you. Relevant part can be removed from the document and eliminate the confusion at least. Michael Paquier , 5 Oca 2021 Sal, 10:17 tarihinde şunu yazdı: > On Mon, Jan 04, 2021 at 04:12:34PM +0300, Amine Tengilimoglu wrote: > >When I read the pg_rewind PG12

Re: pg_rewind restore_command issue in PG12

2021-01-04 Thread Michael Paquier
On Mon, Jan 04, 2021 at 04:12:34PM +0300, Amine Tengilimoglu wrote: >When I read the pg_rewind PG12 doc. It says: > > "... but if the target cluster ran for a long time after the divergence, > the old WAL files might no longer be present. In that case, they can be > manually copied from the

Re: pg_rewind restore_command issue in PG12

2021-01-04 Thread Amine Tengilimoglu
When I read the pg_rewind PG12 doc. It says: "... but if the target cluster ran for a long time after the divergence, the old WAL files might no longer be present. In that case, they can be manually copied from the WAL archive to the pg_wal directory,* or fetched on startup by configuring

Re: pg_rewind restore_command issue in PG12

2021-01-04 Thread Heikki Linnakangas
On 03/01/2021 20:13, Amine Tengilimoglu wrote:      In a situation where pg_rewind gets an error due to a missing wall, I  have set restore_command so that the needed wals can be read from the archive (I don't want to manually copy the wal files), but I see it doesn't work. What am I missing?