Commit b48f983e authored by Tom Lane's avatar Tom Lane

Apply Keith Park's updates for expected/horology-solaris-1947.out. Fix

erroneous expected output for RESET DateStyle: should be ISO now.
Fix run_check.sh so that test postmaster is started with PGDATESTYLE=ISO,
else the horology test won't pass.
parent f4657116
...@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL; ...@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL;
RESET DateStyle; RESET DateStyle;
SHOW DateStyle; SHOW DateStyle;
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions NOTICE: DateStyle is ISO with US (NonEuropean) conventions
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL; ...@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL;
RESET DateStyle; RESET DateStyle;
SHOW DateStyle; SHOW DateStyle;
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions NOTICE: DateStyle is ISO with US (NonEuropean) conventions
#!/bin/sh #!/bin/sh
# #
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.8 2000/02/13 21:45:15 petere Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.9 2000/02/19 22:13:36 tgl Exp $
# ---------- # ----------
# Check call syntax # Check call syntax
...@@ -78,10 +78,15 @@ else ...@@ -78,10 +78,15 @@ else
fi fi
# ---------- # ----------
# Set timezone and datestyle explicitly # Set backend timezone and datestyle explicitly
#
# To pass the horology test in its current form, the postmaster must be
# started with PGDATESTYLE=ISO, while the frontend must be started with
# PGDATESTYLE=Postgres. We set the postmaster values here and change
# to the frontend settings after the postmaster has been started.
# ---------- # ----------
PGTZ="PST8PDT"; export PGTZ PGTZ="PST8PDT"; export PGTZ
PGDATESTYLE="Postgres,US"; export PGDATESTYLE PGDATESTYLE="ISO,US"; export PGDATESTYLE
# ---------- # ----------
# The SQL shell to use during this test # The SQL shell to use during this test
...@@ -202,6 +207,11 @@ else ...@@ -202,6 +207,11 @@ else
exit 4 exit 4
fi fi
# ----------
# Set frontend timezone and datestyle explicitly
# ----------
PGTZ="PST8PDT"; export PGTZ
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
# ---------- # ----------
# Create the regression database # Create the regression database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment