Todd Gee <toddgee@yahoo.com> writes:
> I have the relevant line in my pg_hba.conf file:
> host all all 127.0.0.1 0.0.0.0 ident sameuser
This may or may not have anything directly to do with your complaint,
but: that all-zeroes mask is almost certainly NOT what you want.
The above line allows anyone on the internet to connect to your
database.
regards, tom lane