probable pg_hba.conf configuration issues

From: Ravi Roy <ravi(dot)aroy(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: probable pg_hba.conf configuration issues
Date: 2014-05-07 14:33:12
Message-ID: CAFMBnF_UHtTyucMxquDE0Sd5siy3NHERGiRKC3YkGT8xs1=e_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm sorry if this question have been asked earlier, but i could not find
any valid result through googling.

I'm running postgresql 9.1 on Windows 7 (64 bit) and i've following
configuration in pg_hba.conf.

host all superuser1 127.0.0.1/32 password
host all normaluser1 127.0.0.1/32 password

Using command line : psql -U superuser1 & psql -U normaluser1 asks for
password and login successfully. - perfect. (We are only alloing local
connections, remote connections to database are disabled)

But if I try to connect using pgadmin (from the same machine) it gives
acess to database without password, i'm surprised as it does not seem to
respect pg_hba.conf or i'm terribly wrong in the configuration somewhere.

Does somebody have any idea what is wrong?

Thank you

Ravi.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-05-07 14:47:27 Re: probable pg_hba.conf configuration issues
Previous Message Tom Lane 2014-05-07 14:15:24 Re: Server process crash - Segmentation fault