File tree Expand file tree Collapse file tree 4 files changed +28
-19
lines changed Expand file tree Collapse file tree 4 files changed +28
-19
lines changed Original file line number Diff line number Diff line change 1
1
AROPT:crs
2
- CFLAGS:
2
+ CFLAGS:-O2
3
3
SHARED_LIB:-fpic
4
4
ALL:
5
- SRCH_INC:
5
+ SRCH_INC:/usr/include/ncurses /usr/include/readline
6
6
SRCH_LIB:
7
7
USE_LOCALE:no
8
- DLSUFFIX:.o
8
+ DLSUFFIX:.so
9
9
YFLAGS:-d
10
- YACC: bison -y
10
+ YACC:bison -y
Original file line number Diff line number Diff line change @@ -6,19 +6,19 @@ QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 34 year');
6
6
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 3 months');
7
7
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 14 seconds ago');
8
8
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('badly formatted reltime');
9
+ WARN:Bad reltime external representation 'badly formatted reltime'
9
10
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 30 eons ago');
10
- QUERY: SELECT '' AS eight, RELTIME_TBL.*;
11
- eight|f1
12
- -----+-----------------
13
- |@ 1 minute
14
- |@ 5 hours
15
- |@ 10 days
16
- |@ 34 years
17
- |@ 3 months
18
- |@ 14 seconds ago
19
- |Undefined RelTime
20
- |Undefined RelTime
21
- (8 rows)
11
+ WARN:Bad reltime external representation '@ 30 eons ago'
12
+ QUERY: SELECT '' AS six, RELTIME_TBL.*;
13
+ six|f1
14
+ ---+----------------
15
+ |@ 1 minute
16
+ |@ 5 hours
17
+ |@ 10 days
18
+ |@ 34 years
19
+ |@ 3 months
20
+ |@ 14 seconds ago
21
+ (6 rows)
22
22
23
23
QUERY: SELECT '' AS five, RELTIME_TBL.*
24
24
WHERE RELTIME_TBL.f1 <> '@ 10 days'::reltime;
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.6 1997/04/06 08:53:34 scrappy Exp $
2
+ # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.7 1997/04/26 05:49:39 scrappy Exp $
3
3
#
4
4
if [ -d ./obj ]; then
5
5
cd ./obj
6
6
fi
7
7
8
- TZ=" PST8PDT " ; export TZ
8
+ TZ=" PST8PDT7,M04.01.00,M10.05.03 " ; export TZ
9
9
10
10
# FRONTEND=monitor
11
11
FRONTEND=" psql -n -e -q"
12
12
13
+ echo =============== Notes... =================
14
+ echo " You must be already running the postmaster"
15
+ echo " for the regression tests to succeed."
16
+ echo " The time zone might need to be set to PST/PDT"
17
+ echo " for the date and time data types to pass the"
18
+ echo " regression tests; to do this type"
19
+ echo " setenv TZ $TZ "
20
+ echo " before starting the postmaster."
21
+
13
22
echo =============== destroying old regression database... =================
14
23
destroydb regression
15
24
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ INSERT INTO RELTIME_TBL (f1) VALUES ('@ 30 eons ago');
20
20
21
21
-- test reltime operators
22
22
23
- SELECT ' ' AS eight , RELTIME_TBL.* ;
23
+ SELECT ' ' AS six , RELTIME_TBL.* ;
24
24
25
25
SELECT ' ' AS five, RELTIME_TBL.*
26
26
WHERE RELTIME_TBL .f1 <> ' @ 10 days' ::reltime;
You can’t perform that action at this time.
0 commit comments