Skip to content

Commit 208dae3

Browse files
author
Thomas G. Lockhart
committed
Set time zone and date style environment variables.
Update banner message regarding time zone.
1 parent 0f2189e commit 208dae3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/test/regress/regress.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.11 1997/06/03 14:19:28 thomas Exp $
2+
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.12 1997/11/14 15:57:12 thomas Exp $
33
#
44
if echo '\c' | grep -s c >/dev/null 2>&1
55
then
@@ -14,17 +14,18 @@ if [ -d ./obj ]; then
1414
cd ./obj
1515
fi
1616

17-
TZ="PST8PDT"; export TZ
17+
PGTZ="PST8PDT"; export PGTZ
18+
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
1819

1920
#FRONTEND=monitor
2021
FRONTEND="psql -n -e -q"
2122

2223
echo "=============== Notes... ================="
2324
echo "postmaster must already be running for the regression tests to succeed."
24-
echo "The time zone must be set to PST/PDT for the date and time data types"
25-
echo " to pass the regression tests; to do this type"
26-
echo " setenv TZ $TZ"
27-
echo " before starting postmaster. regress/README has more information."
25+
echo "The time zone is now set to PST/PDT explicitly by the regression test"
26+
echo "client frontend. Please report any apparent problems to"
27+
echo " ports@postgresql.org"
28+
echo "See regress/README for more information."
2829
echo ""
2930

3031
echo "=============== destroying old regression database... ================="

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy