Re: 7.3 Prepared statements

From: Neil Conway <neilc(at)samurai(dot)com>
To: Alan Gutierrez <ajglist(at)izzy(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: 7.3 Prepared statements
Date: 2003-01-07 06:50:44
Message-ID: 1041922244.448.24.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

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(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Prachi Jain 2003-01-07 07:39:17 Re: result set supported
Previous Message carl garland 2003-01-07 06:30:25 Re: Have people taken a look at pgdiff yet?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alan Gutierrez 2003-01-07 13:00:25 Re: 7.3 Prepared statements
Previous Message chris 2003-01-06 23:51:17 Re: _aclitem and aclitem in JDBC driver?