commutator = >=%
);
QUERY: CREATE OPERATOR @#@ (
- rightarg = int4, -- left unary
+ rightarg = int4,
procedure = int4fac
);
QUERY: CREATE OPERATOR #@# (
- leftarg = int4, -- right unary
+ leftarg = int4,
procedure = int4fac
);
QUERY: CREATE OPERATOR #%# (
- leftarg = int4, -- right unary
+ leftarg = int4,
procedure = int4fac
);
QUERY: CREATE VIEW street AS
(6 rows)
QUERY: SELECT '' AS five, ABSTIME_TBL.*
- WHERE (ABSTIME_TBL.f1 + '@ 3 year'::reltime) -- +3 years
+ WHERE (ABSTIME_TBL.f1 + '@ 3 year'::reltime)
< 'Jan 14 14:00:00 1977'::abstime;
five|f1
----+----------------------------
(5 rows)
QUERY: SELECT '' AS five, ABSTIME_TBL.*
- WHERE (ABSTIME_TBL.f1 + '@ 3 year ago'::reltime) -- -3 years
+ WHERE (ABSTIME_TBL.f1 + '@ 3 year ago'::reltime)
< 'Jan 14 14:00:00 1971'::abstime;
five|f1
----+----------------------------
(5 rows)
QUERY: SELECT '' AS five, ABSTIME_TBL.*
- WHERE (ABSTIME_TBL.f1 - '@ 3 year'::reltime) -- -(+3) years
+ WHERE (ABSTIME_TBL.f1 - '@ 3 year'::reltime)
< 'Jan 14 14:00:00 1971'::abstime;
five|f1
----+----------------------------
(5 rows)
QUERY: SELECT '' AS five, ABSTIME_TBL.*
- WHERE (ABSTIME_TBL.f1 - '@ 3 year ago'::reltime) -- -(-3) years
+ WHERE (ABSTIME_TBL.f1 - '@ 3 year ago'::reltime)
< 'Jan 14 14:00:00 1977'::abstime;
five|f1
----+----------------------------
--
-- queries.source
--
--- $Header: /cvsroot/pgsql/src/test/regress/Attic/queries.source,v 1.3 1996/10/30 02:02:39 momjian Exp $
+-- $Header: /cvsroot/pgsql/src/test/regress/Attic/queries.source,v 1.4 1996/11/14 16:09:26 momjian Exp $
--
-- The comments that contain sequences of UNIX commands generate the
-- desired output for the POSTQUEL statement(s).
SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
-SELECT '' AS bad, ; (f.f1) from FLOAT8_TBL f where f.f1 = '0.0' ;
+SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f where f.f1 = '0.0' ;
-SELECT '' AS bad, ; (f.f1) from FLOAT8_TBL f where f.f1 < '0.0' ;
+SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f where f.f1 < '0.0' ;
SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f;
#!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.2 1996/10/30 02:02:41 momjian Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.3 1996/11/14 16:09:28 momjian Exp $
#
if [ -d ./obj ]; then
cd ./obj
echo =============== running regression queries ... =================
$FRONTEND regression < queries.sql
-if [ $? -ne 0 ]; then
- echo the queries script causes an error
- exit 1
-fi
+# this will generate error result code
echo =============== running error queries ... =================
$FRONTEND regression < errors.sql
-if [ $? -ne 0 ]; then
- echo the errors script has an unanticipated problem
- exit 1
-fi
+# this will generate error result code
#set this to 1 to avoid clearing the database
debug=0