Commit 557e0ed2 authored by Marc G. Fournier's avatar Marc G. Fournier

Alot of regression test fixes, mainly to compensate for moving

the DROP TABLE calls from the destroy.sql file to the 'types' .sql files,
so that they are self-contained

btree_index, hash_index and misc all fail as there seems to be missing
a 'misc.out' expected file...have asked Thomas for one...
parent a475d4d8
......@@ -177,3 +177,5 @@ tf_12_ff_4|f1|f1
|f |f
(16 rows)
QUERY: DROP TABLE BOOLTBL1;
QUERY: DROP TABLE BOOLTBL2;
......@@ -167,3 +167,4 @@ one|f1 |f1
|(3,3),(1,1)|(3,3),(3,3)
(1 row)
QUERY: DROP TABLE BOX_TBL;
......@@ -81,3 +81,4 @@ two|f1
|c
(2 rows)
QUERY: DROP TABLE CHAR_TBL;
......@@ -101,3 +101,4 @@ two|f1
|d34aaasdf
(2 rows)
QUERY: DROP TABLE CHAR16_TBL;
......@@ -98,3 +98,4 @@ one|f1
|34
(1 row)
QUERY: DROP TABLE CHAR2_TBL;
......@@ -94,3 +94,4 @@ three|f1
|1234
(3 rows)
QUERY: DROP TABLE CHAR4_TBL;
......@@ -103,3 +103,4 @@ three|f1
|12345678
(3 rows)
QUERY: DROP TABLE CHAR8_TBL;
......@@ -146,3 +146,4 @@ five|f1
|-1.23457e-20
(5 rows)
QUERY: DROP TABLE FLOAT4_TBL;
......@@ -223,3 +223,4 @@ five|f1
|-1.2345678901234e-200
(5 rows)
QUERY: DROP TABLE FLOAT8_TBL;
......@@ -7,7 +7,7 @@ WARN:pg_atoi: error in "34.5": can't parse ".5"
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('32767');
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('-32767');
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('100000');
WARN:pg_atoi: error reading "100000": Math result not representable
WARN:pg_atoi: error reading "100000": Result too large
QUERY: INSERT INTO INT2_TBL(f1) VALUES ('asdf');
WARN:pg_atoi: error in "asdf": can't parse "asdf"
QUERY: SELECT '' AS five, INT2_TBL.*;
......@@ -204,3 +204,4 @@ five| f1| x
|-32767|-16383
(5 rows)
QUERY: DROP TABLE INT2_TBL;
......@@ -7,7 +7,7 @@ WARN:pg_atoi: error in "34.5": can't parse ".5"
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('2147483647');
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('-2147483647');
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('1000000000000');
WARN:pg_atoi: error reading "1000000000000": Math result not representable
WARN:pg_atoi: error reading "1000000000000": Result too large
QUERY: INSERT INTO INT4_TBL(f1) VALUES ('asdf');
WARN:pg_atoi: error in "asdf": can't parse "asdf"
QUERY: SELECT '' AS five, INT4_TBL.*;
......@@ -276,3 +276,4 @@ three
3
(1 row)
QUERY: DROP TABLE INT4_TBL;
......@@ -61,3 +61,4 @@ one| f1
|1235
(1 row)
QUERY: DROP TABLE OID_TBL;
......@@ -4,7 +4,7 @@ QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('1235/9873');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('987/-1234');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('123456');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('123456/123456');
WARN:pg_atoi: error reading "123456": Math result not representable
WARN:pg_atoi: error reading "123456": Result too large
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('');
QUERY: INSERT INTO OIDINT2_TBL(f1) VALUES ('asdfasd');
WARN:pg_atoi: error in "asdfasd": can't parse "asdfasd"
......@@ -63,3 +63,4 @@ one|f1
|123456/0
(1 row)
QUERY: DROP TABLE OIDINT2_TBL;
......@@ -4,7 +4,7 @@ QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('1235/9873');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('987/-1234');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('123456');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('123456/1234568901234567890');
WARN:pg_atoi: error reading "1234568901234567890": Math result not representable
WARN:pg_atoi: error reading "1234568901234567890": Result too large
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('');
QUERY: INSERT INTO OIDINT4_TBL(f1) VALUES ('asdfasd');
WARN:pg_atoi: error in "asdfasd": can't parse "asdfasd"
......@@ -63,3 +63,4 @@ one|f1
|123456/0
(1 row)
QUERY: DROP TABLE OIDINT4_TBL;
......@@ -60,3 +60,4 @@ two|f1
|123456,abcdefghijklmnopqrsutvwyz
(2 rows)
QUERY: DROP TABLE OIDNAME_TBL;
......@@ -207,3 +207,4 @@ three|f1 |f1
|(5.1,34.5)|(10,10)
(3 rows)
QUERY: DROP TABLE POINT_TBL;
......@@ -6,49 +6,49 @@
-- CLASS POPULATION
-- (any resemblance to real life is purely coincidental)
--
COPY onek FROM '_CWD_/../data/onek.data';
COPY onek FROM '_CWD_/data/onek.data';
COPY onek TO '_OBJWD_/results/onek.data';
COPY onek TO '_CWD_/results/onek.data';
DELETE FROM onek;
COPY onek FROM '_OBJWD_/results/onek.data';
COPY onek FROM '_CWD_/results/onek.data';
COPY tenk1 FROM '_CWD_/../data/tenk.data';
COPY tenk1 FROM '_CWD_/data/tenk.data';
COPY slow_emp4000 FROM '_CWD_/../data/rect.data';
COPY slow_emp4000 FROM '_CWD_/data/rect.data';
COPY person FROM '_CWD_/../data/person.data';
COPY person FROM '_CWD_/data/person.data';
COPY emp FROM '_CWD_/../data/emp.data';
COPY emp FROM '_CWD_/data/emp.data';
COPY student FROM '_CWD_/../data/student.data';
COPY student FROM '_CWD_/data/student.data';
COPY stud_emp FROM '_CWD_/../data/stud_emp.data';
COPY stud_emp FROM '_CWD_/data/stud_emp.data';
COPY road FROM '_CWD_/../data/streets.data';
COPY road FROM '_CWD_/data/streets.data';
COPY real_city FROM '_CWD_/../data/real_city.data';
COPY real_city FROM '_CWD_/data/real_city.data';
COPY hash_i4_heap FROM '_CWD_/../data/hash.data';
COPY hash_i4_heap FROM '_CWD_/data/hash.data';
COPY hash_c16_heap FROM '_CWD_/../data/hash.data';
COPY hash_c16_heap FROM '_CWD_/data/hash.data';
COPY hash_txt_heap FROM '_CWD_/../data/hash.data';
COPY hash_txt_heap FROM '_CWD_/data/hash.data';
COPY hash_f8_heap FROM '_CWD_/../data/hash.data';
COPY hash_f8_heap FROM '_CWD_/data/hash.data';
-- the data in this file has a lot of duplicates in the index key
-- fields, leading to long bucket chains and lots of table expansion.
-- this is therefore a stress test of the bucket overflow code (unlike
-- the data in hash.data, which has unique index keys).
--
-- COPY hash_ovfl_heap FROM '_CWD_/../data/hashovfl.data';
-- COPY hash_ovfl_heap FROM '_CWD_/data/hashovfl.data';
COPY bt_i4_heap FROM '_CWD_/../data/desc.data';
COPY bt_i4_heap FROM '_CWD_/data/desc.data';
COPY bt_c16_heap FROM '_CWD_/../data/hash.data';
COPY bt_c16_heap FROM '_CWD_/data/hash.data';
COPY bt_txt_heap FROM '_CWD_/../data/desc.data';
COPY bt_txt_heap FROM '_CWD_/data/desc.data';
COPY bt_f8_heap FROM '_CWD_/../data/hash.data';
COPY bt_f8_heap FROM '_CWD_/data/hash.data';
QUERY: COPY onek FROM '_CWD_/data/onek.data';
QUERY: COPY onek TO '_CWD_/results/onek.data';
QUERY: DELETE FROM onek;
QUERY: COPY onek FROM '_CWD_/results/onek.data';
QUERY: COPY tenk1 FROM '_CWD_/data/tenk.data';
QUERY: COPY slow_emp4000 FROM '_CWD_/data/rect.data';
QUERY: COPY person FROM '_CWD_/data/person.data';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment