"Carlo Florendo" <fcarlo@ntsp.nec.co.jp> writes:
> I was trying to install postgres as a service in win2k It was both successful and unsuccessful.
> Successful in the sense that I could connect to the server (coolio.ntsp.nec.co.jp) from another machine by running
> "psql -d test -h coolio.ntsp.nec.co.jp"
> Unsuccessful in the sense that when I connect locally by
> "psql -d test"
> I get this error message:
> connectDBstart() -- connect() failed: No such file or directory
> Is the postmaster running locally
> and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
Try
psql -d test -h localhost
Not sure why libpq isn't set up to do that by default on platforms where
there is no Unix-socket support. Anyone want to submit a patch?
regards, tom lane