Re: [GENERAL] SQL error: could not connect to database

2010-06-23 Thread Kenichiro Tanaka
Hi. At first,I think you lack some settings. (eg. pg_hba.conf,listen_addresses or restarting) But you say "I can log in to postgresql without password prompt using the psql tool". I can image some case,but we have to get some more information. So I'd like you to try the following program.This

[GENERAL] SQL error: could not connect to database

2010-06-22 Thread Juba, Salahaldin I.
I am trying to connect to database using ECPG called 'database' - please see the code below-. When I am excuting the code I am getting this message Fatal error SQL error: could not connect to database "database" on line 22 Fatal error SQL error: connection "NULL" does not exist on line 23