Suggestion

From: "M(dot) Loeffen" <mloeffen(at)urchin(dot)nl>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Suggestion
Date: 2005-08-01 09:16:37
Message-ID: 54935.194.104.100.40.1122887797.squirrel@webmail.urchin.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-cygwin by date

  From Date Subject
Next Message Robson Richieri 2005-08-04 14:27:04 Postmaster Vr. 7.4.5 don't start on Cygwin 1.74
Previous Message Marcin Marciniak 2005-07-21 05:25:17 installation problem