Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5433? in /home/www/rciwn2/api/db/db.php on line 74

Warning: pg_query() expects parameter 1 to be resource, bool given in /home/www/rciwn2/api/db/db.php on line 98

Warning: pg_last_error(): No PostgreSQL link opened yet in /home/www/rciwn2/api/db/db.php on line 98

SET CLIENT_ENCODING TO 'utf-8';