Adjust output to reflect changes in tests.

This commit is contained in:
Thomas G. Lockhart 1997-12-01 02:44:53 +00:00
parent 07c1837f50
commit f901971c86
8 changed files with 892 additions and 835 deletions

View File

@ -42,7 +42,7 @@ initial|a|b|c|d|e|f|g|h|i|j|l|m|n|p|q|r|s|t|u|v|w|x|y|z
QUERY: DROP TABLE temp;
QUERY: CREATE TABLE temp (
initial int4
) ARCHIVE = light;
);
QUERY: ALTER TABLE temp ADD COLUMN a int4;
QUERY: ALTER TABLE temp ADD COLUMN b char16;
QUERY: ALTER TABLE temp ADD COLUMN c text;
@ -78,7 +78,7 @@ QUERY: INSERT INTO temp (a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t
'(0,2,4.1,4.1,3.1,3.1)', '(4.1,4.1,3.1,3.1)', '["current" "infinity"]',
'1/3', '1,char16', '{1.0,2.0,3.0,4.0}', '{1.0,2.0,3.0,4.0}', '{1,2,3,4}');
WARN:Relation temp does not have attribute k
QUERY: SELECT * FROM temp[,];
QUERY: SELECT * FROM temp;
initial|a|b|c|d|e|f|g|h|i|j|l|m|n|p|q|r|s|t|u|v|w|x|y|z
-------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
(0 rows)

View File

@ -180,5 +180,41 @@ tf_12_ff_4|f1|f1
|t |f
(16 rows)
QUERY: SELECT '' AS "True", BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 IS TRUE;
True|f1
----+--
|t
|t
|t
(3 rows)
QUERY: SELECT '' AS "Not False", BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 IS NOT FALSE;
Not False|f1
---------+--
|t
|t
|t
(3 rows)
QUERY: SELECT '' AS "False", BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 IS FALSE;
False|f1
-----+--
|f
(1 row)
QUERY: SELECT '' AS "Not True", BOOLTBL1.*
FROM BOOLTBL1
WHERE f1 IS NOT TRUE;
Not True|f1
--------+--
|f
(1 row)
QUERY: DROP TABLE BOOLTBL1;
QUERY: DROP TABLE BOOLTBL2;

View File

@ -1,3 +1,9 @@
QUERY: SELECT 'c'::char = 'c'::char AS true;
true
----
t
(1 row)
QUERY: CREATE TABLE CHAR_TBL(f1 char);
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('a');
QUERY: INSERT INTO CHAR_TBL (f1) VALUES ('A');

View File

@ -1,3 +1,15 @@
QUERY: SELECT 'char 16 string'::char16 = 'char 16 string'::char16 AS "True";
True
----
t
(1 row)
QUERY: SELECT 'char 16 string'::char16 = 'char 16 string '::char16 AS "False";
False
-----
f
(1 row)
QUERY: CREATE TABLE CHAR16_TBL(f1 char16);
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('ABCDEFGHIJKLMNOP');
QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('abcdefghijklmnop');

View File

@ -3,29 +3,30 @@ QUERY: SELECT relname, relhasindex
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_attrdef |t
pg_attribute |t
pg_class |t
pg_proc |t
pg_relcheck |t
pg_trigger |t
pg_type |t
road |t
shighway |t
tenk1 |t
tenk2 |t
(22 rows)
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_attrdef |t
pg_attribute |t
pg_class |t
pg_description|t
pg_proc |t
pg_relcheck |t
pg_trigger |t
pg_type |t
road |t
shighway |t
tenk1 |t
tenk2 |t
(23 rows)

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,3 @@
QUERY: SELECT 'char 16 string'::char16 = 'char 16 string '::char16 AS false;
false
-----
f
(1 row)
QUERY: SELECT 'c'::char = 'c'::char AS true;
true
----
t
(1 row)
QUERY: SELECT 'this is a text string'::text = 'this is a text string'::text AS true;
true
----
@ -22,3 +10,13 @@ false
f
(1 row)
QUERY: CREATE TABLE TEXT_TBL (f1 text);
QUERY: INSERT INTO TEXT_TBL VALUES ('doh!');
QUERY: INSERT INTO TEXT_TBL VALUES ('hi de ho neighbor');
QUERY: SELECT '' AS two, * FROM TEXT_TBL;
two|f1
---+-----------------
|doh!
|hi de ho neighbor
(2 rows)

View File

@ -454,6 +454,7 @@ bt_f8_heap
bt_i4_heap
bt_txt_heap
c_star
char_tbl
check2_tbl
check_seq
check_tbl
@ -503,9 +504,11 @@ stud_emp
student
tenk1
tenk2
text_tbl
timespan_tbl
tinterval_tbl
toyemp
varchar_tbl
xacttest
(65 rows)
(68 rows)