Re: Opclass parameters of indexes lost after REINDEX CONCURRENTLY

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Opclass parameters of indexes lost after REINDEX CONCURRENTLY
Дата
Msg-id YX05++bLtwyfaOle@paquier.xyz
обсуждение исходный текст
Ответ на Re: Opclass parameters of indexes lost after REINDEX CONCURRENTLY  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: Opclass parameters of indexes lost after REINDEX CONCURRENTLY[  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Sat, Oct 30, 2021 at 04:11:06AM -0700, Zhihong Yu wrote:
> Should datumCopy() be used inside the loop ? I saw the following
> in get_attoptions(Oid relid, int16 attnum):

Yeah, you are right that it would be better here to use
get_attoptions() to grab a copy of each attribute's option directly
from the catalogs.  We also do that for predicates and expressions.
--
Michael

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: remove internal support in pgcrypto?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add additional information to src/test/ssl/README