Re: invalidating cached plans

From: Neil Conway <neilc(at)samurai(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: invalidating cached plans
Date: 2005-03-15 04:25:41
Message-ID: 423663C5.80906@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oliver Jowett wrote:
> 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?

The latter -- the client won't be aware that replanning took place. (If
your prepared queries take minutes of planning time, perhaps this is
something you *would* like to be made aware of, however...)

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2005-03-15 05:19:46 Re: invalidating cached plans
Previous Message Bruce Momjian 2005-03-15 04:06:36 Re: signed short fd