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
Branches
Tags
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 ...@@ -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: DROP TABLE temp;
QUERY: CREATE TABLE temp ( QUERY: CREATE TABLE temp (
initial int4 initial int4
) ARCHIVE = light; );
QUERY: ALTER TABLE temp ADD COLUMN a int4; QUERY: ALTER TABLE temp ADD COLUMN a int4;
QUERY: ALTER TABLE temp ADD COLUMN b char16; QUERY: ALTER TABLE temp ADD COLUMN b char16;
QUERY: ALTER TABLE temp ADD COLUMN c text; 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 ...@@ -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"]', '(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}'); '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 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 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) (0 rows)
......
...@@ -180,5 +180,41 @@ tf_12_ff_4|f1|f1 ...@@ -180,5 +180,41 @@ tf_12_ff_4|f1|f1
|t |f |t |f
(16 rows) (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 BOOLTBL1;
QUERY: DROP TABLE BOOLTBL2; QUERY: DROP TABLE BOOLTBL2;
QUERY: SELECT 'c'::char = 'c'::char AS true;
true
----
t
(1 row)
QUERY: CREATE TABLE CHAR_TBL(f1 char); 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 ('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: 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 ('abcdefghijklmnop'); QUERY: INSERT INTO CHAR16_TBL(f1) VALUES ('abcdefghijklmnop');
......
...@@ -4,7 +4,7 @@ QUERY: SELECT relname, relhasindex ...@@ -4,7 +4,7 @@ QUERY: SELECT relname, relhasindex
WHERE relhasindex WHERE relhasindex
ORDER BY relname; ORDER BY relname;
relname |relhasindex relname |relhasindex
-------------+----------- --------------+-----------
bt_c16_heap |t bt_c16_heap |t
bt_f8_heap |t bt_f8_heap |t
bt_i4_heap |t bt_i4_heap |t
...@@ -19,6 +19,7 @@ onek |t ...@@ -19,6 +19,7 @@ onek |t
pg_attrdef |t pg_attrdef |t
pg_attribute |t pg_attribute |t
pg_class |t pg_class |t
pg_description|t
pg_proc |t pg_proc |t
pg_relcheck |t pg_relcheck |t
pg_trigger |t pg_trigger |t
...@@ -27,5 +28,5 @@ road |t ...@@ -27,5 +28,5 @@ road |t
shighway |t shighway |t
tenk1 |t tenk1 |t
tenk2 |t tenk2 |t
(22 rows) (23 rows)
Source diff could not be displayed: it is too large. Options to address this: view the blob.
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; QUERY: SELECT 'this is a text string'::text = 'this is a text string'::text AS true;
true true
---- ----
...@@ -22,3 +10,13 @@ false ...@@ -22,3 +10,13 @@ false
f f
(1 row) (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 ...@@ -454,6 +454,7 @@ bt_f8_heap
bt_i4_heap bt_i4_heap
bt_txt_heap bt_txt_heap
c_star c_star
char_tbl
check2_tbl check2_tbl
check_seq check_seq
check_tbl check_tbl
...@@ -503,9 +504,11 @@ stud_emp ...@@ -503,9 +504,11 @@ stud_emp
student student
tenk1 tenk1
tenk2 tenk2
text_tbl
timespan_tbl timespan_tbl
tinterval_tbl tinterval_tbl
toyemp toyemp
varchar_tbl
xacttest 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