apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: DBD: Prepared statements with PGSQL
Date Fri, 07 Apr 2006 18:45:15 GMT
On 4/6/06, Bojan Smojver <bojan@rexursive.com> wrote:
> Quoting Bojan Smojver <bojan@rexursive.com>:
>
> > Is there are particular reason why PQprepare() isn't used to prepare
> > statements? Currently, DBD code builds an SQL statement with PREPARE
> > [...] at the beginning and then executes that, instead of calling the
> > mentioned API function.
>
> Don't worry about answering this. Looks like 7.4 doesn't have this
> call, so I'm guessing it a backward compatibility thing.

Well, there's no reason we can't use it if it is available in the
version of the postgres libraries we link against.  Shouldn't be too
hard to put the autoconf glue together to detect it.

-garrett

Mime
View raw message