On Jul 19, 2005, at 3:36 PM, Steinar H. Gunderson wrote:

On Tue, Jul 19, 2005 at 03:16:31PM -0400, Tom Lane wrote:

Ah, but are they really prepared, or is DBD::Pg faking it by inserting
parameter values into the query text and then sending the assembled
string as a fresh query?


They are really prepared.

That depends on what version you are using. Older versions did what Tom mentioned rather than sending PREPARE & EXECUTE.

Not sure what version that changed in.

--
Jeff Trout <[EMAIL PROTECTED]>
http://www.jefftrout.com/
http://www.stuarthamm.net/



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to