From: | jari(dot)aalto(at)poboxes(dot)com (Jari Aalto) |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | [patch] Postgres 7.4 - doc INSTALL/Cygwin |
Date: | 2004-01-17 07:14:07 |
Message-ID: | hdyv3v40.fsf@blue.sea.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Here is small patch to help people reading the documentation
under Cygwin.
--- INSTALL.orig 2004-01-16 18:23:24.000000000 +0200
+++ INSTALL 2004-01-17 09:11:22.000000000 +0200
@@ -15,11 +15,24 @@
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
- /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
+ LC_ALL=C /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
+Note, Under Cygwin the data installation directory is:
+
+ /var/postgresql/data
+
+In case you have a personal local environment set, the LC_ALL above will fix
+this message:
+
+ creating template1 database in /usr/share/postgresql/data/base/1...
+ FATAL: invalid value for parameter "lc_messages": "en_US"
+
+ initdb: failed
+ initdb: removing data directory "/usr/share/postgresql/data"
+
The long version is the rest of this document.
-------------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Jari Aalto | 2004-01-17 11:21:49 | [patch] 7.4 initdb - drop trailing slash from $PGDATA |
Previous Message | Tom Lane | 2004-01-16 21:34:30 | Re: psql prompts with invisible characters |