Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory
Date
Msg-id CA+TgmoaXua9Av=S9pe_VNXjrsMfoyhHLB9wfJaSPYe2Lp5Agxw@mail.gmail.com
Whole thread Raw
In response to Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
Responses Re: [pg_rewind] cp: cannot stat ‘pg_wal/RECOVERYHISTORY’: No such file or directory
List pgsql-hackers
On Mon, Jun 10, 2019 at 7:08 AM Kuntal Ghosh <kuntalghosh.2007@gmail.com> wrote:
> This can surely be fixed from the script. While configuring the old
> master as a standby server, clear/modify the settings in
> postgresql.auto.conf. But, it contradicts with the comment in the file
> which forbids the user from editing the file.

The user isn't really forbidden from editing the file.  They can do so
safely when the server is down.

This whole thing looks like a nonissue to me.  If you set it up wrong,
it won't work.  So don't do that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Should we warn against using too many partitions?
Next
From: Alvaro Herrera
Date:
Subject: Re: postgres_fdw: unordered C includes