Re: 7.3 Prepared statements

Neil Conway <neilc@samurai.com>

From: Neil Conway <neilc@samurai.com>
To: Alan Gutierrez <ajglist@izzy.net>
Cc: PostgreSQL General <pgsql-general@postgresql.org>
Date: 2003-01-07T06:50:44Z
Lists: pgsql-general
On Mon, 2003-01-06 at 05:35, Alan Gutierrez wrote:
> The idocs are still at 7.2.1.

But the documentation itself has been updated, and is available online:

http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/

No idea sure when the idocs will be updated...

> Is there an API for the prepared query interface in a later version of
> libpq?

No, the prepared queries implemented in 7.3 are not protocol-level, they
use a set of special SQL statements to prepare statements and then
execute them.

> Examples of prepared query use?

http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/sql-prepare.html
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/sql-execute.html

... should cover enough stuff to get you started.

Cheers,

Neil
-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC