Re: createuser fails

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: createuser fails
Дата
Msg-id Pine.LNX.4.21.0009081938590.345-100000@localhost.localdomain
обсуждение исходный текст
Ответ на createuser fails  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:

> I am trying to install postgres on windows nt .
> initdb worked fine , and also the createdb command.
> But when i run any command like  createuser etc, i get the
> following error
> psql: connectDBStart() -- socket() failed: errno=106
> Addresses in the specified family cannot be used with this socket

Try `createuser -h localhost ...'. By default, it uses Unix domain
sockets, which don't work on NT. (Hence, "specified family [namely
AF_UNIX] cannot be used...".)

Setting the environment variable PGHOST=localhost might be a good idea as
well.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: createuser fails
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Backend crash trying to delete rows