Re: Newbie: pg_hba.conf question

From: Marc Poinot <Marc(dot)Poinot(at)onera(dot)fr>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Marc Poinot <Marc(dot)Poinot(at)onera(dot)fr>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Newbie: pg_hba.conf question
Date: 2000-11-16 08:17:43
Message-ID: 3A139827.DC0317AE@onera.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Eisentraut wrote:
>
> Marc Poinot writes:
>
> > marcvs> psql
> > psql: No pg_hba.conf entry for host localhost, user marcvs, database marcvs
> >
> > The pg_hba.conf in the PGDATA actually contains a line with:
> >
> > local all trust
>
> "local" is not the same a "localhost". The former refers to a Unix domain
> socket connection, the latter to a TCP/IP connection, which requires a
> "host" record in pg_hba.conf. To use a "local" connection you need to
> unset the PGHOST environment variable, in case you have it set.
>
Thanks for the answer.
Actually, I did rebuild the software with a -n32 mode instead of
the -64 (our SGI default). I works perfectly, but we also made
some adds for distant hosts in pg_hba.conf, thus I cannot really
tell you which modification was the right one.

-MP-

-----------------------------------------------------------------------
Marc POINOT Alias: marcvs Email: poinot(at)onera(dot)fr
ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info: elsa-info(at)onera(dot)fr
29, Div. Leclerc Fax: 01.46.73.41.66 Site:
92322 Chatillon FRANCE Project: elsA Web: http://www.onera.fr

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message turing2000 2000-11-16 10:38:07
Previous Message Alfred Perlstein 2000-11-16 06:33:25 Re: Losing data from Postgres