Travis: set PGTZ in regress.sh

The TimeZone parameter should be set both for input and for output in
order to match our expected result file. Let's try to set PGTZ in the
shell environment...
This commit is contained in:
Dimitri Fontaine 2015-09-07 20:24:00 +02:00
parent 60d58a96b8
commit e054eb3838

View File

@ -8,6 +8,10 @@
set -x
# run the tests in the Europe/Paris TimeZone
# see csv-parse-date.load for an example where that matters
export PGTZ='Europe/Paris'
pgloader=$1
command=$2
targetdb=`gawk -F '[ ?]+' '/^ *INTO|into/ {print $3}' < $command`