Dear Russell Shaw ,
> <?php
> $conn=pg_connect("dbname=parts_list user=russell");
> if(!$conn)
> exit(pg_result_error($conn));
> ?>
>
> I have apache-1.3 running ok. In /etc/postgresql/pg_hba.conf, i
> have "ident sameuser". I can access the database ok from my user
Bill is correct IDENT gives me doubt also
To check further do one thing
psql -U <username> -h localhost <database>
If this fails
make sure postgres.conf has field
Check tcpip_socket is set to true
and
virtual_host is pointing to server's IP
hope this helps
Regards,
Vishal Kashyap