Re: [SQL] C/C++ interface

2001-02-16 Thread dev
Original Message On 2/16/01, 8:24:09 AM, Volker Paul [EMAIL PROTECTED] wrote regarding Re: [SQL] C/C++ interface: Tom Lane wrote: Volker Paul [EMAIL PROTECTED] writes: Is someone maintaining the C++ interface and its documentation? Not really. Feel free to step up and lend

Re: [SQL] C/C++ interface

2001-02-15 Thread Volker Paul
Tom Lane wrote: Volker Paul [EMAIL PROTECTED] writes: Is someone maintaining the C++ interface and its documentation? Not really. Feel free to step up and lend a hand ... I found some functions of the C++ binding library that are not or scarcely documented, namely: int GetIsNull(int

[SQL] C/C++ interface

2001-02-13 Thread Volker Paul
Hello, in the C interface documentation there is an example using: res = PQexec(conn, "DECLARE mycursor CURSOR FOR select * from pg_database"); if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) { fprintf(stderr, "DECLARE CURSOR command failed\n"); PQclear(res);

Re: [SQL] C/C++ interface

2001-02-13 Thread Tom Lane
Volker Paul [EMAIL PROTECTED] writes: Is someone maintaining the C++ interface and its documentation? Not really. Feel free to step up and lend a hand ... regards, tom lane

Re: [SQL] C/C++ interface

2001-02-13 Thread Bruce Momjian
Cursors and standard queries are pretty much the same, except the cursor can control the rows returned. Hello, in the C interface documentation there is an example using: res = PQexec(conn, "DECLARE mycursor CURSOR FOR select * from pg_database"); if (!res || PQresultStatus(res)