Re: [GENERAL] Connection Object

2006-08-12 Thread Sandeep Kumar Jakkaraju
  I am using libpqxx.. library .. i need errorcode from the connection object in the libpqxx library...       On 8/12/06, Harpreet Dhaliwal <[EMAIL PROTECTED]> wrote: http://www.postgresql.org/docs/8.1/interactive/ecpg-errors.html#AEN27672   printf("Error code is %d",SQLCODE)   I hope this helps

Re: [GENERAL] Connection Object

2006-08-12 Thread Harpreet Dhaliwal
http://www.postgresql.org/docs/8.1/interactive/ecpg-errors.html#AEN27672   printf("Error code is %d",SQLCODE)   I hope this helps  On 8/12/06, Sandeep Kumar Jakkaraju <[EMAIL PROTECTED]> wrote: Hi All I want to know specifically from the exception thrown by the "connection" object when the connnec

[GENERAL] Connection Object

2006-08-12 Thread Sandeep Kumar Jakkaraju
Hi All I want to know specifically from the exception thrown by the "connection" object when the connnection string is wrong..whether it is due to wrong database name or wrong user name or wrong password !!! Is it possible ??Thanx in advance-- Sandeep Kumar Jakkaraju WeBlog:http://jakkarajus.blogsp