Обсуждение: Prepared statements and cursors

Поиск
Список
Период
Сортировка

Prepared statements and cursors

От
"Cyril VELTER"
Дата:
    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