force C locale for temp regression installations

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема force C locale for temp regression installations
Дата
Msg-id 430F1285.501@dunslane.net
обсуждение исходный текст
Ответы Re: force C locale for temp regression installations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
The attached tiny patch forces C locale on the temp location built by
pg_regress - it fixes recent regression problems observed on Windows.

cheers

andrew
Index: src/test/regress/pg_regress.sh
===================================================================
RCS file: /home/cvsmirror/pgsql/src/test/regress/pg_regress.sh,v
retrieving revision 1.59
diff -c -r1.59 pg_regress.sh
*** src/test/regress/pg_regress.sh    17 Jul 2005 18:28:45 -0000    1.59
--- src/test/regress/pg_regress.sh    26 Aug 2005 12:56:36 -0000
***************
*** 421,427 ****

      message "initializing database system"
      [ "$debug" = yes ] && initdb_options='--debug'
!     "$bindir/initdb" -D "$PGDATA" -L "$datadir" --noclean $initdb_options >"$LOGDIR/initdb.log" 2>&1

      if [ $? -ne 0 ]
      then
--- 421,427 ----

      message "initializing database system"
      [ "$debug" = yes ] && initdb_options='--debug'
!     "$bindir/initdb" -D "$PGDATA" -L "$datadir" --no-locale --noclean $initdb_options >"$LOGDIR/initdb.log" 2>&1

      if [ $? -ne 0 ]
      then

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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: force C locale for temp regression installations