From: | Brent Verner <brent(at)rcfile(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | RelationFlushRelation() or RelationClearRelation() |
Date: | 2001-11-06 09:38:45 |
Message-ID: | 20011106043845.A7614@rcfile.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | Postg토토 결과SQL |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2001-11-06 13:07:14 | Re: Proposal: 7.2b2 today |
Previous Message | Dmitry G. Mastrukov Дмитрий Геннадьевич Мастрюков | 2001-11-06 09:19:43 | Re: Core dump on 7.1.3 on Linux 2.2.19 |