[patch] Postgres 7.4 - doc INSTALL/Cygwin

Поиск
Список
Период
Сортировка
От jari.aalto@poboxes.com (Jari Aalto)
Тема [patch] Postgres 7.4 - doc INSTALL/Cygwin
Дата
Msg-id hdyv3v40.fsf@blue.sea.net
обсуждение исходный текст
Ответы Re: [patch] Postgres 7.4 - doc INSTALL/Cygwin  (Peter Eisentraut <peter_e@gmx.net>)
Список 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.

 -------------------------------------------------------------------------------


В списке pgsql-patches по дате отправления:

Предыдущее
От: jari.aalto@poboxes.com (Jari Aalto)
Дата:
Сообщение: [patch] 7.4 initdb - drop trailing slash from $PGDATA
Следующее
От: Patrick Samson
Дата:
Сообщение: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution