Re: invalidating cached plans

Oliver Jowett <oliver@opencloud.com>

From: Oliver Jowett <oliver@opencloud.com>
To: Neil Conway <neilc@samurai.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2005-03-15T04:06:35Z
Lists: pgsql-hackers
Neil Conway wrote:

> - it is the responsibility of the call site managing the prepared plan
> to check whether a previously prepared plan is invalid or not -- and to
> take the necessary steps to replan it when needed.

Does this mean that clients that use PREPARE/Parse need to handle "plan 
invalidated" as a possible response to EXECUTE/Bind, or will the backend 
keep the query string / parse tree around and replan on next execution?

-O