Skip to content
Snippets Groups Projects
Commit f901971c authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Adjust output to reflect changes in tests.

parent 07c1837f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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;
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');
......
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');
......
......@@ -4,7 +4,7 @@ QUERY: SELECT relname, relhasindex
WHERE relhasindex
ORDER BY relname;
relname |relhasindex
-------------+-----------
--------------+-----------
bt_c16_heap |t
bt_f8_heap |t
bt_i4_heap |t
......@@ -19,6 +19,7 @@ onek |t
pg_attrdef |t
pg_attribute |t
pg_class |t
pg_description|t
pg_proc |t
pg_relcheck |t
pg_trigger |t
......@@ -27,5 +28,5 @@ road |t
shighway |t
tenk1 |t
tenk2 |t
(22 rows)
(23 rows)
This diff is collapsed.
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)
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment