Re: WAL replay does not verify integrity

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: WAL replay does not verify integrity
Дата
Msg-id 4B8CE13C.5030801@enterprisedb.com
обсуждение исходный текст
Ответ на WAL replay does not verify integrity  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-hackers
Albe Laurenz wrote:
> As demonstrated here:
> http://archives.postgresql.org/pgsql-general/2010-02/msg01057.php
> 
> it can happen that you end up with a corrupt database
> if you use PITR to recover past a hardware failure.
> 
> It seems that unique constraints are not verified during
> WAL replay.
> 
> Is that intentional or an oversight that should be fixed?

It's intentional. WAL replay works at a lower level, it has no knowledge
of operators or the concept of uniqueness.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Hung postmaster (8.3.9)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pg_stop_backup does not complete