Re: pg_hba.conf - Mailing list pgsql-admin

From Ed L.
Subject Re: pg_hba.conf
Date
Msg-id 200302281316.46514.pgsql@bluepolka.net
Whole thread Raw
In response to Re: pg_hba.conf  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-admin
On Thursday February 27 2003 3:50, Robert Treat wrote:
> On Thu, 2003-02-27 at 14:59, Sidar Lopez Cruz wrote:
> > how can i config this file to connect from any ip on my lan
> >
> host all     192.168.0.0     255.255.0.0 trust
>
> that should work, though it's pretty insecure. note you might need
> to address your lan ip address if it's not 192.168.*.*

That applies only for pre-7.3 releases, I believe.  Pg 7.3.x
introduced new syntax for pg_hba.conf.  You'll need an extra 'all'
after the 'all' above for 7.3.x.

Ed


pgsql-admin by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: psql wrap
Next
From: Ian Barwick
Date:
Subject: Re: psql wrap