-/bin/sh ./regress.sh 2>&1 | tee obj/regress.out
+Status: RO
+X-Status:
+Received: from daemun.ilt.com ([204.247.102.21]) by ki.net (8.7.5/8.7.5) with ESMTP id SAA22954 for <
[email protected]>; Wed, 31 Jul 1996 18:14:36 -0400 (EDT)
+Received: from madmax.ilt.com (madmax [199.26.203.43]) by daemun.ilt.com (8.7.5/8.7.3) with SMTP id PAA27575 for <
[email protected]>; Wed, 31 Jul 1996 15:14:04 -0700 (PDT)
+Received: by madmax.ilt.com (SMI-8.6/ILT-SVR4-1.1)
+ id PAA14102; Wed, 31 Jul 1996 15:09:21 -0700
+Date: Wed, 31 Jul 1996 15:09:21 -0700
+Subject: src/test/regress/expected.input
+
+
=============== destroying old regression database... =================
WARN:destroydb: database regression does not exist.
destroydb: database destroy failed on regression.
=============== creating new regression database... =================
QUERY: CREATE FUNCTION circle_in(opaque)
RETURNS circle
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
NOTICE:ProcedureCreate: type 'circle' is not yet defined
QUERY: CREATE FUNCTION circle_out(opaque)
RETURNS opaque
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
QUERY: CREATE TYPE circle (
internallength = 24,
LANGUAGE 'sql';
QUERY: CREATE FUNCTION pt_in_circle(point, circle)
RETURNS int4
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
QUERY: CREATE FUNCTION overpaid(emp)
RETURNS bool
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
QUERY: CREATE FUNCTION boxarea(box)
RETURNS int4
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
QUERY: CREATE FUNCTION interpt_pp(path, path)
RETURNS point
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
QUERY: CREATE FUNCTION reverse_c16(char16)
RETURNS char16
- AS '_OBJWD_/regress.so'
+ AS '_CWD_/obj/regress.so'
LANGUAGE 'c';
-QUERY: LOAD '_OBJWD_/regress.so'
+QUERY: LOAD '_CWD_/obj/regress.so'
COPY onek FROM '_CWD_/data/onek.data';
QUERY: COPY tenk1 FROM '_CWD_/data/tenk.data';
QUERY: INSERT INTO tenk2 VALUES (tenk1.*);
QUERY: COPY bt_f8_heap FROM '_CWD_/data/hash.data';
QUERY: INSERT INTO arrtest (a[5], b[2][1][2], c, d)
VALUES ('{1,2,3,4,5}', '{{{},{1,2}}}', '{}', '{}');
+QUERY: UPDATE arrtest SET e[0] = '1.1';
+QUERY: UPDATE arrtest SET e[1] = '2.2';
QUERY: INSERT INTO arrtest (a, b[2][2][1], c, d, e)
VALUES ('{11,12,23}', '{{3,4},{4,5}}', '{"foobar"}',
'{{"elt1", "elt2"}}', '{"3.4", "6.7"}');
FROM pg_class
WHERE relhasindex
ORDER BY relname;
-relname relhasindex
--------------- ------------
-bt_c16_heap t
-bt_f8_heap t
-bt_i4_heap t
-bt_txt_heap t
-fast_emp4000 t
-hash_c16_heap t
-hash_f8_heap t
-hash_i4_heap t
-hash_txt_heap t
-ihighway t
-onek t
-pg_attribute t
-pg_class t
-pg_proc t
-pg_type t
-road t
-shighway t
-tenk1 t
-tenk2 t
+relname |relhasindex
+-------------+-----------
+bt_c16_heap |t
+bt_f8_heap |t
+bt_i4_heap |t
+bt_txt_heap |t
+fast_emp4000 |t
+hash_c16_heap|t
+hash_f8_heap |t
+hash_i4_heap |t
+hash_txt_heap|t
+ihighway |t
+onek |t
+pg_attribute |t
+pg_class |t
+pg_proc |t
+pg_type |t
+road |t
+shighway |t
+tenk1 |t
+tenk2 |t
=============== running regression queries ... =================
QUERY: SELECT 1 AS one;
-one
-----
-1
+one
+---
+ 1
QUERY: SELECT 't'::bool AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT 'f'::bool AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT 't'::bool or 'f'::bool AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT 't'::bool and 'f'::bool AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT not 'f'::bool AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT 't'::bool = 'f'::bool AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT 't'::bool <> 'f'::bool AS true;
-true
------
-t
+true
+----
+t
QUERY: CREATE TABLE BOOLTBL1 (f1 bool);
QUERY: INSERT INTO BOOLTBL1 (f1) VALUES ('t'::bool);
QUERY: INSERT INTO BOOLTBL1 (f1) VALUES ('True'::bool);
QUERY: INSERT INTO BOOLTBL1 (f1) VALUES ('true'::bool);
QUERY: SELECT '' AS t_3, BOOLTBL1.*;
-t_3 f1
----- ---
- t
- t
- t
+t_3|f1
+---+--
+ |t
+ |t
+ |t
QUERY: SELECT '' AS t_3, BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 = 'true'::bool;
-t_3 f1
----- ---
- t
- t
- t
+t_3|f1
+---+--
+ |t
+ |t
+ |t
QUERY: SELECT '' AS t_3, BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 <> 'false'::bool;
-t_3 f1
----- ---
- t
- t
- t
+t_3|f1
+---+--
+ |t
+ |t
+ |t
QUERY: SELECT '' AS zero, BOOLTBL1.*
FROM BOOLTBL1
WHERE booleq('false'::bool, f1);
-zero f1
------ ---
+zero|f1
+----+--
QUERY: INSERT INTO BOOLTBL1 (f1) VALUES ('f'::bool);
QUERY: SELECT '' AS f_1, BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 = 'false'::bool;
-f_1 f1
----- ---
- f
+f_1|f1
+---+--
+ |f
QUERY: CREATE TABLE BOOLTBL2 (f1 bool);
QUERY: INSERT INTO BOOLTBL2 (f1) VALUES ('f'::bool);
QUERY: INSERT INTO BOOLTBL2 (f1) VALUES ('false'::bool);
QUERY: INSERT INTO BOOLTBL2 (f1)
VALUES ('XXX'::bool);
QUERY: SELECT '' AS f_4, BOOLTBL2.*;
-f_4 f1
----- ---
- f
- f
- f
- f
+f_4|f1
+---+--
+ |f
+ |f
+ |f
+ |f
QUERY: SELECT '' AS tf_12, BOOLTBL1.*, BOOLTBL2.*
WHERE BOOLTBL2.f1 <> BOOLTBL1.f1;
-tf_12 f1 f1
------- --- ---
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
+tf_12|f1|f1
+-----+--+--
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
QUERY: SELECT '' AS tf_12, BOOLTBL1.*, BOOLTBL2.*
WHERE boolne(BOOLTBL2.f1,BOOLTBL1.f1);
-tf_12 f1 f1
------- --- ---
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
- t f
+tf_12|f1|f1
+-----+--+--
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
+ |t |f
QUERY: SELECT '' AS ff_4, BOOLTBL1.*, BOOLTBL2.*
WHERE BOOLTBL2.f1 = BOOLTBL1.f1 and BOOLTBL1.f1 = 'false'::bool;
-ff_4 f1 f1
------ --- ---
- f f
- f f
- f f
- f f
+ff_4|f1|f1
+----+--+--
+ |f |f
+ |f |f
+ |f |f
+ |f |f
QUERY: SELECT '' AS tf_12_ff_4, BOOLTBL1.*, BOOLTBL2.*
WHERE BOOLTBL2.f1 = BOOLTBL1.f1 or BOOLTBL1.f1 = 'true'::bool;
-tf_12_ff_4 f1 f1
------------ --- ---
- t f
- t f
- t f
- f f
- t f
- t f
- t f
- f f
- t f
- t f
- t f
- f f
- t f
- t f
- t f
- f f
+tf_12_ff_4|f1|f1
+----------+--+--
+ |t |f
+ |t |f
+ |t |f
+ |f |f
+ |t |f
+ |t |f
+ |t |f
+ |f |f
+ |t |f
+ |t |f
+ |t |f
+ |f |f
+ |t |f
+ |t |f
+ |t |f
+ |f |f
QUERY: CREATE TABLE ABSTIME_TBL (f1 abstime);
QUERY: INSERT INTO ABSTIME_TBL (f1) VALUES ('Jan 14, 1973 03:14:21');
QUERY: INSERT INTO ABSTIME_TBL (f1) VALUES ('Mon May 1 00:30:30 PDT 1995'::abstime);
QUERY: INSERT INTO TINTERVAL_TBL (f1)
VALUES ('["" "infinity"]');
QUERY: SELECT '' AS eleven, ABSTIME_TBL.*;
-eleven f1
-------- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- Mon May 01 00:30:30 1995 PDT
- epoch
- current
- infinity
- -infinity
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
- Invalid Abstime
- Invalid Abstime
+eleven|f1
+------+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |Mon May 01 00:30:30 1995 PDT
+ |epoch
+ |current
+ |infinity
+ |-infinity
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
+ |Invalid Abstime
+ |Invalid Abstime
QUERY: SELECT '' AS eight, ABSTIME_TBL.*
WHERE ABSTIME_TBL.f1 < 'Jun 30, 2001'::abstime;
-eight f1
------- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- Mon May 01 00:30:30 1995 PDT
- epoch
- current
- -infinity
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+eight|f1
+-----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |Mon May 01 00:30:30 1995 PDT
+ |epoch
+ |current
+ |-infinity
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS eight, ABSTIME_TBL.*
WHERE ABSTIME_TBL.f1 > '-infinity'::abstime;
-eight f1
------- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- Mon May 01 00:30:30 1995 PDT
- epoch
- current
- infinity
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+eight|f1
+-----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |Mon May 01 00:30:30 1995 PDT
+ |epoch
+ |current
+ |infinity
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS eight, ABSTIME_TBL.*
WHERE 'May 10, 1943 23:59:12'::abstime <> ABSTIME_TBL.f1;
-eight f1
------- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- Mon May 01 00:30:30 1995 PDT
- epoch
- current
- infinity
- -infinity
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+eight|f1
+-----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |Mon May 01 00:30:30 1995 PDT
+ |epoch
+ |current
+ |infinity
+ |-infinity
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS one, ABSTIME_TBL.*
WHERE 'current'::abstime = ABSTIME_TBL.f1;
-one f1
----- --------
- current
+one|f1
+---+-------
+ |current
QUERY: SELECT '' AS five, ABSTIME_TBL.*
WHERE 'epoch'::abstime >= ABSTIME_TBL.f1;
-five f1
------ -----------------------------
- epoch
- -infinity
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+five|f1
+----+----------------------------
+ |epoch
+ |-infinity
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS six, ABSTIME_TBL.*
WHERE ABSTIME_TBL.f1 <= 'Jan 14, 1973 03:14:21'::abstime;
-six f1
----- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- epoch
- -infinity
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+six|f1
+---+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |epoch
+ |-infinity
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS six, ABSTIME_TBL.*
WHERE ABSTIME_TBL.f1 <?>
'["Apr 1 1945 00:00:00" "Dec 30 1999 23:00:00"]'::tinterval;
-six f1
----- -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- Mon May 01 00:30:30 1995 PDT
- epoch
- current
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+six|f1
+---+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |Mon May 01 00:30:30 1995 PDT
+ |epoch
+ |current
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS five, ABSTIME_TBL.*
WHERE (ABSTIME_TBL.f1 + '@ 3 year'::reltime) -- +3 years
< 'Jan 14 14:00:00 1977'::abstime;
-five f1
------ -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- epoch
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+five|f1
+----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |epoch
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS five, ABSTIME_TBL.*
WHERE (ABSTIME_TBL.f1 + '@ 3 year ago'::reltime) -- -3 years
< 'Jan 14 14:00:00 1971'::abstime;
-five f1
------ -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- epoch
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+five|f1
+----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |epoch
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS five, ABSTIME_TBL.*
WHERE (ABSTIME_TBL.f1 - '@ 3 year'::reltime) -- -(+3) years
< 'Jan 14 14:00:00 1971'::abstime;
-five f1
------ -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- epoch
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+five|f1
+----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |epoch
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS five, ABSTIME_TBL.*
WHERE (ABSTIME_TBL.f1 - '@ 3 year ago'::reltime) -- -(-3) years
< 'Jan 14 14:00:00 1977'::abstime;
-five f1
------ -----------------------------
- Sun Jan 14 03:14:21 1973 PST
- epoch
- Mon May 10 23:59:12 1943 PWT
- Thu Mar 07 10:00:00 1946 PST
- Wed Dec 31 15:59:59 1969 PST
+five|f1
+----+----------------------------
+ |Sun Jan 14 03:14:21 1973 PST
+ |epoch
+ |Mon May 10 23:59:12 1943 PWT
+ |Thu Mar 07 10:00:00 1946 PST
+ |Wed Dec 31 15:59:59 1969 PST
QUERY: SELECT '' AS twenty, ABSTIME_TBL.*, RELTIME_TBL.*
WHERE (ABSTIME_TBL.f1 + RELTIME_TBL.f1)
< 'Jan 14 14:00:00 1971'::abstime;
-twenty f1 f1
-------- ----------------------------- -----------------
- epoch @ 1 minute
- Mon May 10 23:59:12 1943 PWT @ 1 minute
- Thu Mar 07 10:00:00 1946 PST @ 1 minute
- Wed Dec 31 15:59:59 1969 PST @ 1 minute
- epoch @ 5 hours
- Mon May 10 23:59:12 1943 PWT @ 5 hours
- Thu Mar 07 10:00:00 1946 PST @ 5 hours
- Wed Dec 31 15:59:59 1969 PST @ 5 hours
- epoch @ 10 days
- Mon May 10 23:59:12 1943 PWT @ 10 days
- Thu Mar 07 10:00:00 1946 PST @ 10 days
- Wed Dec 31 15:59:59 1969 PST @ 10 days
- epoch @ 3 months
- Mon May 10 23:59:12 1943 PWT @ 3 months
- Thu Mar 07 10:00:00 1946 PST @ 3 months
- Wed Dec 31 15:59:59 1969 PST @ 3 months
- epoch @ 14 seconds ago
- Mon May 10 23:59:12 1943 PWT @ 14 seconds ago
- Thu Mar 07 10:00:00 1946 PST @ 14 seconds ago
- Wed Dec 31 15:59:59 1969 PST @ 14 seconds ago
+twenty|f1 |f1
+------+----------------------------+----------------
+ |epoch |@ 1 minute
+ |Mon May 10 23:59:12 1943 PWT|@ 1 minute
+ |Thu Mar 07 10:00:00 1946 PST|@ 1 minute
+ |Wed Dec 31 15:59:59 1969 PST|@ 1 minute
+ |epoch |@ 5 hours
+ |Mon May 10 23:59:12 1943 PWT|@ 5 hours
+ |Thu Mar 07 10:00:00 1946 PST|@ 5 hours
+ |Wed Dec 31 15:59:59 1969 PST|@ 5 hours
+ |epoch |@ 10 days
+ |Mon May 10 23:59:12 1943 PWT|@ 10 days
+ |Thu Mar 07 10:00:00 1946 PST|@ 10 days
+ |Wed Dec 31 15:59:59 1969 PST|@ 10 days
+ |epoch |@ 3 months
+ |Mon May 10 23:59:12 1943 PWT|@ 3 months
+ |Thu Mar 07 10:00:00 1946 PST|@ 3 months
+ |Wed Dec 31 15:59:59 1969 PST|@ 3 months
+ |epoch |@ 14 seconds ago
+ |Mon May 10 23:59:12 1943 PWT|@ 14 seconds ago
+ |Thu Mar 07 10:00:00 1946 PST|@ 14 seconds ago
+ |Wed Dec 31 15:59:59 1969 PST|@ 14 seconds ago
QUERY: SELECT '' AS eight, RELTIME_TBL.*;
-eight f1
------- ------------------
- @ 1 minute
- @ 5 hours
- @ 10 days
- @ 34 years
- @ 3 months
- @ 14 seconds ago
- Undefined RelTime
- Undefined RelTime
+eight|f1
+-----+-----------------
+ |@ 1 minute
+ |@ 5 hours
+ |@ 10 days
+ |@ 34 years
+ |@ 3 months
+ |@ 14 seconds ago
+ |Undefined RelTime
+ |Undefined RelTime
QUERY: SELECT '' AS five, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 <> '@ 10 days'::reltime;
-five f1
------ -----------------
- @ 1 minute
- @ 5 hours
- @ 34 years
- @ 3 months
- @ 14 seconds ago
+five|f1
+----+----------------
+ |@ 1 minute
+ |@ 5 hours
+ |@ 34 years
+ |@ 3 months
+ |@ 14 seconds ago
QUERY: SELECT '' AS three, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 <= '@ 5 hours'::reltime;
-three f1
------- -----------------
- @ 1 minute
- @ 5 hours
- @ 14 seconds ago
+three|f1
+-----+----------------
+ |@ 1 minute
+ |@ 5 hours
+ |@ 14 seconds ago
QUERY: SELECT '' AS three, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 < '@ 1 day'::reltime;
-three f1
------- -----------------
- @ 1 minute
- @ 5 hours
- @ 14 seconds ago
+three|f1
+-----+----------------
+ |@ 1 minute
+ |@ 5 hours
+ |@ 14 seconds ago
QUERY: SELECT '' AS one, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 = '@ 34 years'::reltime;
-one f1
----- -----------
- @ 34 years
+one|f1
+---+----------
+ |@ 34 years
QUERY: SELECT '' AS two, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 >= '@ 1 month'::reltime;
-two f1
----- -----------
- @ 34 years
- @ 3 months
+two|f1
+---+----------
+ |@ 34 years
+ |@ 3 months
QUERY: SELECT '' AS five, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 > '@ 3 seconds ago'::reltime;
-five f1
------ -----------
- @ 1 minute
- @ 5 hours
- @ 10 days
- @ 34 years
- @ 3 months
+five|f1
+----+----------
+ |@ 1 minute
+ |@ 5 hours
+ |@ 10 days
+ |@ 34 years
+ |@ 3 months
QUERY: SELECT '' AS fifteen, r1.*, r2.*
FROM RELTIME_TBL r1, RELTIME_TBL r2
WHERE r1.f1 > r2.f1;
-fifteen f1 f1
--------- ----------- -----------------
- @ 5 hours @ 1 minute
- @ 10 days @ 1 minute
- @ 34 years @ 1 minute
- @ 3 months @ 1 minute
- @ 10 days @ 5 hours
- @ 34 years @ 5 hours
- @ 3 months @ 5 hours
- @ 34 years @ 10 days
- @ 3 months @ 10 days
- @ 34 years @ 3 months
- @ 1 minute @ 14 seconds ago
- @ 5 hours @ 14 seconds ago
- @ 10 days @ 14 seconds ago
- @ 34 years @ 14 seconds ago
- @ 3 months @ 14 seconds ago
+fifteen|f1 |f1
+-------+----------+----------------
+ |@ 5 hours |@ 1 minute
+ |@ 10 days |@ 1 minute
+ |@ 34 years|@ 1 minute
+ |@ 3 months|@ 1 minute
+ |@ 10 days |@ 5 hours
+ |@ 34 years|@ 5 hours
+ |@ 3 months|@ 5 hours
+ |@ 34 years|@ 10 days
+ |@ 3 months|@ 10 days
+ |@ 34 years|@ 3 months
+ |@ 1 minute|@ 14 seconds ago
+ |@ 5 hours |@ 14 seconds ago
+ |@ 10 days |@ 14 seconds ago
+ |@ 34 years|@ 14 seconds ago
+ |@ 3 months|@ 14 seconds ago
QUERY: SELECT '' AS seven, TINTERVAL_TBL.*;
-seven f1
------- ----------------------------------------------------------------
- ['-infinity' 'infinity']
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current']
- ['Undefined Range']
- ['Undefined Range']
+seven|f1
+-----+---------------------------------------------------------------
+ |['-infinity' 'infinity']
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current']
+ |['Undefined Range']
+ |['Undefined Range']
QUERY: SELECT '' AS one, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #= '@ 1 months';
-one f1
----- ----------------------------------------------------------------
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+one|f1
+---+---------------------------------------------------------------
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
QUERY: SELECT '' AS three, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #<> '@ 1 months';
-three f1
------- ----------------------------------------------------------------
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current']
+three|f1
+-----+---------------------------------------------------------------
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current']
QUERY: SELECT '' AS zero, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #< '@ 1 month';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS one, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #<= '@ 1 month';
-one f1
----- ----------------------------------------------------------------
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+one|f1
+---+---------------------------------------------------------------
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
QUERY: SELECT '' AS three, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #> '@ 1 year';
-three f1
------- ----------------------------------------------------------------
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current']
+three|f1
+-----+---------------------------------------------------------------
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current']
QUERY: SELECT '' AS three, t.*
FROM TINTERVAL_TBL t
WHERE t.f1 #>= '@ 3 years';
-three f1
------- ----------------------------------------------------------------
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current']
+three|f1
+-----+---------------------------------------------------------------
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current']
QUERY: SELECT '' AS three, t1.*
FROM TINTERVAL_TBL t1
WHERE t1.f1 &&
'["Aug 15 14:23:19 1983" "Sep 16 14:23:19 1983"]'::tinterval;
-three f1
------- ----------------------------------------------------------------
- ['-infinity' 'infinity']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
+three|f1
+-----+---------------------------------------------------------------
+ |['-infinity' 'infinity']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
QUERY: SELECT '' AS five, t1.*, t2.*
FROM TINTERVAL_TBL t1, TINTERVAL_TBL t2
WHERE t1.f1 && t2.f1 and
t1.f1 = t2.f1;
-five f1 f1
------ ---------------------------------------------------------------- ----------------------------------------------------------------
- ['-infinity' 'infinity'] ['-infinity' 'infinity']
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST'] ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT'] ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT'] ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current'] ['Thu Feb 15 12:15:03 1990 PST' 'current']
+five|f1 |f1
+----+---------------------------------------------------------------+---------------------------------------------------------------
+ |['-infinity' 'infinity'] |['-infinity' 'infinity']
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']|['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']|['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT'] |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current'] |['Thu Feb 15 12:15:03 1990 PST' 'current']
QUERY: SELECT '' AS fourteen, t1.*, t2.*
FROM TINTERVAL_TBL t1, TINTERVAL_TBL t2
WHERE t1.f1 && t2.f1 and
not t1.f1 = t2.f1;
-fourteen f1 f1
---------- ---------------------------------------------------------------- ----------------------------------------------------------------
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST'] ['-infinity' 'infinity']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT'] ['-infinity' 'infinity']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT'] ['-infinity' 'infinity']
- ['Thu Feb 15 12:15:03 1990 PST' 'current'] ['-infinity' 'infinity']
- ['-infinity' 'infinity'] ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT'] ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['-infinity' 'infinity'] ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT'] ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['-infinity' 'infinity'] ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST'] ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT'] ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current'] ['epoch' 'Mon May 01 00:30:30 1995 PDT']
- ['-infinity' 'infinity'] ['Thu Feb 15 12:15:03 1990 PST' 'current']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT'] ['Thu Feb 15 12:15:03 1990 PST' 'current']
+fourteen|f1 |f1
+--------+---------------------------------------------------------------+---------------------------------------------------------------
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']|['-infinity' 'infinity']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']|['-infinity' 'infinity']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT'] |['-infinity' 'infinity']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current'] |['-infinity' 'infinity']
+ |['-infinity' 'infinity'] |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT'] |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['-infinity' 'infinity'] |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT'] |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['-infinity' 'infinity'] |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']|['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']|['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current'] |['epoch' 'Mon May 01 00:30:30 1995 PDT']
+ |['-infinity' 'infinity'] |['Thu Feb 15 12:15:03 1990 PST' 'current']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT'] |['Thu Feb 15 12:15:03 1990 PST' 'current']
QUERY: SELECT '' AS five, t1.*
FROM TINTERVAL_TBL t1
WHERE not t1.f1 <<
'["Aug 15 14:23:19 1980" "Sep 16 14:23:19 1990"]'::tinterval;
-five f1
------ ----------------------------------------------------------------
- ['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['Thu Feb 15 12:15:03 1990 PST' 'current']
- ['Undefined Range']
- ['Undefined Range']
+five|f1
+----+---------------------------------------------------------------
+ |['Mon May 10 23:59:12 1943 PWT' 'Sun Jan 14 03:14:21 1973 PST']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['Thu Feb 15 12:15:03 1990 PST' 'current']
+ |['Undefined Range']
+ |['Undefined Range']
QUERY: SELECT '' AS three, t1.*
FROM TINTERVAL_TBL t1
WHERE t1.f1 &&
('Aug 15 14:23:19 1983'::abstime <#>
'Sep 16 14:23:19 1983'::abstime);
-three f1
------- ----------------------------------------------------------------
- ['-infinity' 'infinity']
- ['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
- ['epoch' 'Mon May 01 00:30:30 1995 PDT']
+three|f1
+-----+---------------------------------------------------------------
+ |['-infinity' 'infinity']
+ |['Sun Sep 04 23:59:12 1983 PDT' 'Tue Oct 04 23:59:12 1983 PDT']
+ |['epoch' 'Mon May 01 00:30:30 1995 PDT']
QUERY: CREATE TABLE BOX_TBL (f1 box);
QUERY: INSERT INTO BOX_TBL (f1) VALUES ('(2.0,2.0,0.0,0.0)');
QUERY: INSERT INTO BOX_TBL (f1) VALUES ('(1.0,1.0,3.0,3.0)');
QUERY: INSERT INTO BOX_TBL (f1) VALUES ('asdfasdf(ad');
WARN:Bad box external representation 'asdfasdf(ad'
QUERY: SELECT '' AS four, BOX_TBL.*;
-four f1
------ ------------------
- (2,2,0,0)
- (3,3,1,1)
- (2.5,3.5,2.5,2.5)
- (3,3,3,3)
+four|f1
+----+-----------------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(2.5,3.5,2.5,2.5)
+ |(3,3,3,3)
QUERY: SELECT '' AS four, b.*, box_area(b.f1) as barea
FROM BOX_TBL b;
-four f1 barea
------ ------------------ ------
- (2,2,0,0) 4
- (3,3,1,1) 4
- (2.5,3.5,2.5,2.5) 0
- (3,3,3,3) 0
+four|f1 |barea
+----+-----------------+-----
+ |(2,2,0,0) | 4
+ |(3,3,1,1) | 4
+ |(2.5,3.5,2.5,2.5)| 0
+ |(3,3,3,3) | 0
QUERY: SELECT '' AS three, b.f1
FROM BOX_TBL b
WHERE b.f1 && '(2.5,2.5,1.0,1.0)'::box;
-three f1
------- ------------------
- (2,2,0,0)
- (3,3,1,1)
- (2.5,3.5,2.5,2.5)
+three|f1
+-----+-----------------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(2.5,3.5,2.5,2.5)
QUERY: SELECT '' AS two, b1.*
FROM BOX_TBL b1
WHERE b1.f1 &< '(2.0,2.0,2.5,2.5)'::box;
-two f1
----- ------------------
- (2,2,0,0)
- (2.5,3.5,2.5,2.5)
+two|f1
+---+-----------------
+ |(2,2,0,0)
+ |(2.5,3.5,2.5,2.5)
QUERY: SELECT '' AS two, b1.*
FROM BOX_TBL b1
WHERE b1.f1 &> '(2.0,2.0,2.5,2.5)'::box;
-two f1
----- ------------------
- (2.5,3.5,2.5,2.5)
- (3,3,3,3)
+two|f1
+---+-----------------
+ |(2.5,3.5,2.5,2.5)
+ |(3,3,3,3)
QUERY: SELECT '' AS two, b.f1
FROM BOX_TBL b
WHERE b.f1 << '(3.0,3.0,5.0,5.0)'::box;
-two f1
----- ------------------
- (2,2,0,0)
- (2.5,3.5,2.5,2.5)
+two|f1
+---+-----------------
+ |(2,2,0,0)
+ |(2.5,3.5,2.5,2.5)
QUERY: SELECT '' AS four, b.f1
FROM BOX_TBL b
WHERE b.f1 <= '(3.0,3.0,5.0,5.0)'::box;
-four f1
------ ------------------
- (2,2,0,0)
- (3,3,1,1)
- (2.5,3.5,2.5,2.5)
- (3,3,3,3)
+four|f1
+----+-----------------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(2.5,3.5,2.5,2.5)
+ |(3,3,3,3)
QUERY: SELECT '' AS two, b.f1
FROM BOX_TBL b
WHERE b.f1 < '(3.0,3.0,5.0,5.0)'::box;
-two f1
----- ------------------
- (2.5,3.5,2.5,2.5)
- (3,3,3,3)
+two|f1
+---+-----------------
+ |(2.5,3.5,2.5,2.5)
+ |(3,3,3,3)
QUERY: SELECT '' AS two, b.f1
FROM BOX_TBL b
WHERE b.f1 = '(3.0,3.0,5.0,5.0)'::box;
-two f1
----- ----------
- (2,2,0,0)
- (3,3,1,1)
+two|f1
+---+---------
+ |(2,2,0,0)
+ |(3,3,1,1)
QUERY: SELECT '' AS two, b.f1
FROM BOX_TBL b -- zero area
WHERE b.f1 > '(3.5,3.0,4.5,3.0)'::box;
-two f1
----- ----------
- (2,2,0,0)
- (3,3,1,1)
+two|f1
+---+---------
+ |(2,2,0,0)
+ |(3,3,1,1)
QUERY: SELECT '' AS four, b.f1
FROM BOX_TBL b -- zero area
WHERE b.f1 >= '(3.5,3.0,4.5,3.0)'::box;
-four f1
------ ------------------
- (2,2,0,0)
- (3,3,1,1)
- (2.5,3.5,2.5,2.5)
- (3,3,3,3)
+four|f1
+----+-----------------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(2.5,3.5,2.5,2.5)
+ |(3,3,3,3)
QUERY: SELECT '' AS two, b.f1
FROM BOX_TBL b
WHERE '(3.0,3.0,5.0,5.0)'::box >> b.f1;
-two f1
----- ------------------
- (2,2,0,0)
- (2.5,3.5,2.5,2.5)
+two|f1
+---+-----------------
+ |(2,2,0,0)
+ |(2.5,3.5,2.5,2.5)
QUERY: SELECT '' AS three, b.f1
FROM BOX_TBL b
WHERE b.f1 @ '(0,0,3,3)'::box;
-three f1
------- ----------
- (2,2,0,0)
- (3,3,1,1)
- (3,3,3,3)
+three|f1
+-----+---------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(3,3,3,3)
QUERY: SELECT '' AS three, b.f1
FROM BOX_TBL b
WHERE '(0,0,3,3)'::box ~ b.f1;
-three f1
------- ----------
- (2,2,0,0)
- (3,3,1,1)
- (3,3,3,3)
+three|f1
+-----+---------
+ |(2,2,0,0)
+ |(3,3,1,1)
+ |(3,3,3,3)
QUERY: SELECT '' AS one, b.f1
FROM BOX_TBL b
WHERE '(1,1,3,3)'::box ~= b.f1;
-one f1
----- ----------
- (3,3,1,1)
+one|f1
+---+---------
+ |(3,3,1,1)
QUERY: SELECT '' AS four, @@(b1.f1) AS p
FROM BOX_TBL b1;
-four p
------ --------
- (1,1)
- (2,2)
- (2.5,3)
- (3,3)
+four|p
+----+-------
+ |(1,1)
+ |(2,2)
+ |(2.5,3)
+ |(3,3)
QUERY: SELECT '' AS one, b1.*, b2.*
FROM BOX_TBL b1, BOX_TBL b2
WHERE b1.f1 ~ b2.f1 and not b1.f1 ~= b2.f1;
-one f1 f1
----- ---------- ----------
- (3,3,1,1) (3,3,3,3)
+one|f1 |f1
+---+---------+---------
+ |(3,3,1,1)|(3,3,3,3)
QUERY: CREATE TABLE CHAR_TBL(f1 char);
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('a');
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('A');
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('');
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('cd');
QUERY: SELECT '' AS seven, CHAR_TBL.*;
-seven f1
------- ---
- a
- A
- 1
- 2
- 3
-
- c
+seven|f1
+-----+--
+ |a
+ |A
+ |1
+ |2
+ |3
+ |
+ |c
QUERY: SELECT '' AS six, c.*
FROM CHAR_TBL c
WHERE c.f1 <> 'a';
-six f1
----- ---
- A
- 1
- 2
- 3
-
- c
+six|f1
+---+--
+ |A
+ |1
+ |2
+ |3
+ |
+ |c
QUERY: SELECT '' AS one, c.*
FROM CHAR_TBL c
WHERE c.f1 = 'a';
-one f1
----- ---
- a
+one|f1
+---+--
+ |a
QUERY: SELECT '' AS five, c.*
FROM CHAR_TBL c
WHERE c.f1 < 'a';
-five f1
------ ---
- A
- 1
- 2
- 3
-
+five|f1
+----+--
+ |A
+ |1
+ |2
+ |3
+ |
QUERY: SELECT '' AS six, c.*
FROM CHAR_TBL c
WHERE c.f1 <= 'a';
-six f1
----- ---
- a
- A
- 1
- 2
- 3
-
+six|f1
+---+--
+ |a
+ |A
+ |1
+ |2
+ |3
+ |
QUERY: SELECT '' AS one, c.*
FROM CHAR_TBL c
WHERE c.f1 > 'a';
-one f1
----- ---
- c
+one|f1
+---+--
+ |c
QUERY: SELECT '' AS two, c.*
FROM CHAR_TBL c
WHERE c.f1 >= 'a';
-two f1
----- ---
- a
- c
+two|f1
+---+--
+ |a
+ |c
QUERY: CREATE TABLE CHAR2_TBL(f1 char2);
QUERY: INSERT INTO CHAR2_TBL (f1) VALUES ('AB');
QUERY: INSERT INTO CHAR2_TBL (f1) VALUES ('ab');
QUERY: INSERT INTO CHAR2_TBL (f1) VALUES ('');
QUERY: INSERT INTO CHAR2_TBL (f1) VALUES ('12345');
QUERY: SELECT '' AS seven, CHAR2_TBL.*;
-seven f1
------- ---
- AB
- ab
- ZY
- 34
- d
-
- 12
+seven|f1
+-----+--
+ |AB
+ |ab
+ |ZY
+ |34
+ |d
+ |
+ |12
QUERY: SELECT '' AS six, c.f1 FROM CHAR2_TBL c WHERE c.f1 <> 'AB';
-six f1
----- ---
- ab
- ZY
- 34
- d
-
- 12
+six|f1
+---+--
+ |ab
+ |ZY
+ |34
+ |d
+ |
+ |12
QUERY: SELECT '' AS one, c.f1 FROM CHAR2_TBL c WHERE c.f1 = 'AB';
-one f1
----- ---
- AB
+one|f1
+---+--
+ |AB
QUERY: SELECT '' AS three, c.f1 FROM CHAR2_TBL c WHERE c.f1 < 'AB';
-three f1
------- ---
- 34
-
- 12
+three|f1
+-----+--
+ |34
+ |
+ |12
QUERY: SELECT '' AS four, c.f1 FROM CHAR2_TBL c WHERE c.f1 <= 'AB';
-four f1
------ ---
- AB
- 34
-
- 12
+four|f1
+----+--
+ |AB
+ |34
+ |
+ |12
QUERY: SELECT '' AS three, c.f1 FROM CHAR2_TBL c WHERE c.f1 > 'AB';
-three f1
------- ---
- ab
- ZY
- d
+three|f1
+-----+--
+ |ab
+ |ZY
+ |d
QUERY: SELECT '' AS four, c.f1 FROM CHAR2_TBL c WHERE c.f1 >= 'AB';
-four f1
------ ---
- AB
- ab
- ZY
- d
+four|f1
+----+--
+ |AB
+ |ab
+ |ZY
+ |d
QUERY: SELECT '' AS seven, c.f1 FROM CHAR2_TBL c WHERE c.f1 ~ '.*';
-seven f1
------- ---
- AB
- ab
- ZY
- 34
- d
-
- 12
+seven|f1
+-----+--
+ |AB
+ |ab
+ |ZY
+ |34
+ |d
+ |
+ |12
QUERY: SELECT '' AS zero, c.f1 FROM CHAR2_TBL c WHERE c.f1 !~ '.*';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS one, c.f1 FROM CHAR2_TBL c WHERE c.f1 ~ '34';
-one f1
----- ---
- 34
+one|f1
+---+--
+ |34
QUERY: SELECT '' AS one, c.f1 FROM CHAR2_TBL c WHERE c.f1 ~ '3.*';
-one f1
----- ---
- 34
+one|f1
+---+--
+ |34
QUERY: CREATE TABLE CHAR4_TBL (f1 char4);
QUERY: INSERT INTO CHAR4_TBL(f1) VALUES ('ABCD');
QUERY: INSERT INTO CHAR4_TBL(f1) VALUES ('abcd');
QUERY: INSERT INTO CHAR4_TBL(f1) VALUES ('');
QUERY: INSERT INTO CHAR4_TBL(f1) VALUES ('12345678');
QUERY: SELECT '' AS seven, CHAR4_TBL.*;
-seven f1
------- -----
- ABCD
- abcd
- ZYWZ
- 343f
- d34a
-
- 1234
+seven|f1
+-----+----
+ |ABCD
+ |abcd
+ |ZYWZ
+ |343f
+ |d34a
+ |
+ |1234
QUERY: SELECT '' AS six, c.f1 FROM CHAR4_TBL c WHERE c.f1 <> 'ABCD';
-six f1
----- -----
- abcd
- ZYWZ
- 343f
- d34a
-
- 1234
+six|f1
+---+----
+ |abcd
+ |ZYWZ
+ |343f
+ |d34a
+ |
+ |1234
QUERY: SELECT '' AS one, c.f1 FROM CHAR4_TBL c WHERE c.f1 = 'ABCD';
-one f1
----- -----
- ABCD
+one|f1
+---+----
+ |ABCD
QUERY: SELECT '' AS three, c.f1 FROM CHAR4_TBL c WHERE c.f1 < 'ABCD';
-three f1
------- -----
- 343f
-
- 1234
+three|f1
+-----+----
+ |343f
+ |
+ |1234
QUERY: SELECT '' AS four, c.f1 FROM CHAR4_TBL c WHERE c.f1 <= 'ABCD';
-four f1
------ -----
- ABCD
- 343f
-
- 1234
+four|f1
+----+----
+ |ABCD
+ |343f
+ |
+ |1234
QUERY: SELECT '' AS three, c.f1 FROM CHAR4_TBL c WHERE c.f1 > 'ABCD';
-three f1
------- -----
- abcd
- ZYWZ
- d34a
+three|f1
+-----+----
+ |abcd
+ |ZYWZ
+ |d34a
QUERY: SELECT '' AS four, c.f1 FROM CHAR4_TBL c WHERE c.f1 >= 'ABCD';
-four f1
------ -----
- ABCD
- abcd
- ZYWZ
- d34a
+four|f1
+----+----
+ |ABCD
+ |abcd
+ |ZYWZ
+ |d34a
QUERY: SELECT '' AS seven, c.f1 FROM CHAR4_TBL c WHERE c.f1 ~ '.*';
-seven f1
------- -----
- ABCD
- abcd
- ZYWZ
- 343f
- d34a
-
- 1234
+seven|f1
+-----+----
+ |ABCD
+ |abcd
+ |ZYWZ
+ |343f
+ |d34a
+ |
+ |1234
QUERY: SELECT '' AS zero, c.f1 FROM CHAR4_TBL c WHERE c.f1 !~ '.*';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS three, c.f1 FROM CHAR4_TBL c WHERE c.f1 ~ '.*34.*';
-three f1
------- -----
- 343f
- d34a
- 1234
+three|f1
+-----+----
+ |343f
+ |d34a
+ |1234
QUERY: CREATE TABLE CHAR8_TBL(f1 char8);
QUERY: INSERT INTO CHAR8_TBL(f1) VALUES ('ABCDEFGH');
QUERY: INSERT INTO CHAR8_TBL(f1) VALUES ('abcdefgh');
QUERY: INSERT INTO CHAR8_TBL(f1) VALUES ('');
QUERY: INSERT INTO CHAR8_TBL(f1) VALUES ('1234567890');
QUERY: SELECT '' AS seven, CHAR8_TBL.*;
-seven f1
------- ---------
- ABCDEFGH
- abcdefgh
- ZYWZ410-
- 343f%2a
- d34aas
-
- 12345678
+seven|f1
+-----+--------
+ |ABCDEFGH
+ |abcdefgh
+ |ZYWZ410-
+ |343f%2a
+ |d34aas
+ |
+ |12345678
QUERY: SELECT '' AS six, c.f1 FROM CHAR8_TBL c WHERE c.f1 <> 'ABCDEFGH';
-six f1
----- ---------
- abcdefgh
- ZYWZ410-
- 343f%2a
- d34aas
-
- 12345678
+six|f1
+---+--------
+ |abcdefgh
+ |ZYWZ410-
+ |343f%2a
+ |d34aas
+ |
+ |12345678
QUERY: SELECT '' AS one, c.f1 FROM CHAR8_TBL c WHERE c.f1 = 'ABCDEFGH';
-one f1
----- ---------
- ABCDEFGH
+one|f1
+---+--------
+ |ABCDEFGH
QUERY: SELECT '' AS three, c.f1 FROM CHAR8_TBL c WHERE c.f1 < 'ABCDEFGH';
-three f1
------- ---------
- 343f%2a
-
- 12345678
+three|f1
+-----+--------
+ |343f%2a
+ |
+ |12345678
QUERY: SELECT '' AS four, c.f1 FROM CHAR8_TBL c WHERE c.f1 <= 'ABCDEFGH';
-four f1
------ ---------
- ABCDEFGH
- 343f%2a
-
- 12345678
+four|f1
+----+--------
+ |ABCDEFGH
+ |343f%2a
+ |
+ |12345678
QUERY: SELECT '' AS three, c.f1 FROM CHAR8_TBL c WHERE c.f1 > 'ABCDEFGH';
-three f1
------- ---------
- abcdefgh
- ZYWZ410-
- d34aas
+three|f1
+-----+--------
+ |abcdefgh
+ |ZYWZ410-
+ |d34aas
QUERY: SELECT '' AS four, c.f1 FROM CHAR8_TBL c WHERE c.f1 >= 'ABCDEFGH';
-four f1
------ ---------
- ABCDEFGH
- abcdefgh
- ZYWZ410-
- d34aas
+four|f1
+----+--------
+ |ABCDEFGH
+ |abcdefgh
+ |ZYWZ410-
+ |d34aas
QUERY: SELECT '' AS seven, c.f1 FROM CHAR8_TBL c WHERE c.f1 ~ '.*';
-seven f1
------- ---------
- ABCDEFGH
- abcdefgh
- ZYWZ410-
- 343f%2a
- d34aas
-
- 12345678
+seven|f1
+-----+--------
+ |ABCDEFGH
+ |abcdefgh
+ |ZYWZ410-
+ |343f%2a
+ |d34aas
+ |
+ |12345678
QUERY: SELECT '' AS zero, c.f1 FROM CHAR8_TBL c WHERE c.f1 !~ '.*';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS four, c.f1 FROM CHAR8_TBL c WHERE c.f1 ~ '[0-9]';
-four f1
------ ---------
- ZYWZ410-
- 343f%2a
- d34aas
- 12345678
+four|f1
+----+--------
+ |ZYWZ410-
+ |343f%2a
+ |d34aas
+ |12345678
QUERY: SELECT '' AS three, c.f1 FROM CHAR8_TBL c WHERE c.f1 ~ '.*34.*';
-three f1
------- ---------
- 343f%2a
- d34aas
- 12345678
+three|f1
+-----+--------
+ |343f%2a
+ |d34aas
+ |12345678
QUERY: CREATE TABLE CHAR16_TBL(f1 char16);
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('ABCDEFGHIJKLMNOP');
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('abcdefghijklmnop');
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('');
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('1234567890ABCDEFGHIJKLMNOPQRSTUV');
QUERY: SELECT '' AS seven, CHAR16_TBL.*;
-seven f1
------- -----------------
- ABCDEFGHIJKLMNOP
- abcdefghijklmnop
- asdfghjkl;
- 343f%2a
- d34aaasdf
-
- 1234567890ABCDEF
+seven|f1
+-----+----------------
+ |ABCDEFGHIJKLMNOP
+ |abcdefghijklmnop
+ |asdfghjkl;
+ |343f%2a
+ |d34aaasdf
+ |
+ |1234567890ABCDEF
QUERY: SELECT '' AS six, c.f1 FROM CHAR16_TBL c WHERE c.f1 <> 'ABCDEFGHIJKLMNOP';
-six f1
----- -----------------
- abcdefghijklmnop
- asdfghjkl;
- 343f%2a
- d34aaasdf
-
- 1234567890ABCDEF
+six|f1
+---+----------------
+ |abcdefghijklmnop
+ |asdfghjkl;
+ |343f%2a
+ |d34aaasdf
+ |
+ |1234567890ABCDEF
QUERY: SELECT '' AS one, c.f1 FROM CHAR16_TBL c WHERE c.f1 = 'ABCDEFGHIJKLMNOP';
-one f1
----- -----------------
- ABCDEFGHIJKLMNOP
+one|f1
+---+----------------
+ |ABCDEFGHIJKLMNOP
QUERY: SELECT '' AS three, c.f1 FROM CHAR16_TBL c WHERE c.f1 < 'ABCDEFGHIJKLMNOP';
-three f1
------- -----------------
- 343f%2a
-
- 1234567890ABCDEF
+three|f1
+-----+----------------
+ |343f%2a
+ |
+ |1234567890ABCDEF
QUERY: SELECT '' AS four, c.f1 FROM CHAR16_TBL c WHERE c.f1 <= 'ABCDEFGHIJKLMNOP';
-four f1
------ -----------------
- ABCDEFGHIJKLMNOP
- 343f%2a
-
- 1234567890ABCDEF
+four|f1
+----+----------------
+ |ABCDEFGHIJKLMNOP
+ |343f%2a
+ |
+ |1234567890ABCDEF
QUERY: SELECT '' AS three, c.f1 FROM CHAR16_TBL c WHERE c.f1 > 'ABCDEFGHIJKLMNOP';
-three f1
------- -----------------
- abcdefghijklmnop
- asdfghjkl;
- d34aaasdf
+three|f1
+-----+----------------
+ |abcdefghijklmnop
+ |asdfghjkl;
+ |d34aaasdf
QUERY: SELECT '' AS four, c.f1 FROM CHAR16_TBL c WHERE c.f1 >= 'ABCDEFGHIJKLMNOP';
-four f1
------ -----------------
- ABCDEFGHIJKLMNOP
- abcdefghijklmnop
- asdfghjkl;
- d34aaasdf
+four|f1
+----+----------------
+ |ABCDEFGHIJKLMNOP
+ |abcdefghijklmnop
+ |asdfghjkl;
+ |d34aaasdf
QUERY: SELECT '' AS seven, c.f1 FROM CHAR16_TBL c WHERE c.f1 ~ '.*';
-seven f1
------- -----------------
- ABCDEFGHIJKLMNOP
- abcdefghijklmnop
- asdfghjkl;
- 343f%2a
- d34aaasdf
-
- 1234567890ABCDEF
+seven|f1
+-----+----------------
+ |ABCDEFGHIJKLMNOP
+ |abcdefghijklmnop
+ |asdfghjkl;
+ |343f%2a
+ |d34aaasdf
+ |
+ |1234567890ABCDEF
QUERY: SELECT '' AS zero, c.f1 FROM CHAR16_TBL c WHERE c.f1 !~ '.*';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS three, c.f1 FROM CHAR16_TBL c WHERE c.f1 ~ '[0-9]';
-three f1
------- -----------------
- 343f%2a
- d34aaasdf
- 1234567890ABCDEF
+three|f1
+-----+----------------
+ |343f%2a
+ |d34aaasdf
+ |1234567890ABCDEF
QUERY: SELECT '' AS two, c.f1 FROM CHAR16_TBL c WHERE c.f1 ~ '.*asdf.*';
-two f1
----- -----------
- asdfghjkl;
- d34aaasdf
+two|f1
+---+----------
+ |asdfghjkl;
+ |d34aaasdf
QUERY: CREATE TABLE FLOAT4_TBL (f1 float4);
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('0.0');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('1004.30');
WARN: Bad float4 input format -- underflow
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
-five f1
------ ------------
- 0
- 1004.3
- -34.84
- 1.23457e+20
- 1.23457e-20
+five|f1
+----+-----------
+ |0
+ |1004.3
+ |-34.84
+ |1.23457e+20
+ |1.23457e-20
QUERY: SELECT '' AS four, f.* FROM FLOAT4_TBL f WHERE f.f1 <> '1004.3';
-four f1
------ ------------
- 0
- -34.84
- 1.23457e+20
- 1.23457e-20
+four|f1
+----+-----------
+ |0
+ |-34.84
+ |1.23457e+20
+ |1.23457e-20
QUERY: SELECT '' AS one, f.* FROM FLOAT4_TBL f WHERE f.f1 = '1004.3';
-one f1
----- -------
- 1004.3
+one| f1
+---+------
+ |1004.3
QUERY: SELECT '' AS three, f.* FROM FLOAT4_TBL f WHERE '1004.3' > f.f1;
-three f1
------- ------------
- 0
- -34.84
- 1.23457e-20
+three| f1
+-----+-----------
+ | 0
+ | -34.84
+ |1.23457e-20
QUERY: SELECT '' AS three, f.* FROM FLOAT4_TBL f WHERE f.f1 < '1004.3';
-three f1
------- ------------
- 0
- -34.84
- 1.23457e-20
+three| f1
+-----+-----------
+ | 0
+ | -34.84
+ |1.23457e-20
QUERY: SELECT '' AS four, f.* FROM FLOAT4_TBL f WHERE '1004.3' >= f.f1;
-four f1
------ ------------
- 0
- 1004.3
- -34.84
- 1.23457e-20
+four| f1
+----+-----------
+ | 0
+ | 1004.3
+ | -34.84
+ |1.23457e-20
QUERY: SELECT '' AS four, f.* FROM FLOAT4_TBL f WHERE f.f1 <= '1004.3';
-four f1
------ ------------
- 0
- 1004.3
- -34.84
- 1.23457e-20
+four| f1
+----+-----------
+ | 0
+ | 1004.3
+ | -34.84
+ |1.23457e-20
QUERY: SELECT '' AS three, f.f1, f.f1 * '-10' AS x FROM FLOAT4_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- ------------ -------------
- 1004.3 -10043
- 1.23457e+20 -1.23457e+21
- 1.23457e-20 -1.23457e-19
+three|f1 |x
+-----+-----------+------------
+ |1004.3 |-10043
+ |1.23457e+20|-1.23457e+21
+ |1.23457e-20|-1.23457e-19
QUERY: SELECT '' AS three, f.f1, f.f1 + '-10' AS x FROM FLOAT4_TBL f
WHERE f.f1 > '0.0'
SELECT '' AS three, f.f1, f.f1 / '-10' AS x FROM FLOAT4_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- ------------ ------------
- 1004.3 994.3
- 1.23457e+20 1.23457e+20
- 1.23457e-20 -10
+three|f1 |x
+-----+-----------+-----------
+ |1004.3 |994.3
+ |1.23457e+20|1.23457e+20
+ |1.23457e-20|-10
QUERY: SELECT '' AS three, f.f1, f.f1 - '-10' AS x FROM FLOAT4_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- ------------ -------------
- 1004.3 -100.43
- 1.23457e+20 -1.23457e+19
- 1.23457e-20 -1.23457e-21
+three|f1 |x
+-----+-----------+------------
+ |1004.3 |-100.43
+ |1.23457e+20|-1.23457e+19
+ |1.23457e-20|-1.23457e-21
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT4_TBL f;
-three f1 x
------- ------------ ------------
- 1004.3 1014.3
- 1.23457e+20 1.23457e+20
- 1.23457e-20 10
+three|f1 |x
+-----+-----------+-----------
+ |1004.3 |1014.3
+ |1.23457e+20|1.23457e+20
+ |1.23457e-20|10
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
WARN:float4div: divide by 0.0 error
QUERY: SELECT '' AS five, f.f1, @f.f1 AS abs_f1 FROM FLOAT4_TBL f;
-five f1
------ ------------
- 0
- 1004.3
- -34.84
- 1.23457e+20
- 1.23457e-20
+five|f1
+----+-----------
+ |0
+ |1004.3
+ |-34.84
+ |1.23457e+20
+ |1.23457e-20
QUERY: UPDATE FLOAT4_TBL
SET f1 = FLOAT4_TBL.f1 * '-1'
WHERE FLOAT4_TBL.f1 > '0.0';
-five f1 abs_f1
------ ------------ ------------
- 0 0
- 1004.3 1004.3
- -34.84 34.84
- 1.23457e+20 1.23457e+20
- 1.23457e-20 1.23457e-20
+five|f1 |abs_f1
+----+-----------+-----------
+ |0 |0
+ |1004.3 |1004.3
+ |-34.84 |34.84
+ |1.23457e+20|1.23457e+20
+ |1.23457e-20|1.23457e-20
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
QUERY: CREATE TABLE FLOAT8_TBL(f1 float8);
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('0.0');
WARN: Bad float8 input format
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
-five f1
------ ---------------------
- 0
- 1004.3
- -34.84
- 1.2345678901234e+200
- 1.2345678901234e-200
+five|f1
+----+--------------------
+ |0
+ |1004.3
+ |-34.84
+ |1.2345678901234e+200
+ |1.2345678901234e-200
QUERY: SELECT '' AS four, f.* FROM FLOAT8_TBL f WHERE f.f1 <> '1004.3';
-four f1
------ ---------------------
- 0
- -34.84
- 1.2345678901234e+200
- 1.2345678901234e-200
+four|f1
+----+--------------------
+ |0
+ |-34.84
+ |1.2345678901234e+200
+ |1.2345678901234e-200
QUERY: SELECT '' AS one, f.* FROM FLOAT8_TBL f WHERE f.f1 = '1004.3';
-one f1
----- -------
- 1004.3
+one| f1
+---+------
+ |1004.3
QUERY: SELECT '' AS three, f.* FROM FLOAT8_TBL f WHERE '1004.3' > f.f1;
-three f1
------- ---------------------
- 0
- -34.84
- 1.2345678901234e-200
+three| f1
+-----+--------------------
+ | 0
+ | -34.84
+ |1.2345678901234e-200
QUERY: SELECT '' AS three, f.* FROM FLOAT8_TBL f WHERE f.f1 < '1004.3';
-three f1
------- ---------------------
- 0
- -34.84
- 1.2345678901234e-200
+three| f1
+-----+--------------------
+ | 0
+ | -34.84
+ |1.2345678901234e-200
QUERY: SELECT '' AS four, f.* FROM FLOAT8_TBL f WHERE '1004.3' >= f.f1;
-four f1
------ ---------------------
- 0
- 1004.3
- -34.84
- 1.2345678901234e-200
+four| f1
+----+--------------------
+ | 0
+ | 1004.3
+ | -34.84
+ |1.2345678901234e-200
QUERY: SELECT '' AS four, f.* FROM FLOAT8_TBL f WHERE f.f1 <= '1004.3';
-four f1
------ ---------------------
- 0
- 1004.3
- -34.84
- 1.2345678901234e-200
+four| f1
+----+--------------------
+ | 0
+ | 1004.3
+ | -34.84
+ |1.2345678901234e-200
QUERY: SELECT '' AS three, f.f1, f.f1 * '-10' AS x
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- --------------------- ----------------------
- 1004.3 -10043
- 1.2345678901234e+200 -1.2345678901234e+201
- 1.2345678901234e-200 -1.2345678901234e-199
+three|f1 |x
+-----+--------------------+---------------------
+ |1004.3 |-10043
+ |1.2345678901234e+200|-1.2345678901234e+201
+ |1.2345678901234e-200|-1.2345678901234e-199
QUERY: SELECT '' AS three, f.f1, f.f1 + '-10' AS x
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- --------------------- ---------------------
- 1004.3 994.3
- 1.2345678901234e+200 1.2345678901234e+200
- 1.2345678901234e-200 -10
+three|f1 |x
+-----+--------------------+--------------------
+ |1004.3 |994.3
+ |1.2345678901234e+200|1.2345678901234e+200
+ |1.2345678901234e-200|-10
QUERY: SELECT '' AS three, f.f1, f.f1 / '-10' AS x
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- --------------------- ----------------------
- 1004.3 -100.43
- 1.2345678901234e+200 -1.2345678901234e+199
- 1.2345678901234e-200 -1.2345678901234e-201
+three|f1 |x
+-----+--------------------+---------------------
+ |1004.3 |-100.43
+ |1.2345678901234e+200|-1.2345678901234e+199
+ |1.2345678901234e-200|-1.2345678901234e-201
QUERY: SELECT '' AS three, f.f1, f.f1 - '-10' AS x
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 x
------- --------------------- ---------------------
- 1004.3 1014.3
- 1.2345678901234e+200 1.2345678901234e+200
- 1.2345678901234e-200 10
+three|f1 |x
+-----+--------------------+--------------------
+ |1004.3 |1014.3
+ |1.2345678901234e+200|1.2345678901234e+200
+ |1.2345678901234e-200|10
QUERY: SELECT '' AS one, f.f1 ^ '2.0' AS square_f1
FROM FLOAT8_TBL f where f.f1 = '1004.3';
-one square_f1
----- -----------
- 1008618.49
+one| square_f1
+---+----------
+ |1008618.49
QUERY: SELECT '' AS five, f.f1, @f.f1 AS abs_f1
FROM FLOAT8_TBL f;
-five f1 abs_f1
------ --------------------- ---------------------
- 0 0
- 1004.3 1004.3
- -34.84 34.84
- 1.2345678901234e+200 1.2345678901234e+200
- 1.2345678901234e-200 1.2345678901234e-200
+five|f1 |abs_f1
+----+--------------------+--------------------
+ |0 |0
+ |1004.3 |1004.3
+ |-34.84 |34.84
+ |1.2345678901234e+200|1.2345678901234e+200
+ |1.2345678901234e-200|1.2345678901234e-200
QUERY: SELECT '' AS five, f.f1, %f.f1 AS trunc_f1
FROM FLOAT8_TBL f;
-five f1 trunc_f1
------ --------------------- ---------------------
- 0 0
- 1004.3 1004
- -34.84 -34
- 1.2345678901234e+200 1.2345678901234e+200
- 1.2345678901234e-200 0
+five|f1 |trunc_f1
+----+--------------------+--------------------
+ |0 |0
+ |1004.3 |1004
+ |-34.84 |-34
+ |1.2345678901234e+200|1.2345678901234e+200
+ |1.2345678901234e-200|0
QUERY: SELECT '' AS five, f.f1, f.f1 % AS round_f1
FROM FLOAT8_TBL f;
-five f1 round_f1
------ --------------------- ---------------------
- 0 0
- 1004.3 1004
- -34.84 -35
- 1.2345678901234e+200 1.2345678901234e+200
- 1.2345678901234e-200 0
+five|f1 |round_f1
+----+--------------------+--------------------
+ |0 |0
+ |1004.3 |1004
+ |-34.84 |-35
+ |1.2345678901234e+200|1.2345678901234e+200
+ |1.2345678901234e-200|0
QUERY: SELECT '' AS three, f.f1, |/f.f1 AS sqrt_f1
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 sqrt_f1
------- --------------------- ----------------------
- 1004.3 31.6906926399535
- 1.2345678901234e+200 1.11111110611109e+100
- 1.2345678901234e-200 1.11111110611109e-100
+three|f1 |sqrt_f1
+-----+--------------------+---------------------
+ |1004.3 |31.6906926399535
+ |1.2345678901234e+200|1.11111110611109e+100
+ |1.2345678901234e-200|1.11111110611109e-100
QUERY: SELECT '' AS three, f.f1, : ( ; f.f1) AS exp_ln_f1
FROM FLOAT8_TBL f
WHERE f.f1 > '0.0';
-three f1 exp_ln_f1
------- --------------------- ----------------------
- 1004.3 1004.3
- 1.2345678901234e+200 1.23456789012338e+200
- 1.2345678901234e-200 1.23456789012339e-200
+three|f1 |exp_ln_f1
+-----+--------------------+---------------------
+ |1004.3 |1004.3
+ |1.2345678901234e+200|1.23456789012338e+200
+ |1.2345678901234e-200|1.23456789012339e-200
QUERY: SELECT '' AS five, f.f1, ||/f.f1 AS cbrt_f1 FROM FLOAT8_TBL f;
-five f1 cbrt_f1
------ --------------------- ---------------------
- 0 0
- 1004.3 10.014312837827
- -34.84 -3.26607421344208
- 1.2345678901234e+200 4.97933859234765e+66
- 1.2345678901234e-200 2.3112042409018e-67
+five|f1 |cbrt_f1
+----+--------------------+--------------------
+ |0 |0
+ |1004.3 |10.014312837827
+ |-34.84 |-3.26607421344208
+ |1.2345678901234e+200|4.97933859234765e+66
+ |1.2345678901234e-200|2.3112042409018e-67
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
-five f1
------ ---------------------
- 0
- 1004.3
- -34.84
- 1.2345678901234e+200
- 1.2345678901234e-200
+five|f1
+----+--------------------
+ |0
+ |1004.3
+ |-34.84
+ |1.2345678901234e+200
+ |1.2345678901234e-200
QUERY: UPDATE FLOAT8_TBL
SET f1 = FLOAT8_TBL.f1 * '-1'
WHERE FLOAT8_TBL.f1 > '0.0';
QUERY: SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f;
-WARN:floating point exception! the last floating point operation either exceeded legal ranges or was a divide by zero
+WARN: Bad float8 input format -- overflow
+
QUERY: SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
WARN:pow() returned a floating point out of the range
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f;
WARN:float8div: divide by 0.0 error
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
-five f1
------ ----------------------
- 0
- -34.84
- -1004.3
- -1.2345678901234e+200
- -1.2345678901234e-200
+five|f1
+----+---------------------
+ |0
+ |-34.84
+ |-1004.3
+ |-1.2345678901234e+200
+ |-1.2345678901234e-200
QUERY: CREATE TABLE INT2_TBL(f1 int2);
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('0');
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('1234');
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('asdf');
WARN:pg_atoi: error in "asdf": can't parse "asdf"
QUERY: SELECT '' AS five, INT2_TBL.*;
-five f1
------ -------
- 0
- 1234
- -1234
- 32767
- -32767
+five| f1
+----+------
+ | 0
+ | 1234
+ | -1234
+ | 32767
+ |-32767
QUERY: SELECT '' AS four, i.* FROM INT2_TBL i WHERE i.f1 <> '0'::int2;
-four f1
------ -------
- 1234
- -1234
- 32767
- -32767
+four| f1
+----+------
+ | 1234
+ | -1234
+ | 32767
+ |-32767
QUERY: SELECT '' AS four, i.* FROM INT2_TBL i WHERE i.f1 <> '0'::int4;
-four f1
------ -------
- 1234
- -1234
- 32767
- -32767
+four| f1
+----+------
+ | 1234
+ | -1234
+ | 32767
+ |-32767
QUERY: SELECT '' AS one, i.* FROM INT2_TBL i WHERE i.f1 = '0'::int2;
-one f1
----- ---
- 0
+one|f1
+---+--
+ | 0
QUERY: SELECT '' AS one, i.* FROM INT2_TBL i WHERE i.f1 = '0'::int4;
-one f1
----- ---
- 0
+one|f1
+---+--
+ | 0
QUERY: SELECT '' AS two, i.* FROM INT2_TBL i WHERE i.f1 < '0'::int2;
-two f1
----- -------
- -1234
- -32767
+two| f1
+---+------
+ | -1234
+ |-32767
QUERY: SELECT '' AS two, i.* FROM INT2_TBL i WHERE i.f1 < '0'::int4;
-two f1
----- -------
- -1234
- -32767
+two| f1
+---+------
+ | -1234
+ |-32767
QUERY: SELECT '' AS three, i.* FROM INT2_TBL i WHERE i.f1 <= '0'::int2;
-three f1
------- -------
- 0
- -1234
- -32767
+three| f1
+-----+------
+ | 0
+ | -1234
+ |-32767
QUERY: SELECT '' AS three, i.* FROM INT2_TBL i WHERE i.f1 <= '0'::int4;
-three f1
------- -------
- 0
- -1234
- -32767
+three| f1
+-----+------
+ | 0
+ | -1234
+ |-32767
QUERY: SELECT '' AS two, i.* FROM INT2_TBL i WHERE i.f1 > '0'::int2;
-two f1
----- ------
- 1234
- 32767
+two| f1
+---+-----
+ | 1234
+ |32767
QUERY: SELECT '' AS two, i.* FROM INT2_TBL i WHERE i.f1 > '0'::int4;
-two f1
----- ------
- 1234
- 32767
+two| f1
+---+-----
+ | 1234
+ |32767
QUERY: SELECT '' AS three, i.* FROM INT2_TBL i WHERE i.f1 >= '0'::int2;
-three f1
------- ------
- 0
- 1234
- 32767
+three| f1
+-----+-----
+ | 0
+ | 1234
+ |32767
QUERY: SELECT '' AS three, i.* FROM INT2_TBL i WHERE i.f1 >= '0'::int4;
-three f1
------- ------
- 0
- 1234
- 32767
+three| f1
+-----+-----
+ | 0
+ | 1234
+ |32767
QUERY: SELECT '' AS one, i.* FROM INT2_TBL i WHERE (i.f1 % '2'::int2) = '1'::int2;
-one f1
----- ------
- 32767
+one| f1
+---+-----
+ |32767
QUERY: SELECT '' AS three, i.* FROM INT2_TBL i WHERE (i.f1 % '2'::int4) = '0'::int2;
-three f1
------- ------
- 0
- 1234
- -1234
+three| f1
+-----+-----
+ | 0
+ | 1234
+ |-1234
QUERY: SELECT '' AS five, i.f1, i.f1 * '2'::int2 AS x FROM INT2_TBL i;
-five f1 x
------ ------- ------
- 0 0
- 1234 2468
- -1234 -2468
- 32767 -2
- -32767 2
+five| f1| x
+----+------+-----
+ | 0| 0
+ | 1234| 2468
+ | -1234|-2468
+ | 32767| -2
+ |-32767| 2
QUERY: SELECT '' AS five, i.f1, i.f1 * '2'::int4 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 0
- 1234 2468
- -1234 -2468
- 32767 65534
- -32767 -65534
+five| f1| x
+----+------+------
+ | 0| 0
+ | 1234| 2468
+ | -1234| -2468
+ | 32767| 65534
+ |-32767|-65534
QUERY: SELECT '' AS five, i.f1, i.f1 + '2'::int2 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 2
- 1234 1236
- -1234 -1232
- 32767 -32767
- -32767 -32765
+five| f1| x
+----+------+------
+ | 0| 2
+ | 1234| 1236
+ | -1234| -1232
+ | 32767|-32767
+ |-32767|-32765
QUERY: SELECT '' AS five, i.f1, i.f1 + '2'::int4 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 2
- 1234 1236
- -1234 -1232
- 32767 32769
- -32767 -32765
+five| f1| x
+----+------+------
+ | 0| 2
+ | 1234| 1236
+ | -1234| -1232
+ | 32767| 32769
+ |-32767|-32765
QUERY: SELECT '' AS five, i.f1, i.f1 - '2'::int2 AS x FROM INT2_TBL i;
-five f1 x
------ ------- ------
- 0 -2
- 1234 1232
- -1234 -1236
- 32767 32765
- -32767 32767
+five| f1| x
+----+------+-----
+ | 0| -2
+ | 1234| 1232
+ | -1234|-1236
+ | 32767|32765
+ |-32767|32767
QUERY: SELECT '' AS five, i.f1, i.f1 - '2'::int4 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 -2
- 1234 1232
- -1234 -1236
- 32767 32765
- -32767 -32769
+five| f1| x
+----+------+------
+ | 0| -2
+ | 1234| 1232
+ | -1234| -1236
+ | 32767| 32765
+ |-32767|-32769
QUERY: SELECT '' AS five, i.f1, i.f1 / '2'::int2 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 0
- 1234 617
- -1234 -617
- 32767 16383
- -32767 -16383
+five| f1| x
+----+------+------
+ | 0| 0
+ | 1234| 617
+ | -1234| -617
+ | 32767| 16383
+ |-32767|-16383
QUERY: SELECT '' AS five, i.f1, i.f1 / '2'::int4 AS x FROM INT2_TBL i;
-five f1 x
------ ------- -------
- 0 0
- 1234 617
- -1234 -617
- 32767 16383
- -32767 -16383
+five| f1| x
+----+------+------
+ | 0| 0
+ | 1234| 617
+ | -1234| -617
+ | 32767| 16383
+ |-32767|-16383
QUERY: CREATE TABLE INT4_TBL(f1 int4);
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('0');
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('123456');
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('asdf');
WARN:pg_atoi: error in "asdf": can't parse "asdf"
QUERY: SELECT '' AS five, INT4_TBL.*;
-five f1
------ ------------
- 0
- 123456
- -123456
- 2147483647
- -2147483647
+five| f1
+----+-----------
+ | 0
+ | 123456
+ | -123456
+ | 2147483647
+ |-2147483647
QUERY: SELECT '' AS four, i.* FROM INT4_TBL i WHERE i.f1 <> '0'::int2;
-four f1
------ ------------
- 123456
- -123456
- 2147483647
- -2147483647
+four| f1
+----+-----------
+ | 123456
+ | -123456
+ | 2147483647
+ |-2147483647
QUERY: SELECT '' AS four, i.* FROM INT4_TBL i WHERE i.f1 <> '0'::int4;
-four f1
------ ------------
- 123456
- -123456
- 2147483647
- -2147483647
+four| f1
+----+-----------
+ | 123456
+ | -123456
+ | 2147483647
+ |-2147483647
QUERY: SELECT '' AS one, i.* FROM INT4_TBL i WHERE i.f1 = '0'::int2;
-one f1
----- ---
- 0
+one|f1
+---+--
+ | 0
QUERY: SELECT '' AS one, i.* FROM INT4_TBL i WHERE i.f1 = '0'::int4;
-one f1
----- ---
- 0
+one|f1
+---+--
+ | 0
QUERY: SELECT '' AS two, i.* FROM INT4_TBL i WHERE i.f1 < '0'::int2;
-two f1
----- ------------
- -123456
- -2147483647
+two| f1
+---+-----------
+ | -123456
+ |-2147483647
QUERY: SELECT '' AS two, i.* FROM INT4_TBL i WHERE i.f1 < '0'::int4;
-two f1
----- ------------
- -123456
- -2147483647
+two| f1
+---+-----------
+ | -123456
+ |-2147483647
QUERY: SELECT '' AS three, i.* FROM INT4_TBL i WHERE i.f1 <= '0'::int2;
-three f1
------- ------------
- 0
- -123456
- -2147483647
+three| f1
+-----+-----------
+ | 0
+ | -123456
+ |-2147483647
QUERY: SELECT '' AS three, i.* FROM INT4_TBL i WHERE i.f1 <= '0'::int4;
-three f1
------- ------------
- 0
- -123456
- -2147483647
+three| f1
+-----+-----------
+ | 0
+ | -123456
+ |-2147483647
QUERY: SELECT '' AS two, i.* FROM INT4_TBL i WHERE i.f1 > '0'::int2;
-two f1
----- -----------
- 123456
- 2147483647
+two| f1
+---+----------
+ | 123456
+ |2147483647
QUERY: SELECT '' AS two, i.* FROM INT4_TBL i WHERE i.f1 > '0'::int4;
-two f1
----- -----------
- 123456
- 2147483647
+two| f1
+---+----------
+ | 123456
+ |2147483647
QUERY: SELECT '' AS three, i.* FROM INT4_TBL i WHERE i.f1 >= '0'::int2;
-three f1
------- -----------
- 0
- 123456
- 2147483647
+three| f1
+-----+----------
+ | 0
+ | 123456
+ |2147483647
QUERY: SELECT '' AS three, i.* FROM INT4_TBL i WHERE i.f1 >= '0'::int4;
-three f1
------- -----------
- 0
- 123456
- 2147483647
+three| f1
+-----+----------
+ | 0
+ | 123456
+ |2147483647
QUERY: SELECT '' AS one, i.* FROM INT4_TBL i WHERE (i.f1 % '2'::int2) = '1'::int2;
-one f1
----- -----------
- 2147483647
+one| f1
+---+----------
+ |2147483647
QUERY: SELECT '' AS three, i.* FROM INT4_TBL i WHERE (i.f1 % '2'::int4) = '0'::int2;
-three f1
------- --------
- 0
- 123456
- -123456
+three| f1
+-----+-------
+ | 0
+ | 123456
+ |-123456
QUERY: SELECT '' AS five, i.f1, i.f1 * '2'::int2 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ --------
- 0 0
- 123456 246912
- -123456 -246912
- 2147483647 -2
- -2147483647 2
+five| f1| x
+----+-----------+-------
+ | 0| 0
+ | 123456| 246912
+ | -123456|-246912
+ | 2147483647| -2
+ |-2147483647| 2
QUERY: SELECT '' AS five, i.f1, i.f1 * '2'::int4 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ --------
- 0 0
- 123456 246912
- -123456 -246912
- 2147483647 -2
- -2147483647 2
+five| f1| x
+----+-----------+-------
+ | 0| 0
+ | 123456| 246912
+ | -123456|-246912
+ | 2147483647| -2
+ |-2147483647| 2
QUERY: SELECT '' AS five, i.f1, i.f1 + '2'::int2 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ ------------
- 0 2
- 123456 123458
- -123456 -123454
- 2147483647 -2147483647
- -2147483647 -2147483645
+five| f1| x
+----+-----------+-----------
+ | 0| 2
+ | 123456| 123458
+ | -123456| -123454
+ | 2147483647|-2147483647
+ |-2147483647|-2147483645
QUERY: SELECT '' AS five, i.f1, i.f1 + '2'::int4 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ ------------
- 0 2
- 123456 123458
- -123456 -123454
- 2147483647 -2147483647
- -2147483647 -2147483645
+five| f1| x
+----+-----------+-----------
+ | 0| 2
+ | 123456| 123458
+ | -123456| -123454
+ | 2147483647|-2147483647
+ |-2147483647|-2147483645
QUERY: SELECT '' AS five, i.f1, i.f1 - '2'::int2 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ -----------
- 0 -2
- 123456 123454
- -123456 -123458
- 2147483647 2147483645
- -2147483647 2147483647
+five| f1| x
+----+-----------+----------
+ | 0| -2
+ | 123456| 123454
+ | -123456| -123458
+ | 2147483647|2147483645
+ |-2147483647|2147483647
QUERY: SELECT '' AS five, i.f1, i.f1 - '2'::int4 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ -----------
- 0 -2
- 123456 123454
- -123456 -123458
- 2147483647 2147483645
- -2147483647 2147483647
+five| f1| x
+----+-----------+----------
+ | 0| -2
+ | 123456| 123454
+ | -123456| -123458
+ | 2147483647|2147483645
+ |-2147483647|2147483647
QUERY: SELECT '' AS five, i.f1, i.f1 / '2'::int2 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ ------------
- 0 0
- 123456 61728
- -123456 -61728
- 2147483647 1073741823
- -2147483647 -1073741823
+five| f1| x
+----+-----------+-----------
+ | 0| 0
+ | 123456| 61728
+ | -123456| -61728
+ | 2147483647| 1073741823
+ |-2147483647|-1073741823
QUERY: SELECT '' AS five, i.f1, i.f1 / '2'::int4 AS x FROM INT4_TBL i;
-five f1 x
------ ------------ ------------
- 0 0
- 123456 61728
- -123456 -61728
- 2147483647 1073741823
- -2147483647 -1073741823
+five| f1| x
+----+-----------+-----------
+ | 0| 0
+ | 123456| 61728
+ | -123456| -61728
+ | 2147483647| 1073741823
+ |-2147483647|-1073741823
QUERY: SELECT '2'::int2 * '2'::int2 = '16'::int2 / '4'::int2 AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT '2'::int4 * '2'::int2 = '16'::int2 / '4'::int4 AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT '2'::int2 * '2'::int4 = '16'::int4 / '4'::int2 AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT '1000'::int4 < '999'::int4 AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT 4! AS twenty_four;
-twenty_four
-------------
-24
+twenty_four
+-----------
+ 24
QUERY: SELECT !!3 AS six;
-six
-----
-6
+six
+---
+ 6
QUERY: SELECT 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 AS ten;
-ten
-----
-10
+ten
+---
+ 10
QUERY: SELECT 2 + 2 / 2 AS three;
-three
-------
-3
+three
+-----
+ 3
QUERY: SELECT (2 + 2) / 2 AS two;
-two
-----
-2
+two
+---
+ 2
QUERY: SELECT dsqrt('64'::float8) AS eight;
-eight
-------
-8
+eight
+-----
+ 8
QUERY: SELECT |/'64'::float8 AS eight;
-eight
-------
-8
+eight
+-----
+ 8
QUERY: SELECT ||/'27'::float8 AS three;
-three
-------
-3
+three
+-----
+ 3
QUERY: CREATE TABLE OID_TBL(f1 oid);
QUERY: INSERT INTO OID_TBL(f1) VALUES ('1234');
QUERY: INSERT INTO OID_TBL(f1) VALUES ('1235');
QUERY: INSERT INTO OID_TBL(f1) VALUES ('asdfasd');
WARN:pg_atoi: error in "asdfasd": can't parse "asdfasd"
QUERY: SELECT '' AS five, OID_TBL.*;
-five f1
------ ------
- 1234
- 1235
- 987
- -1040
- 0
+five| f1
+----+-----
+ | 1234
+ | 1235
+ | 987
+ |-1040
+ | 0
QUERY: SELECT '' AS one, o.* FROM OID_TBL o WHERE o.f1 = '1234'::oid;
-one f1
----- -----
- 1234
+one| f1
+---+----
+ |1234
QUERY: SELECT '' AS four, o.* FROM OID_TBL o WHERE o.f1 <> '1234';
-four f1
------ ------
- 1235
- 987
- -1040
- 0
+four| f1
+----+-----
+ | 1235
+ | 987
+ |-1040
+ | 0
QUERY: SELECT '' AS four, o.* FROM OID_TBL o WHERE o.f1 <= '1234';
-four f1
------ ------
- 1234
- 987
- -1040
- 0
+four| f1
+----+-----
+ | 1234
+ | 987
+ |-1040
+ | 0
QUERY: SELECT '' AS three, o.* FROM OID_TBL o WHERE o.f1 < '1234';
-three f1
------- ------
- 987
- -1040
- 0
+three| f1
+-----+-----
+ | 987
+ |-1040
+ | 0
QUERY: SELECT '' AS two, o.* FROM OID_TBL o WHERE o.f1 >= '1234';
-two f1
----- -----
- 1234
- 1235
+two| f1
+---+----
+ |1234
+ |1235
QUERY: SELECT '' AS one, o.* FROM OID_TBL o WHERE o.f1 > '1234';
-one f1
----- -----
- 1235
+one| f1
+---+----
+ |1235
QUERY: CREATE TABLE OIDNAME_TBL(f1 oidname);
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('1234,abcd');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('1235,efgh');
QUERY: INSERT INTO OIDNAME_TBL(f1) VALUES ('asdfasd');
WARN:Bad input data for type oidname
QUERY: SELECT '' AS four, OIDNAME_TBL.*;
-four f1
------ ---------------------------------
- 1234,abcd
- 1235,efgh
- 987,XXXX
- 123456,abcdefghijklmnopqrsutvwyz
+four|f1
+----+--------------------------------
+ |1234,abcd
+ |1235,efgh
+ |987,XXXX
+ |123456,abcdefghijklmnopqrsutvwyz
QUERY: SELECT '' AS one, o.* FROM OIDNAME_TBL o WHERE o.f1 = '1234,abcd';
-one f1
----- ----------
- 1234,abcd
+one|f1
+---+---------
+ |1234,abcd
QUERY: SELECT '' AS three, o.* FROM OIDNAME_TBL o WHERE o.f1 <> '1234,abcd';
-three f1
------- ---------------------------------
- 1235,efgh
- 987,XXXX
- 123456,abcdefghijklmnopqrsutvwyz
+three|f1
+-----+--------------------------------
+ |1235,efgh
+ |987,XXXX
+ |123456,abcdefghijklmnopqrsutvwyz
QUERY: SELECT '' AS two, o.* FROM OIDNAME_TBL o WHERE o.f1 <= '1234,abcd';
-two f1
----- ----------
- 1234,abcd
- 987,XXXX
+two|f1
+---+---------
+ |1234,abcd
+ |987,XXXX
QUERY: SELECT '' AS one, o.* FROM OIDNAME_TBL o WHERE o.f1 < '1234,abcd';
-one f1
----- ---------
- 987,XXXX
+one|f1
+---+--------
+ |987,XXXX
QUERY: SELECT '' AS three, o.* FROM OIDNAME_TBL o WHERE o.f1 >= '1234,abcd';
-three f1
------- ---------------------------------
- 1234,abcd
- 1235,efgh
- 123456,abcdefghijklmnopqrsutvwyz
+three|f1
+-----+--------------------------------
+ |1234,abcd
+ |1235,efgh
+ |123456,abcdefghijklmnopqrsutvwyz
QUERY: SELECT '' AS two, o.* FROM OIDNAME_TBL o WHERE o.f1 > '1234,abcd';
-two f1
----- ---------------------------------
- 1235,efgh
- 123456,abcdefghijklmnopqrsutvwyz
+two|f1
+---+--------------------------------
+ |1235,efgh
+ |123456,abcdefghijklmnopqrsutvwyz
QUERY: CREATE TABLE OIDINT2_TBL(f1 oidint2);
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('1234/9873');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('1235/9873');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('asdfasd');
WARN:pg_atoi: error in "asdfasd": can't parse "asdfasd"
QUERY: SELECT '' AS five, OIDINT2_TBL.*;
-five f1
------ ----------
- 1234/9873
- 1235/9873
- 987/-1234
- 123456/0
- 0/0
+five|f1
+----+---------
+ |1234/9873
+ |1235/9873
+ |987/-1234
+ |123456/0
+ |0/0
QUERY: SELECT '' AS one, o.* FROM OIDINT2_TBL o WHERE o.f1 = '1235/9873';
-one f1
----- ----------
- 1235/9873
+one|f1
+---+---------
+ |1235/9873
QUERY: SELECT '' AS four, o.* FROM OIDINT2_TBL o WHERE o.f1 <> '1235/9873';
-four f1
------ ----------
- 1234/9873
- 987/-1234
- 123456/0
- 0/0
+four|f1
+----+---------
+ |1234/9873
+ |987/-1234
+ |123456/0
+ |0/0
QUERY: SELECT '' AS four, o.* FROM OIDINT2_TBL o WHERE o.f1 <= '1235/9873';
-four f1
------ ----------
- 1234/9873
- 1235/9873
- 987/-1234
- 0/0
+four|f1
+----+---------
+ |1234/9873
+ |1235/9873
+ |987/-1234
+ |0/0
QUERY: SELECT '' AS three, o.* FROM OIDINT2_TBL o WHERE o.f1 < '1235/9873';
-three f1
------- ----------
- 1234/9873
- 987/-1234
- 0/0
+three|f1
+-----+---------
+ |1234/9873
+ |987/-1234
+ |0/0
QUERY: SELECT '' AS two, o.* FROM OIDINT2_TBL o WHERE o.f1 >= '1235/9873';
-two f1
----- ----------
- 1235/9873
- 123456/0
+two|f1
+---+---------
+ |1235/9873
+ |123456/0
QUERY: SELECT '' AS one, o.* FROM OIDINT2_TBL o WHERE o.f1 > '1235/9873';
-one f1
----- ---------
- 123456/0
+one|f1
+---+--------
+ |123456/0
QUERY: CREATE TABLE OIDINT4_TBL(f1 oidint4);
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('1234/9873');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('1235/9873');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('asdfasd');
WARN:pg_atoi: error in "asdfasd": can't parse "asdfasd"
QUERY: SELECT '' AS five, OIDINT4_TBL.*;
-five f1
------ ----------
- 1234/9873
- 1235/9873
- 987/-1234
- 123456/0
- 0/0
+five|f1
+----+---------
+ |1234/9873
+ |1235/9873
+ |987/-1234
+ |123456/0
+ |0/0
QUERY: SELECT '' AS one, o.* FROM OIDINT4_TBL o WHERE o.f1 = '1235/9873';
-one f1
----- ----------
- 1235/9873
+one|f1
+---+---------
+ |1235/9873
QUERY: SELECT '' AS four, o.* FROM OIDINT4_TBL o WHERE o.f1 <> '1235/9873';
-four f1
------ ----------
- 1234/9873
- 987/-1234
- 123456/0
- 0/0
+four|f1
+----+---------
+ |1234/9873
+ |987/-1234
+ |123456/0
+ |0/0
QUERY: SELECT '' AS four, o.* FROM OIDINT4_TBL o WHERE o.f1 <= '1235/9873';
-four f1
------ ----------
- 1234/9873
- 1235/9873
- 987/-1234
- 0/0
+four|f1
+----+---------
+ |1234/9873
+ |1235/9873
+ |987/-1234
+ |0/0
QUERY: SELECT '' AS three, o.* FROM OIDINT4_TBL o WHERE o.f1 < '1235/9873';
-three f1
------- ----------
- 1234/9873
- 987/-1234
- 0/0
+three|f1
+-----+---------
+ |1234/9873
+ |987/-1234
+ |0/0
QUERY: SELECT '' AS two, o.* FROM OIDINT4_TBL o WHERE o.f1 >= '1235/9873';
-two f1
----- ----------
- 1235/9873
- 123456/0
+two|f1
+---+---------
+ |1235/9873
+ |123456/0
QUERY: SELECT '' AS one, o.* FROM OIDINT4_TBL o WHERE o.f1 > '1235/9873';
-one f1
----- ---------
- 123456/0
+one|f1
+---+--------
+ |123456/0
QUERY: CREATE TABLE POINT_TBL(f1 point);
QUERY: INSERT INTO POINT_TBL(f1) VALUES ('(0.0,0.0)');
QUERY: INSERT INTO POINT_TBL(f1) VALUES ('(-10.0,0.0)');
QUERY: INSERT INTO POINT_TBL(f1) VALUES ('(10.0,10.0');
WARN:Bad point external representation '(10.0,10.0'
QUERY: SELECT '' AS five, POINT_TBL.*;
-five f1
------ -----------
- (0,0)
- (-10,0)
- (-3,4)
- (5.1,34.5)
- (-5,-12)
+five|f1
+----+----------
+ |(0,0)
+ |(-10,0)
+ |(-3,4)
+ |(5.1,34.5)
+ |(-5,-12)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE p.f1 !< '(0.0, 0.0)';
-three f1
------- ---------
- (-10,0)
- (-3,4)
- (-5,-12)
+three|f1
+-----+--------
+ |(-10,0)
+ |(-3,4)
+ |(-5,-12)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE '(0.0,0.0)' !> p.f1;
-three f1
------- ---------
- (-10,0)
- (-3,4)
- (-5,-12)
+three|f1
+-----+--------
+ |(-10,0)
+ |(-3,4)
+ |(-5,-12)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE '(0.0,0.0)' !^ p.f1;
-one f1
----- ---------
- (-5,-12)
+one|f1
+---+--------
+ |(-5,-12)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1 !| '(0.0, 0.0)';
-one f1
----- ---------
- (-5,-12)
+one|f1
+---+--------
+ |(-5,-12)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1 =|= '(5.1, 34.5)';
-one f1
----- -----------
- (5.1,34.5)
+one|f1
+---+----------
+ |(5.1,34.5)
QUERY: SELECT '' AS two, p.* FROM POINT_TBL p
WHERE p.f1 ===> '(0,0,100,100)';
-two f1
----- -----------
- (0,0)
- (5.1,34.5)
+two|f1
+---+----------
+ |(0,0)
+ |(5.1,34.5)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p
WHERE not on_pb(p.f1,'(0,0,100,100)'::box);
-three f1
------- ---------
- (-10,0)
- (-3,4)
- (-5,-12)
+three|f1
+-----+--------
+ |(-10,0)
+ |(-3,4)
+ |(-5,-12)
QUERY: SELECT '' AS two, p.* FROM POINT_TBL p
WHERE on_ppath(p.f1,'(0,3,0,0,-10,0,-10,10)'::path);
-two f1
----- --------
- (0,0)
- (-10,0)
+two|f1
+---+-------
+ |(0,0)
+ |(-10,0)
QUERY: SELECT '' AS five, p.f1, p.f1 <===> '(0,0)' AS dist FROM POINT_TBL p;
-five f1 dist
------ ----------- -----
- (0,0) 0
- (-10,0) 10
- (-3,4) 5
- (5.1,34.5) 34
- (-5,-12) 13
+five|f1 |dist
+----+----------+----
+ |(0,0) | 0
+ |(-10,0) | 10
+ |(-3,4) | 5
+ |(5.1,34.5)| 34
+ |(-5,-12) | 13
QUERY: SELECT '' AS twentyfive, p1.f1, p2.f1, p1.f1 <===> p2.f1 AS dist
FROM POINT_TBL p1, POINT_TBL p2;
-twentyfive f1 f1 dist
------------ ----------- ----------- -----
- (0,0) (0,0) 0
- (-10,0) (0,0) 10
- (-3,4) (0,0) 5
- (5.1,34.5) (0,0) 34
- (-5,-12) (0,0) 13
- (0,0) (-10,0) 10
- (-10,0) (-10,0) 0
- (-3,4) (-10,0) 8
- (5.1,34.5) (-10,0) 37
- (-5,-12) (-10,0) 13
- (0,0) (-3,4) 5
- (-10,0) (-3,4) 8
- (-3,4) (-3,4) 0
- (5.1,34.5) (-3,4) 31
- (-5,-12) (-3,4) 16
- (0,0) (5.1,34.5) 34
- (-10,0) (5.1,34.5) 37
- (-3,4) (5.1,34.5) 31
- (5.1,34.5) (5.1,34.5) 0
- (-5,-12) (5.1,34.5) 47
- (0,0) (-5,-12) 13
- (-10,0) (-5,-12) 13
- (-3,4) (-5,-12) 16
- (5.1,34.5) (-5,-12) 47
- (-5,-12) (-5,-12) 0
+twentyfive|f1 |f1 |dist
+----------+----------+----------+----
+ |(0,0) |(0,0) | 0
+ |(-10,0) |(0,0) | 10
+ |(-3,4) |(0,0) | 5
+ |(5.1,34.5)|(0,0) | 34
+ |(-5,-12) |(0,0) | 13
+ |(0,0) |(-10,0) | 10
+ |(-10,0) |(-10,0) | 0
+ |(-3,4) |(-10,0) | 8
+ |(5.1,34.5)|(-10,0) | 37
+ |(-5,-12) |(-10,0) | 13
+ |(0,0) |(-3,4) | 5
+ |(-10,0) |(-3,4) | 8
+ |(-3,4) |(-3,4) | 0
+ |(5.1,34.5)|(-3,4) | 31
+ |(-5,-12) |(-3,4) | 16
+ |(0,0) |(5.1,34.5)| 34
+ |(-10,0) |(5.1,34.5)| 37
+ |(-3,4) |(5.1,34.5)| 31
+ |(5.1,34.5)|(5.1,34.5)| 0
+ |(-5,-12) |(5.1,34.5)| 47
+ |(0,0) |(-5,-12) | 13
+ |(-10,0) |(-5,-12) | 13
+ |(-3,4) |(-5,-12) | 16
+ |(5.1,34.5)|(-5,-12) | 47
+ |(-5,-12) |(-5,-12) | 0
QUERY: SELECT '' AS twenty, p1.f1, p2.f1
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <===> p2.f1) > 3;
-twenty f1 f1
-------- ----------- -----------
- (-10,0) (0,0)
- (-3,4) (0,0)
- (5.1,34.5) (0,0)
- (-5,-12) (0,0)
- (0,0) (-10,0)
- (-3,4) (-10,0)
- (5.1,34.5) (-10,0)
- (-5,-12) (-10,0)
- (0,0) (-3,4)
- (-10,0) (-3,4)
- (5.1,34.5) (-3,4)
- (-5,-12) (-3,4)
- (0,0) (5.1,34.5)
- (-10,0) (5.1,34.5)
- (-3,4) (5.1,34.5)
- (-5,-12) (5.1,34.5)
- (0,0) (-5,-12)
- (-10,0) (-5,-12)
- (-3,4) (-5,-12)
- (5.1,34.5) (-5,-12)
+twenty|f1 |f1
+------+----------+----------
+ |(-10,0) |(0,0)
+ |(-3,4) |(0,0)
+ |(5.1,34.5)|(0,0)
+ |(-5,-12) |(0,0)
+ |(0,0) |(-10,0)
+ |(-3,4) |(-10,0)
+ |(5.1,34.5)|(-10,0)
+ |(-5,-12) |(-10,0)
+ |(0,0) |(-3,4)
+ |(-10,0) |(-3,4)
+ |(5.1,34.5)|(-3,4)
+ |(-5,-12) |(-3,4)
+ |(0,0) |(5.1,34.5)
+ |(-10,0) |(5.1,34.5)
+ |(-3,4) |(5.1,34.5)
+ |(-5,-12) |(5.1,34.5)
+ |(0,0) |(-5,-12)
+ |(-10,0) |(-5,-12)
+ |(-3,4) |(-5,-12)
+ |(5.1,34.5)|(-5,-12)
QUERY: SELECT '' AS ten, p1.f1, p2.f1
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <===> p2.f1) > 3 and
p1.f1 !< p2.f1;
-ten f1 f1
----- --------- -----------
- (-10,0) (0,0)
- (-3,4) (0,0)
- (-5,-12) (0,0)
- (-10,0) (-3,4)
- (-5,-12) (-3,4)
- (0,0) (5.1,34.5)
- (-10,0) (5.1,34.5)
- (-3,4) (5.1,34.5)
- (-5,-12) (5.1,34.5)
- (-10,0) (-5,-12)
+ten|f1 |f1
+---+--------+----------
+ |(-10,0) |(0,0)
+ |(-3,4) |(0,0)
+ |(-5,-12)|(0,0)
+ |(-10,0) |(-3,4)
+ |(-5,-12)|(-3,4)
+ |(0,0) |(5.1,34.5)
+ |(-10,0) |(5.1,34.5)
+ |(-3,4) |(5.1,34.5)
+ |(-5,-12)|(5.1,34.5)
+ |(-10,0) |(-5,-12)
QUERY: SELECT '' AS two, p1.f1, p2.f1
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <===> p2.f1) > 3 and
p1.f1 !< p2.f1 and
p1.f1 !^ p2.f1;
-two f1 f1
----- -------- ---------
- (-3,4) (0,0)
- (-10,0) (-5,-12)
+two|f1 |f1
+---+-------+--------
+ |(-3,4) |(0,0)
+ |(-10,0)|(-5,-12)
QUERY: CREATE TABLE POLYGON_TBL(f1 polygon);
QUERY: INSERT INTO POLYGON_TBL(f1) VALUES ('(2.0,2.0,0.0,0.0,4.0,0.0)');
QUERY: INSERT INTO POLYGON_TBL(f1) VALUES ('(3.0,3.0,1.0,1.0,3.0,0.0)');
QUERY: INSERT INTO POLYGON_TBL(f1) VALUES ('asdf');
WARN:Bad polygon external representation 'asdf'
QUERY: SELECT '' AS four, POLYGON_TBL.*;
-four f1
------ --------------------------------------------------------------------------------
- ( 2, 2, 0, 0, 4, 0)
- ( 3, 3, 1, 1, 3, 0)
- ( 0, 0)
- ( 0, 0, 1, 1)
+four|f1
+----+-------------------------------------------------------------------------------
+ |( 2, 2, 0, 0, 4, 0)
+ |( 3, 3, 1, 1, 3, 0)
+ |( 0, 0)
+ |( 0, 0, 1, 1)
QUERY: SELECT '' AS three, p.*
FROM POLYGON_TBL p
WHERE p.f1 && '(3.0,3.0,1.0,1.0,3.0,0.0)';
-three f1
------- --------------------------------------------------------------------------------
- ( 2, 2, 0, 0, 4, 0)
- ( 3, 3, 1, 1, 3, 0)
- ( 0, 0, 1, 1)
+three|f1
+-----+-------------------------------------------------------------------------------
+ |( 2, 2, 0, 0, 4, 0)
+ |( 3, 3, 1, 1, 3, 0)
+ |( 0, 0, 1, 1)
QUERY: SELECT '' AS four, p.*
FROM POLYGON_TBL p
WHERE p.f1 &< '(3.0,3.0,1.0,1.0,3.0,0.0)';
-four f1
------ --------------------------------------------------------------------------------
- ( 2, 2, 0, 0, 4, 0)
- ( 3, 3, 1, 1, 3, 0)
- ( 0, 0)
- ( 0, 0, 1, 1)
+four|f1
+----+-------------------------------------------------------------------------------
+ |( 2, 2, 0, 0, 4, 0)
+ |( 3, 3, 1, 1, 3, 0)
+ |( 0, 0)
+ |( 0, 0, 1, 1)
QUERY: SELECT '' AS two, p.*
FROM POLYGON_TBL p
WHERE p.f1 &> '(3.0,3.0,1.0,1.0,3.0,0.0)';
-two f1
----- --------------------------------------------------------------------------------
- ( 2, 2, 0, 0, 4, 0)
- ( 3, 3, 1, 1, 3, 0)
+two|f1
+---+-------------------------------------------------------------------------------
+ |( 2, 2, 0, 0, 4, 0)
+ |( 3, 3, 1, 1, 3, 0)
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 << '(3.0,3.0,1.0,1.0,3.0,0.0)';
-one f1
----- ----------------------------
- ( 0, 0)
+one|f1
+---+---------------------------
+ |( 0, 0)
QUERY: SELECT '' AS zero, p.*
FROM POLYGON_TBL p
WHERE p.f1 >> '(3.0,3.0,1.0,1.0,3.0,0.0)';
-zero f1
------ ---
+zero|f1
+----+--
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 @ '(3.0,3.0,1.0,1.0,3.0,0.0)';
-one f1
----- --------------------------------------------------------------------------------
- ( 3, 3, 1, 1, 3, 0)
+one|f1
+---+-------------------------------------------------------------------------------
+ |( 3, 3, 1, 1, 3, 0)
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 ~= '(3.0,3.0,1.0,1.0,3.0,0.0)';
-one f1
----- --------------------------------------------------------------------------------
- ( 3, 3, 1, 1, 3, 0)
+one|f1
+---+-------------------------------------------------------------------------------
+ |( 3, 3, 1, 1, 3, 0)
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 ~ '(3.0,3.0,1.0,1.0,3.0,0.0)';
-one f1
----- --------------------------------------------------------------------------------
- ( 3, 3, 1, 1, 3, 0)
+one|f1
+---+-------------------------------------------------------------------------------
+ |( 3, 3, 1, 1, 3, 0)
QUERY: SELECT 'char 16 string'::char16 = 'char 16 string '::char16 AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT 'c'::char = 'c'::char AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT 'this is a text string'::text = 'this is a text string'::text AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT 'this is a text string'::text = 'this is a text strin'::text AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon << '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon &< '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon &> '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon >> '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon @ '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon ~ '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon ~= '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS false;
-false
-------
-f
+false
+-----
+f
QUERY: SELECT '(2.0,2.0,0.0,0.0,4.0,0.0)'::polygon && '(3.0,3.0,1.0,1.0,3.0,0.0)'::polygon AS true;
-true
------
-t
+true
+----
+t
QUERY: SELECT onek.* WHERE onek.unique1 < 10;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-0 998 0 0 0 0 0 0 0 0 0 0 1 AAAAAA KMBAAA OOOOxx
-1 214 1 1 1 1 1 1 1 1 1 2 3 BAAAAA GIAAAA OOOOxx
-2 326 0 2 2 2 2 2 2 2 2 4 5 CAAAAA OMAAAA OOOOxx
-3 431 1 3 3 3 3 3 3 3 3 6 7 DAAAAA PQAAAA VVVVxx
-4 833 0 0 4 4 4 4 4 4 4 8 9 EAAAAA BGBAAA HHHHxx
-5 541 1 1 5 5 5 5 5 5 5 10 11 FAAAAA VUAAAA HHHHxx
-6 978 0 2 6 6 6 6 6 6 6 12 13 GAAAAA QLBAAA OOOOxx
-7 647 1 3 7 7 7 7 7 7 7 14 15 HAAAAA XYAAAA VVVVxx
-8 653 0 0 8 8 8 8 8 8 8 16 17 IAAAAA DZAAAA HHHHxx
-9 49 1 1 9 9 9 9 9 9 9 18 19 JAAAAA XBAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 0| 998| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 1|AAAAAA |KMBAAA |OOOOxx
+ 1| 214| 1| 1| 1| 1| 1| 1| 1| 1| 1| 2| 3|BAAAAA |GIAAAA |OOOOxx
+ 2| 326| 0| 2| 2| 2| 2| 2| 2| 2| 2| 4| 5|CAAAAA |OMAAAA |OOOOxx
+ 3| 431| 1| 3| 3| 3| 3| 3| 3| 3| 3| 6| 7|DAAAAA |PQAAAA |VVVVxx
+ 4| 833| 0| 0| 4| 4| 4| 4| 4| 4| 4| 8| 9|EAAAAA |BGBAAA |HHHHxx
+ 5| 541| 1| 1| 5| 5| 5| 5| 5| 5| 5| 10| 11|FAAAAA |VUAAAA |HHHHxx
+ 6| 978| 0| 2| 6| 6| 6| 6| 6| 6| 6| 12| 13|GAAAAA |QLBAAA |OOOOxx
+ 7| 647| 1| 3| 7| 7| 7| 7| 7| 7| 7| 14| 15|HAAAAA |XYAAAA |VVVVxx
+ 8| 653| 0| 0| 8| 8| 8| 8| 8| 8| 8| 16| 17|IAAAAA |DZAAAA |HHHHxx
+ 9| 49| 1| 1| 9| 9| 9| 9| 9| 9| 9| 18| 19|JAAAAA |XBAAAA |HHHHxx
QUERY: SELECT onek.unique1, onek.stringu1
WHERE onek.unique1 < 20
ORDER BY unique1 using >;
-unique1 stringu1
--------- ---------
-19 TAAAAA
-18 SAAAAA
-17 RAAAAA
-16 QAAAAA
-15 PAAAAA
-14 OAAAAA
-13 NAAAAA
-12 MAAAAA
-11 LAAAAA
-10 KAAAAA
-9 JAAAAA
-8 IAAAAA
-7 HAAAAA
-6 GAAAAA
-5 FAAAAA
-4 EAAAAA
-3 DAAAAA
-2 CAAAAA
-1 BAAAAA
-0 AAAAAA
+unique1|stringu1
+-------+--------
+ 19|TAAAAA
+ 18|SAAAAA
+ 17|RAAAAA
+ 16|QAAAAA
+ 15|PAAAAA
+ 14|OAAAAA
+ 13|NAAAAA
+ 12|MAAAAA
+ 11|LAAAAA
+ 10|KAAAAA
+ 9|JAAAAA
+ 8|IAAAAA
+ 7|HAAAAA
+ 6|GAAAAA
+ 5|FAAAAA
+ 4|EAAAAA
+ 3|DAAAAA
+ 2|CAAAAA
+ 1|BAAAAA
+ 0|AAAAAA
QUERY: SELECT onek.unique1, onek.stringu1
WHERE onek.unique1 > 980
ORDER BY stringu1 using <;
-unique1 stringu1
--------- ---------
-988 AMAAAA
-989 BMAAAA
-990 CMAAAA
-991 DMAAAA
-992 EMAAAA
-993 FMAAAA
-994 GMAAAA
-995 HMAAAA
-996 IMAAAA
-997 JMAAAA
-998 KMAAAA
-999 LMAAAA
-981 TLAAAA
-982 ULAAAA
-983 VLAAAA
-984 WLAAAA
-985 XLAAAA
-986 YLAAAA
-987 ZLAAAA
+unique1|stringu1
+-------+--------
+ 988|AMAAAA
+ 989|BMAAAA
+ 990|CMAAAA
+ 991|DMAAAA
+ 992|EMAAAA
+ 993|FMAAAA
+ 994|GMAAAA
+ 995|HMAAAA
+ 996|IMAAAA
+ 997|JMAAAA
+ 998|KMAAAA
+ 999|LMAAAA
+ 981|TLAAAA
+ 982|ULAAAA
+ 983|VLAAAA
+ 984|WLAAAA
+ 985|XLAAAA
+ 986|YLAAAA
+ 987|ZLAAAA
QUERY: SELECT onek.unique1, onek.string4
WHERE onek.unique1 > 980
ORDER BY string4 using <, unique1 using >;
-unique1 string4
--------- --------
-999 AAAAxx
-995 AAAAxx
-983 AAAAxx
-982 AAAAxx
-981 AAAAxx
-998 HHHHxx
-997 HHHHxx
-993 HHHHxx
-990 HHHHxx
-986 HHHHxx
-996 OOOOxx
-991 OOOOxx
-988 OOOOxx
-987 OOOOxx
-985 OOOOxx
-994 VVVVxx
-992 VVVVxx
-989 VVVVxx
-984 VVVVxx
+unique1|string4
+-------+-------
+ 999|AAAAxx
+ 995|AAAAxx
+ 983|AAAAxx
+ 982|AAAAxx
+ 981|AAAAxx
+ 998|HHHHxx
+ 997|HHHHxx
+ 993|HHHHxx
+ 990|HHHHxx
+ 986|HHHHxx
+ 996|OOOOxx
+ 991|OOOOxx
+ 988|OOOOxx
+ 987|OOOOxx
+ 985|OOOOxx
+ 994|VVVVxx
+ 992|VVVVxx
+ 989|VVVVxx
+ 984|VVVVxx
QUERY: SELECT onek.unique1, onek.string4
WHERE onek.unique1 > 980
ORDER BY string4 using >, unique1 using <;
-unique1 string4
--------- --------
-984 VVVVxx
-989 VVVVxx
-992 VVVVxx
-994 VVVVxx
-985 OOOOxx
-987 OOOOxx
-988 OOOOxx
-991 OOOOxx
-996 OOOOxx
-986 HHHHxx
-990 HHHHxx
-993 HHHHxx
-997 HHHHxx
-998 HHHHxx
-981 AAAAxx
-982 AAAAxx
-983 AAAAxx
-995 AAAAxx
-999 AAAAxx
+unique1|string4
+-------+-------
+ 984|VVVVxx
+ 989|VVVVxx
+ 992|VVVVxx
+ 994|VVVVxx
+ 985|OOOOxx
+ 987|OOOOxx
+ 988|OOOOxx
+ 991|OOOOxx
+ 996|OOOOxx
+ 986|HHHHxx
+ 990|HHHHxx
+ 993|HHHHxx
+ 997|HHHHxx
+ 998|HHHHxx
+ 981|AAAAxx
+ 982|AAAAxx
+ 983|AAAAxx
+ 995|AAAAxx
+ 999|AAAAxx
QUERY: SELECT onek.unique1, onek.string4
WHERE onek.unique1 < 20
ORDER BY unique1 using >, string4 using <;
-unique1 string4
--------- --------
-19 OOOOxx
-18 VVVVxx
-17 HHHHxx
-16 OOOOxx
-15 VVVVxx
-14 AAAAxx
-13 OOOOxx
-12 AAAAxx
-11 OOOOxx
-10 AAAAxx
-9 HHHHxx
-8 HHHHxx
-7 VVVVxx
-6 OOOOxx
-5 HHHHxx
-4 HHHHxx
-3 VVVVxx
-2 OOOOxx
-1 OOOOxx
-0 OOOOxx
+unique1|string4
+-------+-------
+ 19|OOOOxx
+ 18|VVVVxx
+ 17|HHHHxx
+ 16|OOOOxx
+ 15|VVVVxx
+ 14|AAAAxx
+ 13|OOOOxx
+ 12|AAAAxx
+ 11|OOOOxx
+ 10|AAAAxx
+ 9|HHHHxx
+ 8|HHHHxx
+ 7|VVVVxx
+ 6|OOOOxx
+ 5|HHHHxx
+ 4|HHHHxx
+ 3|VVVVxx
+ 2|OOOOxx
+ 1|OOOOxx
+ 0|OOOOxx
QUERY: SELECT onek.unique1, onek.string4
WHERE onek.unique1 < 20
ORDER BY unique1 using <, string4 using >;
-unique1 string4
--------- --------
-0 OOOOxx
-1 OOOOxx
-2 OOOOxx
-3 VVVVxx
-4 HHHHxx
-5 HHHHxx
-6 OOOOxx
-7 VVVVxx
-8 HHHHxx
-9 HHHHxx
-10 AAAAxx
-11 OOOOxx
-12 AAAAxx
-13 OOOOxx
-14 AAAAxx
-15 VVVVxx
-16 OOOOxx
-17 HHHHxx
-18 VVVVxx
-19 OOOOxx
+unique1|string4
+-------+-------
+ 0|OOOOxx
+ 1|OOOOxx
+ 2|OOOOxx
+ 3|VVVVxx
+ 4|HHHHxx
+ 5|HHHHxx
+ 6|OOOOxx
+ 7|VVVVxx
+ 8|HHHHxx
+ 9|HHHHxx
+ 10|AAAAxx
+ 11|OOOOxx
+ 12|AAAAxx
+ 13|OOOOxx
+ 14|AAAAxx
+ 15|VVVVxx
+ 16|OOOOxx
+ 17|HHHHxx
+ 18|VVVVxx
+ 19|OOOOxx
QUERY: WHERE onek2.unique1 < 20
ORDER BY unique1 using >;
WARN:parser: syntax error at or near "WHERE"
INTO TABLE temp
FROM onek;
QUERY: SELECT DISTINCT two FROM temp;
-two
-----
-0
-1
+two
+---
+ 0
+ 1
QUERY: SELECT DISTINCT ten FROM temp;
-ten
-----
-0
-1
-2
-3
-4
-5
-6
-7
-8
-9
+ten
+---
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
QUERY: SELECT DISTINCT string4 FROM temp;
-string4
---------
-AAAAxx
-HHHHxx
-OOOOxx
-VVVVxx
+string4
+-------
+AAAAxx
+HHHHxx
+OOOOxx
+VVVVxx
QUERY: SELECT DISTINCT two, string4, ten
FROM temp
ORDER BY two using <, string4 using <, ten using <;
-two string4 ten
----- -------- ----
-0 AAAAxx 0
-0 AAAAxx 2
-0 AAAAxx 4
-0 AAAAxx 6
-0 AAAAxx 8
-0 HHHHxx 0
-0 HHHHxx 2
-0 HHHHxx 4
-0 HHHHxx 6
-0 HHHHxx 8
-0 OOOOxx 0
-0 OOOOxx 2
-0 OOOOxx 4
-0 OOOOxx 6
-0 OOOOxx 8
-0 VVVVxx 0
-0 VVVVxx 2
-0 VVVVxx 4
-0 VVVVxx 6
-0 VVVVxx 8
-1 AAAAxx 1
-1 AAAAxx 3
-1 AAAAxx 5
-1 AAAAxx 7
-1 AAAAxx 9
-1 HHHHxx 1
-1 HHHHxx 3
-1 HHHHxx 5
-1 HHHHxx 7
-1 HHHHxx 9
-1 OOOOxx 1
-1 OOOOxx 3
-1 OOOOxx 5
-1 OOOOxx 7
-1 OOOOxx 9
-1 VVVVxx 1
-1 VVVVxx 3
-1 VVVVxx 5
-1 VVVVxx 7
-1 VVVVxx 9
+two|string4|ten
+---+-------+---
+ 0|AAAAxx | 0
+ 0|AAAAxx | 2
+ 0|AAAAxx | 4
+ 0|AAAAxx | 6
+ 0|AAAAxx | 8
+ 0|HHHHxx | 0
+ 0|HHHHxx | 2
+ 0|HHHHxx | 4
+ 0|HHHHxx | 6
+ 0|HHHHxx | 8
+ 0|OOOOxx | 0
+ 0|OOOOxx | 2
+ 0|OOOOxx | 4
+ 0|OOOOxx | 6
+ 0|OOOOxx | 8
+ 0|VVVVxx | 0
+ 0|VVVVxx | 2
+ 0|VVVVxx | 4
+ 0|VVVVxx | 6
+ 0|VVVVxx | 8
+ 1|AAAAxx | 1
+ 1|AAAAxx | 3
+ 1|AAAAxx | 5
+ 1|AAAAxx | 7
+ 1|AAAAxx | 9
+ 1|HHHHxx | 1
+ 1|HHHHxx | 3
+ 1|HHHHxx | 5
+ 1|HHHHxx | 7
+ 1|HHHHxx | 9
+ 1|OOOOxx | 1
+ 1|OOOOxx | 3
+ 1|OOOOxx | 5
+ 1|OOOOxx | 7
+ 1|OOOOxx | 9
+ 1|VVVVxx | 1
+ 1|VVVVxx | 3
+ 1|VVVVxx | 5
+ 1|VVVVxx | 7
+ 1|VVVVxx | 9
QUERY: SELECT DISTINCT ON string4 two, string4, ten
FROM temp
ORDER BY two using <, string4 using <, ten using <;
-two string4 ten
----- -------- ----
-0 AAAAxx 0
-0 HHHHxx 0
-0 OOOOxx 0
-0 VVVVxx 0
-1 AAAAxx 1
-1 HHHHxx 1
-1 OOOOxx 1
-1 VVVVxx 1
+two|string4|ten
+---+-------+---
+ 0|AAAAxx | 0
+ 0|HHHHxx | 0
+ 0|OOOOxx | 0
+ 0|VVVVxx | 0
+ 1|AAAAxx | 1
+ 1|HHHHxx | 1
+ 1|OOOOxx | 1
+ 1|VVVVxx | 1
QUERY: SELECT *
INTO TABLE temp1
FROM temp
WHERE onek2.unique1 < 2;
QUERY: DROP TABLE temp1;
QUERY: SELECT p.name, p.age FROM person* p;
-name age
--------- ----
-mike 40
-joe 20
-sally 34
-sandra 19
-alex 30
-sue 50
-denise 24
-sarah 88
-teresa 38
-nan 28
-leah 68
-wendy 78
-melissa 28
-joan 18
-mary 8
-jane 58
-liza 38
-jean 28
-jenifer 38
-juanita 58
-susan 78
-zena 98
-martie 88
-chris 78
-pat 18
-zola 58
-louise 98
-edna 18
-bertha 88
-sumi 38
-koko 88
-gina 18
-rean 48
-sharon 78
-paula 68
-julie 68
-belinda 38
-karen 48
-carina 58
-diane 18
-esther 98
-trudy 88
-fanny 8
-carmen 78
-lita 25
-pamela 48
-sandy 38
-trisha 88
-vera 78
-velma 68
-sharon 25
-sam 30
-bill 20
-fred 28
-larry 60
-jeff 23
-cim 30
-linda 19
+name |age
+-------+---
+mike | 40
+joe | 20
+sally | 34
+sandra | 19
+alex | 30
+sue | 50
+denise | 24
+sarah | 88
+teresa | 38
+nan | 28
+leah | 68
+wendy | 78
+melissa| 28
+joan | 18
+mary | 8
+jane | 58
+liza | 38
+jean | 28
+jenifer| 38
+juanita| 58
+susan | 78
+zena | 98
+martie | 88
+chris | 78
+pat | 18
+zola | 58
+louise | 98
+edna | 18
+bertha | 88
+sumi | 38
+koko | 88
+gina | 18
+rean | 48
+sharon | 78
+paula | 68
+julie | 68
+belinda| 38
+karen | 48
+carina | 58
+diane | 18
+esther | 98
+trudy | 88
+fanny | 8
+carmen | 78
+lita | 25
+pamela | 48
+sandy | 38
+trisha | 88
+vera | 78
+velma | 68
+sharon | 25
+sam | 30
+bill | 20
+fred | 28
+larry | 60
+jeff | 23
+cim | 30
+linda | 19
QUERY: SELECT p.name, p.age FROM person* p ORDER BY age using >;
-name age
--------- ----
-esther 98
-louise 98
-zena 98
-martie 88
-bertha 88
-trisha 88
-koko 88
-sarah 88
-trudy 88
-vera 78
-carmen 78
-chris 78
-sharon 78
-susan 78
-wendy 78
-velma 68
-leah 68
-julie 68
-paula 68
-larry 60
-carina 58
-juanita 58
-jane 58
-zola 58
-sue 50
-karen 48
-rean 48
-pamela 48
-mike 40
-jenifer 38
-sandy 38
-teresa 38
-liza 38
-belinda 38
-sumi 38
-sally 34
-alex 30
-cim 30
-sam 30
-fred 28
-nan 28
-jean 28
-melissa 28
-sharon 25
-lita 25
-denise 24
-jeff 23
-joe 20
-bill 20
-linda 19
-sandra 19
-diane 18
-edna 18
-gina 18
-joan 18
-pat 18
-fanny 8
-mary 8
+name |age
+-------+---
+esther | 98
+louise | 98
+zena | 98
+martie | 88
+bertha | 88
+trisha | 88
+koko | 88
+sarah | 88
+trudy | 88
+vera | 78
+carmen | 78
+chris | 78
+sharon | 78
+susan | 78
+wendy | 78
+velma | 68
+leah | 68
+julie | 68
+paula | 68
+larry | 60
+carina | 58
+juanita| 58
+jane | 58
+zola | 58
+sue | 50
+karen | 48
+rean | 48
+pamela | 48
+mike | 40
+jenifer| 38
+sandy | 38
+teresa | 38
+liza | 38
+belinda| 38
+sumi | 38
+sally | 34
+alex | 30
+cim | 30
+sam | 30
+fred | 28
+nan | 28
+jean | 28
+melissa| 28
+sharon | 25
+lita | 25
+denise | 24
+jeff | 23
+joe | 20
+bill | 20
+linda | 19
+sandra | 19
+diane | 18
+edna | 18
+gina | 18
+joan | 18
+pat | 18
+fanny | 8
+mary | 8
QUERY: SELECT DISTINCT p.age FROM person* p ORDER BY age using >;
-age
-----
-98
-88
-78
-68
-60
-58
-50
-48
-40
-38
-34
-30
-28
-25
-24
-23
-20
-19
-18
-8
+age
+---
+ 98
+ 88
+ 78
+ 68
+ 60
+ 58
+ 50
+ 48
+ 40
+ 38
+ 34
+ 30
+ 28
+ 25
+ 24
+ 23
+ 20
+ 19
+ 18
+ 8
QUERY: SELECT hash_i4_heap.*
WHERE hash_i4_heap.random = 843938989;
-seqno random
------- ----------
-15 843938989
+seqno| random
+-----+---------
+ 15|843938989
QUERY: SELECT hash_i4_heap.*
WHERE hash_i4_heap.random = 66766766;
-seqno random
------- -------
+seqno|random
+-----+------
QUERY: SELECT hash_c16_heap.*
WHERE hash_c16_heap.random = '1505703298'::char16;
-seqno random
------- -----------
-9838 1505703298
+seqno| random
+-----+----------
+ 9838|1505703298
QUERY: SELECT hash_c16_heap.*
WHERE hash_c16_heap.random = '7777777'::char16;
-seqno random
------- -------
+seqno|random
+-----+------
QUERY: SELECT hash_txt_heap.*
WHERE hash_txt_heap.random = '1351610853'::text;
-seqno random
------- -----------
-5677 1351610853
+seqno| random
+-----+----------
+ 5677|1351610853
QUERY: SELECT hash_txt_heap.*
WHERE hash_txt_heap.random = '111111112222222233333333'::text;
-seqno random
------- -------
+seqno|random
+-----+------
QUERY: SELECT hash_f8_heap.*
WHERE hash_f8_heap.random = '444705537'::float8;
-seqno random
------- ----------
-7853 444705537
+seqno| random
+-----+---------
+ 7853|444705537
QUERY: SELECT hash_f8_heap.*
WHERE hash_f8_heap.random = '88888888'::float8;
-seqno random
------- -------
+seqno|random
+-----+------
QUERY: SELECT b.*
FROM bt_i4_heap b
WHERE b.seqno < 1;
-seqno random
------- -----------
-0 1935401906
+seqno| random
+-----+----------
+ 0|1935401906
QUERY: SELECT b.*
FROM bt_i4_heap b
WHERE b.seqno >= 9999;
-seqno random
------- -----------
-9999 1227676208
+seqno| random
+-----+----------
+ 9999|1227676208
QUERY: SELECT b.*
FROM bt_i4_heap b
WHERE b.seqno = 4500;
-seqno random
------- -----------
-4500 2080851358
+seqno| random
+-----+----------
+ 4500|2080851358
QUERY: SELECT b.*
FROM bt_c16_heap b
WHERE b.seqno < '1'::char16;
-seqno random
------- -----------
-0 1935401906
+seqno| random
+-----+----------
+ 0|1935401906
QUERY: SELECT b.*
FROM bt_c16_heap b
WHERE b.seqno >= '9999'::char16;
-seqno random
------- -----------
-9999 1227676208
+seqno| random
+-----+----------
+ 9999|1227676208
QUERY: SELECT b.*
FROM bt_c16_heap b
WHERE b.seqno = '4500'::char16;
-seqno random
------- -----------
-4500 2080851358
+seqno| random
+-----+----------
+ 4500|2080851358
QUERY: SELECT b.*
FROM bt_txt_heap b
WHERE b.seqno < '1'::text;
-seqno random
------- -----------
-0 1935401906
+seqno| random
+-----+----------
+ 0|1935401906
QUERY: SELECT b.*
FROM bt_txt_heap b
WHERE b.seqno >= '9999'::text;
-seqno random
------- -----------
-9999 1227676208
+seqno| random
+-----+----------
+ 9999|1227676208
QUERY: SELECT b.*
FROM bt_txt_heap b
WHERE b.seqno = '4500'::text;
-seqno random
------- -----------
-4500 2080851358
+seqno| random
+-----+----------
+ 4500|2080851358
QUERY: SELECT b.*
FROM bt_f8_heap b
WHERE b.seqno < '1'::float8;
-seqno random
------- -----------
-0 1935401906
+seqno| random
+-----+----------
+ 0|1935401906
QUERY: SELECT b.*
FROM bt_f8_heap b
WHERE b.seqno >= '9999'::float8;
-seqno random
------- -----------
-9999 1227676208
+seqno| random
+-----+----------
+ 9999|1227676208
QUERY: SELECT b.*
FROM bt_f8_heap b
WHERE b.seqno = '4500'::float8;
-seqno random
------- -----------
-4500 2080851358
+seqno| random
+-----+----------
+ 4500|2080851358
QUERY: UPDATE onek
SET unique1 = onek.unique1 + 1;
QUERY: UPDATE onek
QUERY: SELECT h.seqno AS i1492, h.random AS i1
FROM hash_i4_heap h
WHERE h.random = 1;
-i1492 i1
------- ---
-1492 1
+i1492|i1
+-----+--
+ 1492| 1
QUERY: UPDATE hash_i4_heap
SET seqno = 20000
WHERE hash_i4_heap.random = 1492795354;
QUERY: SELECT h.seqno AS i20000
FROM hash_i4_heap h
WHERE h.random = 1492795354;
-i20000
--------
-20000
+i20000
+------
+ 20000
QUERY: UPDATE hash_c16_heap
SET random = '0123456789abcdef'::char16
WHERE hash_c16_heap.seqno = 6543;
QUERY: SELECT h.seqno AS i6543, h.random AS c0_to_f
FROM hash_c16_heap h
WHERE h.random = '0123456789abcdef'::char16;
-i6543 c0_to_f
------- -----------------
-6543 0123456789abcdef
+i6543|c0_to_f
+-----+----------------
+ 6543|0123456789abcdef
QUERY: UPDATE hash_c16_heap
SET seqno = 20000
WHERE hash_c16_heap.random = '76652222'::char16;
QUERY: SELECT h.seqno AS emptyset
FROM hash_c16_heap h
WHERE h.random = '76652222'::char16;
-emptyset
----------
+emptyset
+--------
QUERY: UPDATE hash_txt_heap
SET random = '0123456789abcdefghijklmnop'::text
WHERE hash_txt_heap.seqno = 4002;
QUERY: SELECT h.seqno AS i4002, h.random AS c0_to_p
FROM hash_txt_heap h
WHERE h.random = '0123456789abcdefghijklmnop'::text;
-i4002 c0_to_p
------- ---------------------------
-4002 0123456789abcdefghijklmnop
+i4002|c0_to_p
+-----+--------------------------
+ 4002|0123456789abcdefghijklmnop
QUERY: UPDATE hash_txt_heap
SET seqno = 20000
WHERE hash_txt_heap.random = '959363399'::text;
QUERY: SELECT h.seqno AS t20000
FROM hash_txt_heap h
WHERE h.random = '959363399'::text;
-t20000
--------
-20000
+t20000
+------
+ 20000
QUERY: UPDATE hash_f8_heap
SET random = '-1234.1234'::float8
WHERE hash_f8_heap.seqno = 8906;
QUERY: SELECT h.seqno AS i8096, h.random AS f1234_1234
FROM hash_f8_heap h
WHERE h.random = '-1234.1234'::float8;
-i8096 f1234_1234
------- -----------
-8906 -1234.1234
+i8096|f1234_1234
+-----+----------
+ 8906|-1234.1234
QUERY: UPDATE hash_f8_heap
SET seqno = 20000
WHERE hash_f8_heap.random = '488912369'::float8;
QUERY: SELECT h.seqno AS f20000
FROM hash_f8_heap h
WHERE h.random = '488912369'::float8;
-f20000
--------
-20000
-QUERY: COPY onek TO '_OBJWD_/onek.data';
+f20000
+------
+ 20000
+QUERY: COPY onek TO '_CWD_/obj/onek.data';
QUERY: DELETE FROM onek;
-QUERY: COPY onek FROM '_OBJWD_/onek.data';
+QUERY: COPY onek FROM '_CWD_/obj/onek.data';
QUERY: SELECT unique1 FROM onek WHERE unique1 < 2;
-unique1
---------
-0
-1
+unique1
+-------
+ 0
+ 1
QUERY: DELETE FROM onek2;
-QUERY: COPY onek2 FROM '_OBJWD_/onek.data';
+QUERY: COPY onek2 FROM '_CWD_/obj/onek.data';
QUERY: SELECT unique1 FROM onek2 WHERE unique1 < 2;
-unique1
---------
-1
-0
-QUERY: COPY BINARY stud_emp TO '_OBJWD_/stud_emp.data';
+unique1
+-------
+ 1
+ 0
+QUERY: COPY BINARY stud_emp TO '_CWD_/obj/stud_emp.data';
QUERY: DELETE FROM stud_emp;
-QUERY: COPY BINARY stud_emp FROM '_OBJWD_/stud_emp.data';
+QUERY: COPY BINARY stud_emp FROM '_CWD_/obj/stud_emp.data';
QUERY: SELECT * FROM stud_emp;
-name age location salary manager gpa percent
------- ---- ----------- ------- -------- ---- --------
-jeff 23 (8,7.7) 600 sharon 3.5
-cim 30 (10.5,4.7) 400 3.4
-linda 19 (0.9,6.1) 100 2.9
+name |age|location |salary|manager|gpa|percent
+-----+---+----------+------+-------+---+-------
+jeff | 23|(8,7.7) | 600|sharon |3.5|
+cim | 30|(10.5,4.7)| 400| |3.4|
+linda| 19|(0.9,6.1) | 100| |2.9|
QUERY: SELECT count(*) FROM onek;
-count
-------
-1000
+count
+-----
+ 1000
QUERY: SELECT count(*) FROM onek where oidrand(onek.oid, 10);
-count
-------
-95
+count
+-----
+ 97
QUERY: SELECT count(*) FROM onek where oidrand(onek.oid, 10);
-count
-------
-88
+count
+-----
+ 101
QUERY: BEGIN;
QUERY: SELECT *
INTO TABLE xacttest
QUERY: INSERT INTO xacttest (a, b) VALUES (777, 777.777);
QUERY: END;
QUERY: SELECT a FROM xacttest WHERE a > 100;
-a
-----
-777
+ a
+---
+777
QUERY: BEGIN;
QUERY: CREATE TABLE disappear (a int4);
QUERY: DELETE FROM aggtest;
QUERY: SELECT * FROM aggtest;
-a b
--- --
+a|b
+-+-
QUERY: ABORT;
QUERY: SELECT oid FROM pg_class WHERE relname = 'disappear';
-oid
-----
+oid
+---
QUERY: SELECT * FROM aggtest;
-a b
--- --
+a|b
+-+-
QUERY: BEGIN;
QUERY: DECLARE foo1 CURSOR FOR SELECT * FROM tenk1;
QUERY: DECLARE foo2 CURSOR FOR SELECT * FROM tenk2;
QUERY: DECLARE foo22 CURSOR FOR SELECT * FROM tenk2;
QUERY: DECLARE foo23 CURSOR FOR SELECT * FROM tenk1;
QUERY: FETCH 1 in foo1;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
QUERY: FETCH 2 in foo2;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
QUERY: FETCH 3 in foo3;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
QUERY: FETCH 4 in foo4;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
QUERY: FETCH 5 in foo5;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
QUERY: FETCH 6 in foo6;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
QUERY: FETCH 7 in foo7;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
QUERY: FETCH 8 in foo8;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
QUERY: FETCH 9 in foo9;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
QUERY: FETCH 10 in foo10;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
QUERY: FETCH 11 in foo11;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
QUERY: FETCH 12 in foo12;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
QUERY: FETCH 13 in foo13;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
QUERY: FETCH 14 in foo14;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
QUERY: FETCH 15 in foo15;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
QUERY: FETCH 16 in foo16;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
QUERY: FETCH 17 in foo17;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
QUERY: FETCH 18 in foo18;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
QUERY: FETCH 19 in foo19;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
QUERY: FETCH 20 in foo20;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
QUERY: FETCH 21 in foo21;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
-9460 20 0 0 0 0 60 460 1460 4460 9460 120 121 WZAAAA UAAAAA AAAAxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
+ 9460| 20| 0| 0| 0| 0| 60| 460| 1460| 4460| 9460|120| 121|WZAAAA |UAAAAA |AAAAxx
QUERY: FETCH 22 in foo22;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
-9460 20 0 0 0 0 60 460 1460 4460 9460 120 121 WZAAAA UAAAAA AAAAxx
-59 21 1 3 9 19 59 59 59 59 59 118 119 HCAAAA VAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
+ 9460| 20| 0| 0| 0| 0| 60| 460| 1460| 4460| 9460|120| 121|WZAAAA |UAAAAA |AAAAxx
+ 59| 21| 1| 3| 9| 19| 59| 59| 59| 59| 59|118| 119|HCAAAA |VAAAAA |HHHHxx
QUERY: FETCH 23 in foo23;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-8800 0 0 0 0 0 0 800 800 3800 8800 0 1 MAAAAA AAAAAA AAAAxx
-1891 1 1 3 1 11 91 891 1891 1891 1891 182 183 TUAAAA BAAAAA HHHHxx
-3420 2 0 0 0 0 20 420 1420 3420 3420 40 41 OBAAAA CAAAAA OOOOxx
-9850 3 0 2 0 10 50 850 1850 4850 9850 100 101 WOAAAA DAAAAA VVVVxx
-7164 4 0 0 4 4 64 164 1164 2164 7164 128 129 OPAAAA EAAAAA AAAAxx
-8009 5 1 1 9 9 9 9 9 3009 8009 18 19 BWAAAA FAAAAA HHHHxx
-5057 6 1 1 7 17 57 57 1057 57 5057 114 115 NMAAAA GAAAAA OOOOxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
-9460 20 0 0 0 0 60 460 1460 4460 9460 120 121 WZAAAA UAAAAA AAAAxx
-59 21 1 3 9 19 59 59 59 59 59 118 119 HCAAAA VAAAAA HHHHxx
-8020 22 0 0 0 0 20 20 20 3020 8020 40 41 MWAAAA WAAAAA OOOOxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 8800| 0| 0| 0| 0| 0| 0| 800| 800| 3800| 8800| 0| 1|MAAAAA |AAAAAA |AAAAxx
+ 1891| 1| 1| 3| 1| 11| 91| 891| 1891| 1891| 1891|182| 183|TUAAAA |BAAAAA |HHHHxx
+ 3420| 2| 0| 0| 0| 0| 20| 420| 1420| 3420| 3420| 40| 41|OBAAAA |CAAAAA |OOOOxx
+ 9850| 3| 0| 2| 0| 10| 50| 850| 1850| 4850| 9850|100| 101|WOAAAA |DAAAAA |VVVVxx
+ 7164| 4| 0| 0| 4| 4| 64| 164| 1164| 2164| 7164|128| 129|OPAAAA |EAAAAA |AAAAxx
+ 8009| 5| 1| 1| 9| 9| 9| 9| 9| 3009| 8009| 18| 19|BWAAAA |FAAAAA |HHHHxx
+ 5057| 6| 1| 1| 7| 17| 57| 57| 1057| 57| 5057|114| 115|NMAAAA |GAAAAA |OOOOxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
+ 9460| 20| 0| 0| 0| 0| 60| 460| 1460| 4460| 9460|120| 121|WZAAAA |UAAAAA |AAAAxx
+ 59| 21| 1| 3| 9| 19| 59| 59| 59| 59| 59|118| 119|HCAAAA |VAAAAA |HHHHxx
+ 8020| 22| 0| 0| 0| 0| 20| 20| 20| 3020| 8020| 40| 41|MWAAAA |WAAAAA |OOOOxx
QUERY: FETCH backward 1 in foo23;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-59 21 1 3 9 19 59 59 59 59 59 118 119 HCAAAA VAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 59| 21| 1| 3| 9| 19| 59| 59| 59| 59| 59|118| 119|HCAAAA |VAAAAA |HHHHxx
QUERY: FETCH backward 2 in foo22;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-9460 20 0 0 0 0 60 460 1460 4460 9460 120 121 WZAAAA UAAAAA AAAAxx
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 9460| 20| 0| 0| 0| 0| 60| 460| 1460| 4460| 9460|120| 121|WZAAAA |UAAAAA |AAAAxx
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
QUERY: FETCH backward 3 in foo21;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-6969 19 1 1 9 9 69 969 969 1969 6969 138 139 BIAAAA TAAAAA VVVVxx
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 6969| 19| 1| 1| 9| 9| 69| 969| 969| 1969| 6969|138| 139|BIAAAA |TAAAAA |VVVVxx
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
QUERY: FETCH backward 4 in foo20;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-6621 18 1 1 1 1 21 621 621 1621 6621 42 43 RUAAAA SAAAAA OOOOxx
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 6621| 18| 1| 1| 1| 1| 21| 621| 621| 1621| 6621| 42| 43|RUAAAA |SAAAAA |OOOOxx
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
QUERY: FETCH backward 5 in foo19;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-5785 17 1 1 5 5 85 785 1785 785 5785 170 171 NOAAAA RAAAAA HHHHxx
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 5785| 17| 1| 1| 5| 5| 85| 785| 1785| 785| 5785|170| 171|NOAAAA |RAAAAA |HHHHxx
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
QUERY: FETCH backward 6 in foo18;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-5387 16 1 3 7 7 87 387 1387 387 5387 174 175 FZAAAA QAAAAA AAAAxx
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 5387| 16| 1| 3| 7| 7| 87| 387| 1387| 387| 5387|174| 175|FZAAAA |QAAAAA |AAAAxx
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
QUERY: FETCH backward 7 in foo17;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-5006 15 0 2 6 6 6 6 1006 6 5006 12 13 OKAAAA PAAAAA VVVVxx
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 5006| 15| 0| 2| 6| 6| 6| 6| 1006| 6| 5006| 12| 13|OKAAAA |PAAAAA |VVVVxx
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
QUERY: FETCH backward 8 in foo16;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-5471 14 1 3 1 11 71 471 1471 471 5471 142 143 LCAAAA OAAAAA OOOOxx
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-4321 8 1 1 1 1 21 321 321 4321 4321 42 43 FKAAAA IAAAAA AAAAxx
-6701 7 1 1 1 1 1 701 701 1701 6701 2 3 TXAAAA HAAAAA VVVVxx
+unique1|unique2|two|four|ten|twenty|hundred|thousand|twothousand|fivethous|tenthous|odd|even|stringu1|stringu2|string4
+-------+-------+---+----+---+------+-------+--------+-----------+---------+--------+---+----+--------+--------+-------
+ 5471| 14| 1| 3| 1| 11| 71| 471| 1471| 471| 5471|142| 143|LCAAAA |OAAAAA |OOOOxx
+ 6243| 13| 1| 3| 3| 3| 43| 243| 243| 1243| 6243| 86| 87|DGAAAA |NAAAAA |HHHHxx
+ 5222| 12| 0| 2| 2| 2| 22| 222| 1222| 222| 5222| 44| 45|WSAAAA |MAAAAA |AAAAxx
+ 1504| 11| 0| 0| 4| 4| 4| 504| 1504| 1504| 1504| 8| 9|WFAAAA |LAAAAA |VVVVxx
+ 1314| 10| 0| 2| 4| 14| 14| 314| 1314| 1314| 1314| 28| 29|OYAAAA |KAAAAA |OOOOxx
+ 3043| 9| 1| 3| 3| 3| 43| 43| 1043| 3043| 3043| 86| 87|BNAAAA |JAAAAA |HHHHxx
+ 4321| 8| 1| 1| 1| 1| 21| 321| 321| 4321| 4321| 42| 43|FKAAAA |IAAAAA |AAAAxx
+ 6701| 7| 1| 1| 1| 1| 1| 701| 701| 1701| 6701| 2| 3|TXAAAA |HAAAAA |VVVVxx
QUERY: FETCH backward 9 in foo15;
-unique1 unique2 two four ten twenty hundred thousand twothousand fivethous tenthous odd even stringu1 stringu2 string4
--------- -------- ---- ----- ---- ------- -------- --------- ------------ ---------- --------- ---- ----- --------- --------- --------
-6243 13 1 3 3 3 43 243 243 1243 6243 86 87 DGAAAA NAAAAA HHHHxx
-5222 12 0 2 2 2 22 222 1222 222 5222 44 45 WSAAAA MAAAAA AAAAxx
-1504 11 0 0 4 4 4 504 1504 1504 1504 8 9 WFAAAA LAAAAA VVVVxx
-1314 10 0 2 4 14 14 314 1314 1314 1314 28 29 OYAAAA KAAAAA OOOOxx
-3043 9 1 3 3 3 43 43 1043 3043 3043 86 87 BNAAAA JAAAAA HHHHxx
-4321 8 1 1 1 1 21 321 321 4321 4321 &nb