Bizarre reindex_relation API

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Bizarre reindex_relation API
Дата
Msg-id 2361.1302969167@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Bizarre reindex_relation API  (Noah Misch <noah@leadboat.com>)
Re: Bizarre reindex_relation API  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Why in the world is reindex_relation defined like this?

#define REINDEX_CHECK_CONSTRAINTS    0x1
#define REINDEX_SUPPRESS_INDEX_USE    0x2
extern bool reindex_relation(Oid relid, bool toast_too, int flags);

Seems like a rational design would have folded toast_too in as another
flag bit, instead of keeping it a separate argument.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Broken HOT chains in system catalogs
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Broken HOT chains in system catalogs