1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

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.
This commit is contained in:
Tom Lane
2000-02-19 22:13:37 +00:00
parent f46571165d
commit b48f983ec3
4 changed files with 490 additions and 940 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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

View File

@ -1,6 +1,6 @@
#!/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
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
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