Re: Install postmaster as service in win2K - Mailing list pgsql-general

From Tom Lane
Subject Re: Install postmaster as service in win2K
Date
Msg-id 196.1014217891@sss.pgh.pa.us
Whole thread Raw
In response to Install postmaster as service in win2K  ("Carlo Florendo" <fcarlo@ntsp.nec.co.jp>)
List pgsql-general
"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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: upgrade to 7.2 & pgdumpall
Next
From: Jeff Eckermann
Date:
Subject: Re: execute permissions of stored procedures?