force C locale for temp regression installations - Mailing list pgsql-patches

From Andrew Dunstan
Subject force C locale for temp regression installations
Date
Msg-id 430F1285.501@dunslane.net
Whole thread Raw
Responses Re: force C locale for temp regression installations  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Next
From: Tom Lane
Date:
Subject: Re: force C locale for temp regression installations