RelationFlushRelation() or RelationClearRelation()

Поиск
Список
Период
Сортировка
От Brent Verner
Тема RelationFlushRelation() or RelationClearRelation()
Дата
Msg-id 20011106043845.A7614@rcfile.org
обсуждение исходный текст
Ответы Re: RelationFlushRelation() or RelationClearRelation()
Список pgsql-hackers
Hi,
 I've almost got the ALTER TABLE RENAME fixed so it doesn't break
triggers referring to the renamed column.  The final problem is that
after the pg_trigger.tgargs is updated, that change is not visible 
in the current backend.  I see that there are a couple of interesting
functions to refresh the RelationCache:
 RelationClearRelation(Relation, bool);
 RelationFlushRelation(Relation);

Which one of these should I use to have the new pg_trigger data visible
in the current backend?  Or is there a better way than either of these?

I should be able to clean up this work and send a patch tomorrow 
evening if I get this kink worked out.

Thanks, Brent

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman


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

Предыдущее
От: "Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков
Дата:
Сообщение: Re: Core dump on 7.1.3 on Linux 2.2.19
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Proposal: 7.2b2 today