Re: Plan invalidation design - Mailing list pgsql-hackers

From Andrew Hammond
Subject Re: Plan invalidation design
Date
Msg-id 1172096451.546679.179580@k78g2000cwa.googlegroups.com
Whole thread Raw
In response to Re: Plan invalidation design  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Feb 18, 9:35 am, t...@sss.pgh.pa.us (Tom Lane) wrote:
> Russell Smith <mr-r...@pws.com.au> writes:
>
> > If you replan and immutable function, aren't you possibly messing up a
> > functional index that is using the old function.  Hey, if you change an
> > immutable function that has an index, you are in trouble already.
>
> True.

While I agree that if you change an immutable function used by an
index, your index will break, I do not understand how re-planning it
will cause problems. Is the worry that the index will not pick up on
the new plan?

Andrew



pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: Column storage positions
Next
From: Andrew Dunstan
Date:
Subject: Re: Column storage positions