Re: pg_hba.conf : bad entry for ADDRESS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: arnaud gaboury <arnaud(dot)gaboury(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_hba.conf : bad entry for ADDRESS
Date: 2016-08-25 14:32:00
Message-ID: 27016.1472135520@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

arnaud gaboury <arnaud(dot)gaboury(at)gmail(dot)com> writes:
> I entered this line in pg_hab.conf:
> ------------------------------
> host mattermost mmuser 127.0.0.1 md5

> What am I doing wrong?

Looking in the postmaster log for complaints about pg_hba.conf
would probably have helped you diagnose this. But I think the
problem is that you're required to specify a netmask or masklen;
so "127.0.0.1/32" not just "127.0.0.1".

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2016-08-25 14:34:21 Re: pg_hba.conf : bad entry for ADDRESS
Previous Message arnaud gaboury 2016-08-25 14:31:55 Re: pg_hba.conf : bad entry for ADDRESS