Re: jdbc pg_hba.conf error - Mailing list pgsql-general

From Oliver Elphick
Subject Re: jdbc pg_hba.conf error
Date
Msg-id 1180540811.15764.88.camel@linda.lfix.co.uk
Whole thread Raw
In response to Re: jdbc pg_hba.conf error  ("Bhavana.Rakesh" <Bhavana.Rakesh@noaa.gov>)
List 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@lfix.co.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


pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: problem calling psql multiple times from a script ?
Next
From: "John D. Burger"
Date:
Subject: Re: Geographic data sources, queries and questions