提交 b48f983e 编写于 作者: T 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.
上级 f4657116
......@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL;
RESET DateStyle;
SHOW DateStyle;
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions
NOTICE: DateStyle is ISO with US (NonEuropean) conventions
......@@ -1125,4 +1125,4 @@ SELECT '' AS eight, f1 AS european_sql FROM ABSTIME_TBL;
RESET DateStyle;
SHOW DateStyle;
NOTICE: DateStyle is Postgres with US (NonEuropean) conventions
NOTICE: DateStyle is ISO with US (NonEuropean) conventions
#!/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
......@@ -78,10 +78,15 @@ else
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
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
PGDATESTYLE="ISO,US"; export PGDATESTYLE
# ----------
# The SQL shell to use during this test
......@@ -202,6 +207,11 @@ else
exit 4
fi
# ----------
# Set frontend timezone and datestyle explicitly
# ----------
PGTZ="PST8PDT"; export PGTZ
PGDATESTYLE="Postgres,US"; export PGDATESTYLE
# ----------
# Create the regression database
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册