Suggestion
"M. Loeffen" <[email protected]> Mon, 1 Aug 2005 02:16:37 -0700 (PDT)
| Newsgroups | gmane.comp.db.postgresql.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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. ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings