Suggestion - Mailing list pgsql-cygwin

From M. Loeffen
Subject Suggestion
Date
Msg-id 54935.194.104.100.40.1122887797.squirrel@webmail.urchin.nl
Whole thread Raw
List pgsql-cygwin
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.


pgsql-cygwin by date:

Previous
From: "Robson Richieri"
Date:
Subject: Postmaster Vr. 7.4.5 don't start on Cygwin 1.5.18
Next
From: Jason Tishler
Date:
Subject: Re: Segmentation fault after upgrading to 1.5.18-1