Обсуждение: Suggestion

Поиск
Список
Период
Сортировка

Suggestion

От
"M. Loeffen"
Дата:
I just finished installing PostGreSQL 7 on cygwin. I used the folowing
page for instructions: http://www.postgresql.org/docs/faqs.FAQ_CYGWIN.html
During the process I encountered an error when trying to initialize the
database with the command "initdb -D /var/postgresql/data" It gave a bunch
of errors, similar to this: "selecting default max_connections...
/usr/bin/initdb: line 564: 2904 Bad system
call "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/
null 2>&1"

The solution to this was quite simple and you might want to add it to the
cygwin faqs. I added an environment variable called "cygwin" with the
value "server". Basically doing this by adding the line "cygwin=server" in
the cygwin.bat before the bash is loaded.

Many thanks for providing such a good and free product.

Martijn Loeffen.