Re: [GENERAL] PQexecParams-Problem

2005-08-31 Thread Tom Lane
"Mavinakuli, Prasanna (STSD)" <[EMAIL PROTECTED]> writes: > Here is the code snapshot: > string query="select intval from dummy where intval=7;"; > res1=PQexecParams(conn,query.c_str(),0,NULL,NULL,NULL,NULL,1); > for(unsigned char i=0;i<4;i++) > { > printf(

[GENERAL] PQexecParams-Problem

2005-08-31 Thread Mavinakuli, Prasanna (STSD)
Hi, Problem Description: We need to insert binary data to tables and retrieve the Same-(data type is bytea). We are using PQExecParams for inserting and retrieving Data. Table contains other than binary data also. When we tried to fetch the integer data (type-int2) We are not able to get anyt