Re: Install postmaster as service in win2K

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Install postmaster as service in win2K
Дата
Msg-id 196.1014217891@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Install postmaster as service in win2K  ("Carlo Florendo" <fcarlo@ntsp.nec.co.jp>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: upgrade to 7.2 & pgdumpall
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: execute permissions of stored procedures?