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

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: [GENERAL] [ADMIN] 6.5.3/doesn't recognize localhost in pg_hba.conf (fwd)
Дата
Msg-id 199911142332.dAENWq023681@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: [GENERAL] [ADMIN] 6.5.3/doesn't recognize localhost in pg_hba.conf (fwd)  ("Patrick Welche" <prlw1@newn.cam.ac.uk>)
Список 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@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

В списке pgsql-general по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Looks like hell, but ...
Следующее
От: "Aaron J. Seigo"
Дата:
Сообщение: vacuum analyze works on tables, but not on entire database