Prepared statements and cursors - Mailing list pgsql-general

From Cyril VELTER
Subject Prepared statements and cursors
Date
Msg-id 00cf01c3f66f$468c2be0$f901a8c0@cvfixe
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Differences between postgres and mysql
Next
From: Jeff Davis
Date:
Subject: Re: Differences between postgres and mysql