Re: Updating system catalogs after a tuple deletion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updating system catalogs after a tuple deletion
Дата
Msg-id 9116.989850978@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Updating system catalogs after a tuple deletion  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы RE: Updating system catalogs after a tuple deletion  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> What do I use instead of the CatalogIndexInsert command to tell the index
> that a tuple has been removed?

Nothing.  The tuple isn't really gone, and neither are its index
entries.  Getting rid of them later is VACUUM's problem.

BTW, there already is code that cleans out pg_relcheck: see
RemoveRelCheck() in src/backend/catalog/heap.c.
        regards, tom lane


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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Coping with huge deferred-trigger lists
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in PLPGSQL