Re: Trouble in using initdb

Поиск
Список
Период
Сортировка
От pobox@verysmall.org
Тема Re: Trouble in using initdb
Дата
Msg-id 43D54016.2010706@verysmall.org
обсуждение исходный текст
Ответ на Trouble in using initdb  (gopa pragna <pragna526@yahoo.co.in>)
Список pgsql-cygwin
Hello,

it seems that you are missing cygserver.

I am just doing some testing of 8.0.4 vs 8.1.2 under cygwin and I get
the same when I forget cygserver.

After you install cygwin, do the following -

export CYGWIN=server (not clear if needed, try without it)
unset LANG (not clear if needed, try without it)
export PATH=/usr/bin:/usr/sbin:/usr/local/pgsql/bin:$PATH
/usr/bin/cygserver-config
cygserver &

Then you do -

./configure
make
make install

in the source directory.

Then -

export CYGWIN=server (makes initdb use the cygserver)
initdb -D /usr/local/pgsql/data

This should work.

Iv



В списке pgsql-cygwin по дате отправления:

Предыдущее
От: "pobox@verysmall.org"
Дата:
Сообщение: Re: can't get postgresql to start on cygwin...
Следующее
От: "jmbigi (sent by Nabble.com)"
Дата:
Сообщение: Re: pgsql on cygwin problem