Re: pg_hba.conf : bad entry for ADDRESS - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_hba.conf : bad entry for ADDRESS
Date
Msg-id 27016.1472135520@sss.pgh.pa.us
Whole thread Raw
In response to pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
Responses Re: pg_hba.conf : bad entry for ADDRESS  (arnaud gaboury <arnaud.gaboury@gmail.com>)
List pgsql-general
arnaud gaboury <arnaud.gaboury@gmail.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


pgsql-general by date:

Previous
From: arnaud gaboury
Date:
Subject: Re: pg_hba.conf : bad entry for ADDRESS
Next
From: "Ilya Kazakevich"
Date:
Subject: Re: pg_hba.conf : bad entry for ADDRESS