Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? in /var/www/web4/web/application.php on line 14
Error connecting to the database !

Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link resource in /var/www/web4/web/application.php on line 17