Re: a question about relkind of RelationData handed over to heap_update function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a question about relkind of RelationData handed over to heap_update function
Дата
Msg-id 1819.1256483230@sss.pgh.pa.us
обсуждение исходный текст
Ответ на a question about relkind of RelationData handed over to heap_update function  (노홍찬 <fallsmal@cs.yonsei.ac.kr>)
Список pgsql-hackers
노홍찬 <fallsmal@cs.yonsei.ac.kr> writes:
> I found that the relkind fields of all RelationData which is handed over to
> heap_update are all the same as ��r��.

Well, yeah: heap_update is applied to heaps (ordinary tables).  Not indexes.
The indexes are generally updated in a separate operation afterwards.

> I want to distinguish normal relation (actual table) from primary index
> relation  (primary indexes of some tables).

Perhaps you should take about three steps back and explain what it is
you want to do, because heap_update is probably not the right place
to be doing it.
        regards, tom lane


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

Предыдущее
От: 노홍찬
Дата:
Сообщение: a question about relkind of RelationData handed over to heap_update function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Parsing config files in a directory