From: Marc Poinot <Marc.Poinot@onera.fr>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Marc Poinot <Marc.Poinot@onera.fr>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Newbie: pg_hba.conf question
Date: Thu, 16 Nov 2000 09:17:43 +0100
Message-ID: <3A139827.DC0317AE@onera.fr> (raw)
References: <Pine.LNX.4.21.0011151739280.779-100000@peter.localdomain>
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@onera.fr
ONERA -MFE/DSNA/ELSA Tel: 01.46.73.42.84 Info: elsa-info@onera.fr
29, Div. Leclerc Fax: 01.46.73.41.66 Site:
92322 Chatillon FRANCE Project: elsA Web: http://www.onera.fr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Marc.Poinot@onera.fr, peter_e@gmx.net
Subject: Re: Newbie: pg_hba.conf question
In-Reply-To: <3A139827.DC0317AE@onera.fr>
References: <Pine.LNX.4.21.0011151739280.779-100000@peter.localdomain> <3A139827.DC0317AE@onera.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox