Michael Meskes wrote: > On Mon, Apr 23, 2007 at 02:02:04PM -0700, William Lawrance wrote: > > Our first attempt to use the ECPG prepare interface revealed that ECPG > > doesn't use the PQlib prepare function. The ECPG prepare replaces any > > parameters with their values and presents a new SQL statement to the > > This is true and should also be documented. The reason for this > behaviour is simply that ECPG prepare feature was added before the > backend had its own prepare feature. And no one changed it so far.
It is in the TODO: o Use backend PREPARE/EXECUTE facility for ecpg where possible -- Bruce Momjian <[EMAIL PROTECTED]> http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq