From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: jdbc pg_hba.conf error |
Date: | 2007-05-30 16:00:11 |
Message-ID: | 1180540811.15764.88.camel@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 2007-05-30 at 11:47 -0400, Bhavana.Rakesh wrote:
> Hello,
> I'm still getting the error
...
> Here is my updated version of pg_hba.conf file
> __________________________________________________________________________
> #
> # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
> host all all trust
That line is missing the IP-address and IP-mask parameters. It looks as
if the first word should be "local" rather than "host", in which case it
would be valid.
Using this pg_hba.conf ought to give you the message:
FATAL: missing or erroneous pg_hba.conf file
if you try to connect from psql. I don't know if the Java stuff somehow
manages to bypass it or if you haven't done a kill -SIGHUP of the
postmaster to reload the configuration.
--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html
From | Date | Subject | |
---|---|---|---|
Next Message | John D. Burger | 2007-05-30 16:01:00 | Re: Geographic data sources, queries and questions |
Previous Message | novnov | 2007-05-30 15:53:10 | Re: function retuning refcursor, order by ignored? |