Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 126c902

Browse files
committed
Set lc_* stuff before regression test
1 parent 6fe3867 commit 126c902

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests2/support/docker-regress.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,24 @@
22

33
cd /pg/src/src/test/regress
44

5+
psql -U postgres regression <<-SQL
6+
ALTER DATABASE "postgres" SET lc_messages TO 'C';
7+
ALTER DATABASE "postgres" SET lc_monetary TO 'C';
8+
ALTER DATABASE "postgres" SET lc_numeric TO 'C';
9+
ALTER DATABASE "postgres" SET lc_time TO 'C';
10+
ALTER DATABASE "postgres" SET timezone_abbreviations TO 'Default';
11+
SQL
12+
513
./pg_regress --use-existing \
614
--schedule=parallel_schedule \
715
--host=node1 \
816
--user=postgres
917

1018
STATUS=$?
1119

12-
# cat regression.diffs
20+
if [ -f "regression.diffs" ]
21+
then
22+
cat regression.diffs
23+
fi
1324

1425
exit $STATUS

0 commit comments

Comments
 (0)