Re: [PATCHES] wal_checksum = on (default) | off

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] wal_checksum = on (default) | off
Дата
Msg-id 17558.1167926999@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] wal_checksum = on (default) | off  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: [PATCHES] wal_checksum = on (default) | off  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> On Thu, 2007-01-04 at 10:00 -0500, Tom Lane wrote:
>> "Simon Riggs" <simon@2ndquadrant.com> writes:
>>> Recovery can occur with/without same setting of wal_checksum, to avoid
>>> complications from crashes immediately after turning GUC on.
>>
>> Surely not.  Otherwise even the "on" setting is not really a defense.

> Only when the CRC is exactly zero, which happens very very rarely.

"It works most of the time" doesn't exactly satisfy me.  What's the
use-case for changing the variable on the fly anyway?  Seems a better
solution is just to lock down the setting at postmaster start.

            regards, tom lane

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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Tabs or Spaces