Re: Rule recompilation - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: Rule recompilation
Date
Msg-id 3B4E43EB.619DD9F1@tpf.co.jp
Whole thread Raw
In response to Re: Rule recompilation  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: Rule recompilation
List pgsql-hackers
Tom Lane wrote:
> 
> Jan Wieck <JanWieck@Yahoo.com> writes:
> 
> What everyone else is telling you is that we should strive to do the
> same, not punt and make the user tell us when to recompile.
> 

In Oracle, objects like views, functions and triggers are
just marked INVALID when an object to which they make
reference is changed. INVALID objects are recompiled when
they are needed. in particular, if a table was dropped and
a table is created with the same name then the objects which
make reference (directly/indirectly) to the table would
revive.
We would have to reconsider *alter table .. rename ..* ..

regards,
Hiroshi Inoue


pgsql-hackers by date:

Previous
From: Guy Fraser
Date:
Subject: Re: Re: Postgresql bulk fast loader
Next
From: Tom Lane
Date:
Subject: Re: Rule recompilation