Re: [COMMITTERS] pgsql: pg_ctl: Detect current standby state from pg_control

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql: pg_ctl: Detect current standby state from pg_control
Дата
Msg-id f6f718c7-d9c6-8855-074c-ec91ddb16752@2ndquadrant.com
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: pg_ctl: Detect current standby state from pg_control  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 9/26/16 7:56 PM, Peter Eisentraut wrote:
> On 9/26/16 8:53 AM, Tom Lane wrote:
>> I think that it's 100% pointless for get_control_dbstate
>> to be worried about transient CRC failures.  If writes to pg_control
>> aren't atomic then we have problems enormously larger than whether
>> "pg_ctl promote" throws an error or not.
>
> The new code was designed to handle that, but if we think it's not an
> issue, then we can simplify it.  I'm on it.

How about this?

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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: wal_segment size vs max_wal_size
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [COMMITTERS] pgsql: pg_ctl: Detect current standby state from pg_control