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/