pgsql: If an index depends on no columns of its table, give it a

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: If an index depends on no columns of its table, give it a
Дата
Msg-id 20071108232323.9A002754156@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
If an index depends on no columns of its table, give it a dependency on the
whole table instead, to ensure that it goes away when the table is dropped.
Per bug #3723 from Sam Mason.

Backpatch as far as 7.4; AFAICT 7.3 does not have the issue, because it doesn't
have general-purpose expression indexes and so there must be at least one
column referenced by an index.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/catalog:
        index.c (r1.219.2.1 -> r1.219.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c?r1=1.219.2.1&r2=1.219.2.2)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: If an index depends on no columns of its table, give it a
Следующее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: In tsearch code, remove !(A && B) via restructuring, for clarity