Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "pdquizw", database "pdquizw_tournaments", SSL off in /home/pdquizw/public_html/results/mat.php on line 7

Warning: pg_query() [function.pg-query]: No PostgreSQL link opened yet in /home/pdquizw/public_html/results/mat.php on line 9

Warning: pg_query() [function.pg-query]: No PostgreSQL link opened yet in /home/pdquizw/public_html/results/mat.php on line 12
Problem with query SELECT tournaments08.*, districts.name AS district, quiztypes.abbrev AS type, quizlevels.abbrev AS level FROM tournaments08, districts, quiztypes, quizlevels WHERE tournaments08.tourney_id=20080812320 AND tournaments08.district_id = districts.district_id AND tournaments08.type = quiztypes.type_id AND tournaments08.level = quizlevels.level_id

Warning: pg_last_error() [function.pg-last-error]: No PostgreSQL link opened yet in /home/pdquizw/public_html/results/mat.php on line 15