Re: createuser fails - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: createuser fails
Date
Msg-id Pine.LNX.4.21.0009081938590.345-100000@localhost.localdomain
Whole thread Raw
In response to createuser fails  (pgsql-bugs@postgresql.org)
List 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 by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: createuser fails
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Backend crash trying to delete rows