Re: New VACUUM FULL crashes on temp relations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New VACUUM FULL crashes on temp relations
Дата
Msg-id 28798.1265138177@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New VACUUM FULL crashes on temp relations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> After tracing through it, the problem is that rebuild_relation() assumes
> toast tables are always in PG_TOAST_NAMESPACE; which has not been true
> since 8.3.  CLUSTER has been renaming temp toast tables into the wrong
> namespace right along.  Without the assert to call attention to it, who
> knows how long it would've taken to notice :-(

No, on closer inspection the bug was introduced here:
http://archives.postgresql.org/pgsql-committers/2008-10/msg00118.php
so 8.3 was OK.  In a non-asserting build the only consequence would have
been that checks for conflicting names were done in the wrong namespace.
Given the improbability of a conflict, we could have gone a very long
time before noticing the problem.  But it was still wrong.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Personal Copyright Notices
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Define INADDR_NONE on Solaris when it's missing.