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
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to