Re: XX000: enum value 117721 not found in cache for enum enumcrash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: XX000: enum value 117721 not found in cache for enum enumcrash
Дата
Msg-id 27898.1341172748@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: XX000: enum value 117721 not found in cache for enum enumcrash  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: XX000: enum value 117721 not found in cache for enum enumcrash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Jun 30, 2012 at 5:51 AM, Andres Freund <andres@2ndquadrant.com> wrote:
>> This is not surprising. psql 2's backend finds rows in the index with enum
>> values that are not visible in its mvcc snapshot.

> I think the problem is that load_enum_cache_data() uses
> GetTransactionSnapshot() rather than GetLatestSnapshot().

That would only make the race condition window smaller (ie, hard
to reproduce manually like this, but not gone).
        regards, tom lane


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

Предыдущее
От: Alex Hunsaker
Дата:
Сообщение: Re: Support for array_remove and array_replace functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: XX000: enum value 117721 not found in cache for enum enumcrash