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 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]