Re: Persistent dead rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Persistent dead rows
Дата
Msg-id 7436.1170945729@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Persistent dead rows  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
Richard Huxton <dev@archonet.com> writes:
> Well, both cluster and vacuum full will require a lock on the table. But
>   they're more or less doing the same thing, so why the one should work
> and the other not I don't know.

CLUSTER isn't MVCC-safe --- it'll drop rows that are committed dead
even if they are potentially still visible to some open transaction.
The OP has *clearly* got an open-transaction problem.

            regards, tom lane

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Persistent dead rows
Следующее
От: Ged
Дата:
Сообщение: Re: Array OUT columns in a record returned from a function - part deux