Re: [ADMIN] error codes in postgresql

2005-08-22 Thread Sivakumar K
, August 22, 2005 7:12 PM To: Sivakumar K Cc: postgre; sandhya Subject: Re: [ADMIN] error codes in postgresql   Hi, I have one doubt,   Inorder to get the field type in a table i am using pg_field_type(res,col_no)   Col_no : Is the field no. for which i have to know the

Re: [ADMIN] error codes in postgresql

2005-08-17 Thread Sivakumar K
-Original Message- From: sandhya [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 6:16 PM To: Sivakumar K Cc: postgre; sandhya Subject: Re: [ADMIN] error codes in postgresql   Thank you Sivakumar. ExecStatusType PQresultStatus(const PGresult *res); Will

Re: [ADMIN] error codes in postgresql

2005-08-17 Thread sandhya
as a return value to the main right! Please tell me how can i handle this?   Thanks&Regards, Sandhya           - Original Message - From: Sivakumar K To: sandhya Cc: Shashi Gireddy ; postgre Sent: Wednesday, August 17, 2005 5:49 PM Subject: RE: [ADMIN] error

Re: [ADMIN] error codes in postgresql

2005-08-17 Thread Sivakumar K
Hi sandhya,   You can use PQresultStatus API to get the result status of the command execution   And PQresStatus to convert the enumerated type returned by PQresultStatus to a string constant.   For more information you can check the libpq API documentation   http://www