Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread David Steele
Hi Peter, On 9/27/19 3:35 PM, Peter Eisentraut wrote: > On 2019-09-27 10:34, Fujii Masao wrote: >>> Also, are you sure this is a new behavior? >> In v11 or before, if backup_label exists but not recovery.conf, >> the startup process doesn't enter an archive recovery mode. It starts >> crash

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread Peter Eisentraut
On 2019-09-27 10:34, Fujii Masao wrote: >> Also, are you sure this is a new behavior? > In v11 or before, if backup_label exists but not recovery.conf, > the startup process doesn't enter an archive recovery mode. It starts > crash recovery in that case. So the bahavior is somewhat different >

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread David Steele
On 9/27/19 4:34 AM, Fujii Masao wrote: > On Fri, Sep 27, 2019 at 3:36 AM David Steele wrote: >> >> On 9/24/19 1:25 AM, Fujii Masao wrote: >>> >>> When backup_label exists, the startup process enters archive recovery mode >>> even if recovery.signal file doesn't exist. In this case, the startup

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread David Steele
On 9/27/19 4:41 AM, Fujii Masao wrote: > On Fri, Sep 27, 2019 at 4:07 PM Masahiko Sawada wrote: >> >> On Fri, Sep 27, 2019 at 3:36 AM David Steele wrote: >>> >>> On 9/24/19 1:25 AM, Fujii Masao wrote: When backup_label exists, the startup process enters archive recovery mode even

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread Fujii Masao
On Fri, Sep 27, 2019 at 4:07 PM Masahiko Sawada wrote: > > On Fri, Sep 27, 2019 at 3:36 AM David Steele wrote: > > > > On 9/24/19 1:25 AM, Fujii Masao wrote: > > > > > > When backup_label exists, the startup process enters archive recovery mode > > > even if recovery.signal file doesn't exist.

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread Fujii Masao
On Fri, Sep 27, 2019 at 3:36 AM David Steele wrote: > > On 9/24/19 1:25 AM, Fujii Masao wrote: > > > > When backup_label exists, the startup process enters archive recovery mode > > even if recovery.signal file doesn't exist. In this case, the startup > > process > > tries to retrieve WAL files

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-27 Thread Masahiko Sawada
On Fri, Sep 27, 2019 at 3:36 AM David Steele wrote: > > On 9/24/19 1:25 AM, Fujii Masao wrote: > > > > When backup_label exists, the startup process enters archive recovery mode > > even if recovery.signal file doesn't exist. In this case, the startup > > process > > tries to retrieve WAL files

Re: recovery starting when backup_label exists, but not recovery.signal

2019-09-26 Thread David Steele
On 9/24/19 1:25 AM, Fujii Masao wrote: > > When backup_label exists, the startup process enters archive recovery mode > even if recovery.signal file doesn't exist. In this case, the startup process > tries to retrieve WAL files by using restore_command. Then, at the beginning > of the archive