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/vhosts/beiraserra.pt/httpdocs/db/funcoes/funcoes_db.php on line 54

Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link resource in /var/www/vhosts/beiraserra.pt/httpdocs/db/funcoes/funcoes_db.php on line 36
&erro=