Re: Prepared statements considered harmful

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Prepared statements considered harmful
Date: 2006-08-31 16:10:35
Message-ID: 8764.1157040635@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> As noted downthread, we've confused out-of-line parameter value shipping
>> with prepared statements. It might be worth rejiggering the FE/BE
>> protocol to separate those things better.

> Well, that's surely not going to happen in a hurry, is it? Maybe a quick
> fix would be a way to allow the user to turn plan caching on and off.

There aren't any "quick fixes" here (at least nothing that's likely to
appear in 8.2). But I didn't mean the above suggestion as our only
response to Peter's criticism --- more that that is one of several areas
we ought to think about.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-08-31 16:11:52 Thought provoking piece on NetBSD
Previous Message Tom Lane 2006-08-31 16:04:51 Re: Prepared statements considered harmful