Prepared statements and cursors

From: "Cyril VELTER" <cyril(dot)velter(at)metadys(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Prepared statements and cursors
Date: 2004-02-18 22:33:47
Message-ID: 00cf01c3f66f$468c2be0$f901a8c0@cvfixe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm trying to open a prepared statement as a cursor using libpq. As I
understand it, there is some support for this at the protocol level but not
at the libpq level. The protocol doc say that one must use standard sql
commands for that.

But "DECLARE TEST CURSOR FOR EXECUTE MONSTATEMENT(7123)" give me a
syntax error near "execute".

Any ideas ?

Thanks,

Cyril

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2004-02-18 22:54:39 wishlist: dynamic log volume control
Previous Message Jeff Davis 2004-02-18 22:19:14 Re: Differences between postgres and mysql