mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Set time zone and date style environment variables.
Update banner message regarding time zone.
This commit is contained in:
parent
0f2189efff
commit
208dae3727
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.11 1997/06/03 14:19:28 thomas Exp $
|
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.12 1997/11/14 15:57:12 thomas Exp $
|
||||||
#
|
#
|
||||||
if echo '\c' | grep -s c >/dev/null 2>&1
|
if echo '\c' | grep -s c >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
@ -14,17 +14,18 @@ if [ -d ./obj ]; then
|
|||||||
cd ./obj
|
cd ./obj
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TZ="PST8PDT"; export TZ
|
PGTZ="PST8PDT"; export PGTZ
|
||||||
|
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
|
||||||
|
|
||||||
#FRONTEND=monitor
|
#FRONTEND=monitor
|
||||||
FRONTEND="psql -n -e -q"
|
FRONTEND="psql -n -e -q"
|
||||||
|
|
||||||
echo "=============== Notes... ================="
|
echo "=============== Notes... ================="
|
||||||
echo "postmaster must already be running for the regression tests to succeed."
|
echo "postmaster must already be running for the regression tests to succeed."
|
||||||
echo "The time zone must be set to PST/PDT for the date and time data types"
|
echo "The time zone is now set to PST/PDT explicitly by the regression test"
|
||||||
echo " to pass the regression tests; to do this type"
|
echo "client frontend. Please report any apparent problems to"
|
||||||
echo " setenv TZ $TZ"
|
echo " ports@postgresql.org"
|
||||||
echo " before starting postmaster. regress/README has more information."
|
echo "See regress/README for more information."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "=============== destroying old regression database... ================="
|
echo "=============== destroying old regression database... ================="
|
||||||
|
Loading…
x
Reference in New Issue
Block a user