Re: invalidating cached plans - Mailing list pgsql-hackers

From Oliver Jowett
Subject Re: invalidating cached plans
Date
Msg-id 42365F4B.3070001@opencloud.com
Whole thread Raw
In response to invalidating cached plans  (Neil Conway <neilc@samurai.com>)
Responses Re: invalidating cached plans  (Neil Conway <neilc@samurai.com>)
List 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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: signed short fd
Next
From: Neil Conway
Date:
Subject: Re: invalidating cached plans