relhasexclusion is in the wrong place

Поиск
Список
Период
Сортировка
От Tom Lane
Тема relhasexclusion is in the wrong place
Дата
Msg-id 18637.1295967012@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
I've just noticed that we were guilty of very sloppy thinking in
defining pg_class.relhasexclusion.  The only place that actually
*uses* that value, rather than jumping through hoops to maintain it,
is BuildIndexInfo --- and what it's looking at is not the pg_class
entry of the table, but the pg_class entry of the index.  There is
no need whatsoever to maintain such a flag at the table level.

This being the case, I think we should move the flag to pg_index
(and rename it to indisexclusion).  That will get rid of all the
semantic fuzziness around it, the need to update it in VACUUM,
etc.
        regards, tom lane


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Extensions support for pg_dump, patch v27
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Is there a way to build PostgreSQL client libraries with MinGW