From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com> |
Cc: | Oliver Jowett <oliver(at)opencloud(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: invalidating cached plans |
Date: | 2005-03-15 05:49:09 |
Message-ID: | 2938.1110865749@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Neil Conway <neilc(at)samurai(dot)com> writes:
> 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.
It seems possible that replanning would fail for some reason, in which
case the EXECUTE would get an error of a kind you maybe weren't
expecting during EXECUTE. Other than that it seems it should be
transparent.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-03-15 05:52:03 | Re: [HACKERS] [ADMIN] invalid multibyte character for locale |
Previous Message | Tom Lane | 2005-03-15 05:41:58 | Re: invalidating cached plans |