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@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749