Check http://www.pgsql.com/advertising/
many Warning: pg_exec() query failed ..., Warning: pg_result():supplied
argument is not a valid PostgreSQL result resource in ..., warning from
php :((
Not a good advertising :(. Some error handling would be great i think :)
C.