Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group