Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Stefan Sonnenberg-Carstens <stefan(dot)sonnenberg(dot)carstens(at)gmail(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system
Date: 2020-01-17 09:45:36
Message-ID: 3736031579254336@vla5-dcf36e533bf7.qloud-c.yandex.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello

> as far as I understand these restrictions apply when hot_standby is set to on AND a recovery.conf is missing.

When hot_standby is set to on AND a recovery.conf is PRESENT
Here is: https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/access/transam/xlog.c#L6185
ArchiveRecoveryRequested is set if we found recovery.conf (see readRecoveryCommandFile)

> I can confirm that hot_standby is commented out - is this setting on by default?

Yes, in postgresql 10 and newer.

regards, Sergei

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Sonnenberg-Carstens 2020-01-17 10:42:28 Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system
Previous Message Stefan Sonnenberg-Carstens 2020-01-17 09:33:27 Re: BUG #16215: Restore failes if number of workers in postgresql.conf is lower than on source system