Re: Standby trying "restore_command" before local WAL

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Emre Hasegeli <emre(at)hasegeli(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, berge(at)trivini(dot)no, Gürkan Gür <ben(at)gurkan(dot)in>, Raimund Schlichtiger <raimund(dot)schlichtiger(at)innogames(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Bernhard Schrader <bernhard(dot)schrader(at)innogames(dot)com>, Vik Fearing <vik(at)2ndquadrant(dot)fr>
Subject: Re: Standby trying "restore_command" before local WAL
Date: 2018-07-31 14:00:04
Message-ID: CANP8+jKooAqhs7sox5y8vYs0mM-jCBtQR0inmKQpX8oQLFq2fw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 31 July 2018 at 13:55, Emre Hasegeli <emre(at)hasegeli(dot)com> wrote:
> Currently the startup process tries the "restore_command" before
> the WAL files locally available under pg_wal/ [1]. I believe we should
> change this behavior.

> If there will be a consensus on fixing this, I can try to prepare
> a patch. The company, I am currently working for, is also interested
> in sponsoring a support company to fix this problem.

Seems like a new option to choose your preference would help here,
with the default being the existing behavior.

Suggestions for parameter name welcome.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2018-07-31 14:17:58 Re: Doc patch: add RECURSIVE to bookindex
Previous Message Fabien COELHO 2018-07-31 13:41:11 Re: Adding a note to protocol.sgml regarding CopyData