C++ interface - Mailing list pgsql-bugs

From Kemin Zhou
Subject C++ interface
Date
Msg-id 3B201A4D.BFC009D5@molsci.org
Whole thread Raw
List pgsql-bugs
I have HedHat 7.1 on linux

I made the c++ interface with the --with-CXX option during configure
process.

The make had no problem.

I have run a test.

I have created a database it works find in interactive mode.

if I type    select * from cds   it will give me some output,

But my C++ program that can be compiled successfully cannot do this
simple command.

It could something else
 !data.ExecCommandOk("BEGIN")
 !data.ExecCommandOk("DECLARE myportal CURSOR FOR select * from
pg_database") ) {
if ( !data.ExecTuplesOk("FETCH ALL in myportal") )

Where should I start to fix this problem?

Kemin

pgsql-bugs by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: [GENERAL] REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432
Next
From: Peter Eisentraut
Date:
Subject: Re: where clause bug