RelationFlushRelation() or RelationClearRelation() - Mailing list pgsql-hackers

From Brent Verner
Subject RelationFlushRelation() or RelationClearRelation()
Date
Msg-id 20011106043845.A7614@rcfile.org
Whole thread Raw
Responses Re: RelationFlushRelation() or RelationClearRelation()
List 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 by date:

Previous
From: "Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков
Date:
Subject: Re: Core dump on 7.1.3 on Linux 2.2.19
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Proposal: 7.2b2 today