On Mon, 21 May 2001, Peter Eisentraut wrote:
> Jaume Teixi writes:
>
> > but why the tcp/ip also doesn't works ?
> >
> > teixi@thinkpad:~$ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i host
> >
> > host all 127.0.0.1 255.255.255.0 ident sameuser
>
also try using -i option along with other options.
else all seems to be fine
regards,
Rajesh.
--- Jaume Teixi <[EMAIL PROTECTED]> wrote:
> $ psql -d template1 -U postgres
> psql: Peer authentication failed for user 'postgres'
>
>
> $ psql -d template1 -U postgres -h localhost -p 5432
> psql: I
on day of Mon, 21 May 2001 17:00:19 +0200 (CEST), the message from Peter
Eisentraut <[EMAIL PROTECTED]> says:
> Jaume Teixi writes:
>
> > $ psql -d template1 -U postgres
> > psql: Peer authentication failed for user 'postgres'
>
> There is no "peer" authentication type in any official PostgreSQ
Jaume Teixi <[EMAIL PROTECTED]> writes:
> $ psql -d template1 -U postgres
> psql: Peer authentication failed for user 'postgres'
There is no such animal as "peer" authentication in Postgres. Are you
using a locally hacked version?
regards, tom lane
-