From: | Kynn Jones <kynnjo(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'... |
Date: | 2009-04-14 16:32:41 |
Message-ID: | c2350ba40904140932x17ee00e8m2b707b5ec8f5d386@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Apr 14, 2009 at 12:22 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Kynn Jones <kynnjo(at)gmail(dot)com> writes:
> > On Mon, Apr 13, 2009 at 4:54 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com
> >wrote:
> >> On Mon, Apr 13, 2009 at 2:01 PM, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
> >>> as the postgres user, I get the error
> >>> psql: FATAL: no pg_hba.conf entry for host "[local]", user "postgres",
> >>> database "postgres", SSL off
>
> >> What do all the lines look like together?
>
> > The uncommented lines are:
>
> > local all yours_truly password
> > host all yours_truly 0.0.0.1/0 md5
> > host all yours_truly ::1/128 md5
> > local all all ident sameuser
>
> That connection should certainly match the last line, and maybe the first
> too; but it didn't find a match at all. I conclude that this file isn't
> actually what's driving the postmaster --- you are looking at the wrong
> file, or you changed it and forgot to SIGHUP the postmaster, or you're
> connecting to some other postmaster altogether, or some other mistake
> not visible in the terms of this discussion.
Is there a general way to get positive confirmation that a particular
pg_hba.conf has been re-read upon bouncing the server with
kill -HUP <PID>
?
TIA!
Kynn
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2009-04-14 16:36:01 | Re: "PostgreSQL in the cloud" now up on media.postgresql.org |
Previous Message | Tom Lane | 2009-04-14 16:22:39 | Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'... |