GetTransactionSnapshot() in enum.c

Поиск
Список
Период
Сортировка
От Andres Freund
Тема GetTransactionSnapshot() in enum.c
Дата
Msg-id 20130819122938.GB8558@alap2.anarazel.de
обсуждение исходный текст
Ответы Re: GetTransactionSnapshot() in enum.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

ISTM that we shouldn't use GetTransactionSnapshot() in enum.c but
GetLatestSnapshot() in <= 9.3 and NULL/GetCatalogSnapshot() > 9.3.

typecache.c's usage was converted to GetLatestSnapshot() but enum.c's
was not.

I don't seem to have full mental capacity right now, but I think the
current usage could cause problems with a range type index over a enum
column. Index predicates might also be problematic.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: LDAP: bugfix and deprecated OpenLDAP API
Следующее
От: Charles Sheridan
Дата:
Сообщение: Automatic Index Creation for Column Types