Re: Prepared statements considered harmful - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Prepared statements considered harmful
Date
Msg-id 20060831161902.GE27851@svana.org
Whole thread Raw
In response to Re: Prepared statements considered harmful  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Prepared statements considered harmful
List pgsql-hackers
On Thu, Aug 31, 2006 at 11:27:18AM -0400, Tom Lane wrote:
> > I'd wish that we reconsider when and how prepared statements are used.  The
> > JDBC interface and PL/pgSQL are frequently noticed perpetrators, but the
> > problem is really all over the place.
>
> AFAIK those are the only two places where preparation is the default
> ... what else were you thinking of?

Perl DBI (DBD::Pg) defaults to prepared plans when connecting to a
version 8.0 or higher server.

Or at least, that's the way I read the documentation.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: AgentM
Date:
Subject: Re: Prepared statements considered harmful
Next
From: Lukas Kahwe Smith
Date:
Subject: Re: Prepared statements considered harmful