Re: [GENERAL] [ADMIN] 6.5.3/doesn't recognize localhost in pg_hba.conf (fwd)

From: Larry Rosenman <ler(at)lerami(dot)lerctr(dot)org>
To: prlw1(at)cam(dot)ac(dot)uk
Cc: pgsql-general(at)postgreSQL(dot)org, pgsql-novice(at)postgreSQL(dot)org, pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [GENERAL] [ADMIN] 6.5.3/doesn't recognize localhost in pg_hba.conf (fwd)
Date: 1999-11-14 23:32:52
Message-ID: 199911142332.dAENWq023681@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That works. The other gent traced it, and I placed a debug statement.

It appears that on AF_LOCAL sockets on this release/ptf level
sa_family is NOT set to AF_LOCAL.

I'll file a bug with SCO.

$ psql -h lerami2 -p 5432 template1
raddr->sa.sa_family = 2
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.3 on i586-pc-unixware7.1.0, compiled by cc ]

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: template1

template1=> EOF
$ psql
raddr->sa.sa_family = 0
No pg_hba.conf entry for host localhost, user postgres, database postgres
Connection to database 'postgres' failed.
No pg_hba.conf entry for host localhost, user postgres, database postgres
$

Patrick Welche wrote:
> Larry Rosenman wrote:
> >
> > Same result.
>
> OK, still guessing... How about
>
> psql -h 127.0.0.1 template1
>
> ?
>
> Cheers,
>
> Patrick
>
> ************
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-general by date

  From Date Subject
Next Message j's hyperlinked organisation 1999-11-15 15:52:54 Re: PostgreSQL server for Win95 machine
Previous Message The Hermit Hacker 1999-11-14 23:13:27 Looks like hell, but ...