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
9 PMTo: Tom LaneCc: Shashi Gireddy; postgreSubject: [ADMIN] error codes in postgresql       Hi,       I want to know ,if there is any way to return  error codes/numbers as  a return value from the postgresql functions. For ex:   If i am

Re: [ADMIN] error codes in postgresql

2005-08-17 Thread Sivakumar K
Subject: [ADMIN] error codes in postgresql       Hi,       I want to know ,if there is any way to return  error codes/numbers as  a return value from the postgresql functions. For ex:   If i am using my connection function say, DbConnect(dname,uname

[ADMIN] error codes in postgresql

2005-08-17 Thread sandhya
    Hi,       I want to know ,if there is any way to return  error codes/numbers as  a return value from the postgresql functions. For ex:   If i am using my connection function say, DbConnect(dname,uname,.) { //here i use postgres connection function pg_conn *conn; conninfo="dbname