C++ interface

From: Kemin Zhou <kzhou(at)molsci(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: C++ interface
Date: 2001-06-08 00:20:29
Message-ID: 3B201A4D.BFC009D5@molsci.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-06-08 00:35:23 Re: [GENERAL] REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432
Previous Message pgsql-bugs 2001-06-07 22:39:14 Apparent deadlock for simultaneous sequential scans