Re: Enabling Checksums

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Enabling Checksums
Дата
Msg-id 513420E0.2060005@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: Enabling Checksums  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: Enabling Checksums  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On 3/3/13 10:52 PM, Craig Ringer wrote:
> I also suspect that at least in the first release it might be desirable
> to have an option that essentially says "something's gone horribly wrong
> and we no longer want to check or write checksums, we want a
> non-checksummed DB that can still read our data from before we turned
> checksumming off".

I see that as being something that involves disabling the cluster-wide 
flag that turns checksumming on, the one that is reported by 
pg_controldata.  I think it would have to be a one-way, system down kind 
of change, which I think is fair given the ugly (but feasible) situation 
you're describing.  It would need to be something stronger than a GUC. 
Once you start writing out pages without checksums, you're back into the 
fuzzy state where some pages have them, others don't, and there's no 
good way to deal with that yet.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: LIBPQ Implementation Requiring BYTEA Data
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Enabling Checksums