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/html/comments.php on line 16
Warning: pg_exec(): supplied argument is not a valid PostgreSQL link resource in /var/www/html/comments.php on line 24
ERROR
Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link resource in /var/www/html/comments.php on line 27