Re: Socket & TCP connections - Mailing list pgsql-admin

From Nilesh Govindarajan
Subject Re: Socket & TCP connections
Date
Msg-id 4BB00A9C.2040007@itech7.com
Whole thread Raw
In response to Socket & TCP connections  (Nilesh Govindarajan <lists@itech7.com>)
Responses Re: Socket & TCP connections  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: Socket & TCP connections  (Robert Gravsjö <tekniksupport@blogg.se>)
List pgsql-admin
Hi, it seems to be working now. Can somebody explain to me how ? See
this pg_hba.conf -

# "local" is for Unix domain socket connections only
local all root trust
local all all md5
# IPv4 local connections:
#host all root 127.0.0.1/32 trust
#host all root ::1/128 trust
host all all 127.0.0.1/32 md5
host all all ::1/128 md5

Its the same code I think which I wrote previously. But now it asks
password when connected through TCP and doesn't when connected directly
as psql -d postgres

PLZ EXPLAIN !! I'm in a big confusion :?

--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मेरा भारत महान !
मम भारत: महत्तम भवतु !

pgsql-admin by date:

Previous
From: Nilesh Govindarajan
Date:
Subject: Re: Socket & TCP connections
Next
From: Guillaume Lelarge
Date:
Subject: Re: Socket & TCP connections