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

Update error messages with more consistant format.

parent 4335a377
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ QUERY: ALTER TABLE tmp ADD COLUMN h abstime; ...@@ -10,7 +10,7 @@ QUERY: ALTER TABLE tmp ADD COLUMN h abstime;
QUERY: ALTER TABLE tmp ADD COLUMN i char; QUERY: ALTER TABLE tmp ADD COLUMN i char;
QUERY: ALTER TABLE tmp ADD COLUMN j abstime[]; QUERY: ALTER TABLE tmp ADD COLUMN j abstime[];
QUERY: ALTER TABLE tmp ADD COLUMN k dt; QUERY: ALTER TABLE tmp ADD COLUMN k dt;
ERROR: type name lookup of dt failed ERROR: Unable to locate type name 'dt' in catalog
QUERY: ALTER TABLE tmp ADD COLUMN l tid; QUERY: ALTER TABLE tmp ADD COLUMN l tid;
QUERY: ALTER TABLE tmp ADD COLUMN m xid; QUERY: ALTER TABLE tmp ADD COLUMN m xid;
QUERY: ALTER TABLE tmp ADD COLUMN n oid8; QUERY: ALTER TABLE tmp ADD COLUMN n oid8;
...@@ -33,7 +33,7 @@ QUERY: INSERT INTO tmp (a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t, ...@@ -33,7 +33,7 @@ QUERY: INSERT INTO tmp (a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t,
'1 2 3 4 5 6 7 8', 'magnetic disk', '(1.1,1.1)', '(4.1,4.1,3.1,3.1)', '1 2 3 4 5 6 7 8', 'magnetic disk', '(1.1,1.1)', '(4.1,4.1,3.1,3.1)',
'(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,name', '{1.0,2.0,3.0,4.0}', '{1.0,2.0,3.0,4.0}', '{1,2,3,4}'); '1/3', '1,name', '{1.0,2.0,3.0,4.0}', '{1.0,2.0,3.0,4.0}', '{1,2,3,4}');
ERROR: Relation tmp does not have attribute k ERROR: Relation 'tmp' does not have attribute 'k'
QUERY: SELECT * FROM tmp; QUERY: SELECT * FROM tmp;
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
-------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
...@@ -54,7 +54,7 @@ QUERY: ALTER TABLE tmp ADD COLUMN h abstime; ...@@ -54,7 +54,7 @@ QUERY: ALTER TABLE tmp ADD COLUMN h abstime;
QUERY: ALTER TABLE tmp ADD COLUMN i char; QUERY: ALTER TABLE tmp ADD COLUMN i char;
QUERY: ALTER TABLE tmp ADD COLUMN j abstime[]; QUERY: ALTER TABLE tmp ADD COLUMN j abstime[];
QUERY: ALTER TABLE tmp ADD COLUMN k dt; QUERY: ALTER TABLE tmp ADD COLUMN k dt;
ERROR: type name lookup of dt failed ERROR: Unable to locate type name 'dt' in catalog
QUERY: ALTER TABLE tmp ADD COLUMN l tid; QUERY: ALTER TABLE tmp ADD COLUMN l tid;
QUERY: ALTER TABLE tmp ADD COLUMN m xid; QUERY: ALTER TABLE tmp ADD COLUMN m xid;
QUERY: ALTER TABLE tmp ADD COLUMN n oid8; QUERY: ALTER TABLE tmp ADD COLUMN n oid8;
...@@ -77,7 +77,7 @@ QUERY: INSERT INTO tmp (a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t, ...@@ -77,7 +77,7 @@ QUERY: INSERT INTO tmp (a, b, c, d, e, f, g, h, i, j, k, l, m, n, p, q, r, s, t,
'1 2 3 4 5 6 7 8', 'magnetic disk', '(1.1,1.1)', '(4.1,4.1,3.1,3.1)', '1 2 3 4 5 6 7 8', 'magnetic disk', '(1.1,1.1)', '(4.1,4.1,3.1,3.1)',
'(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,name', '{1.0,2.0,3.0,4.0}', '{1.0,2.0,3.0,4.0}', '{1,2,3,4}'); '1/3', '1,name', '{1.0,2.0,3.0,4.0}', '{1.0,2.0,3.0,4.0}', '{1,2,3,4}');
ERROR: Relation tmp does not have attribute k ERROR: Relation 'tmp' does not have attribute 'k'
QUERY: SELECT * FROM tmp; QUERY: SELECT * FROM tmp;
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
-------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- -------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
......
...@@ -19,7 +19,7 @@ ERROR: nonesuch: Table does not exist. ...@@ -19,7 +19,7 @@ ERROR: nonesuch: Table does not exist.
QUERY: drop table; QUERY: drop table;
ERROR: parser: parse error at or near ";" ERROR: parser: parse error at or near ";"
QUERY: drop table nonesuch; QUERY: drop table nonesuch;
ERROR: Relation nonesuch Does Not Exist! ERROR: Relation 'nonesuch' does not exist
QUERY: alter table rename; QUERY: alter table rename;
ERROR: parser: parse error at or near ";" ERROR: parser: parse error at or near ";"
QUERY: alter table nonesuch rename to newnonesuch; QUERY: alter table nonesuch rename to newnonesuch;
......
QUERY: DROP TABLE INET_TBL; QUERY: DROP TABLE INET_TBL;
ERROR: Relation inet_tbl Does Not Exist! ERROR: Relation 'inet_tbl' does not exist
QUERY: CREATE TABLE INET_TBL (c cidr, i inet); QUERY: CREATE TABLE INET_TBL (c cidr, i inet);
QUERY: INSERT INTO INET_TBL (c, i) VALUES ('192.168.1', '192.168.1.226/24'); QUERY: INSERT INTO INET_TBL (c, i) VALUES ('192.168.1', '192.168.1.226/24');
QUERY: INSERT INTO INET_TBL (c, i) VALUES ('192.168.1.2/24', '192.168.1.226'); QUERY: INSERT INTO INET_TBL (c, i) VALUES ('192.168.1.2/24', '192.168.1.226');
......
...@@ -98,7 +98,7 @@ ERROR: GROUP BY position 3 is not in target list ...@@ -98,7 +98,7 @@ ERROR: GROUP BY position 3 is not in target list
QUERY: SELECT count(*) FROM test_missing_target x, test_missing_target y QUERY: SELECT count(*) FROM test_missing_target x, test_missing_target y
WHERE x.a = y.a WHERE x.a = y.a
GROUP BY b ORDER BY b; GROUP BY b ORDER BY b;
ERROR: Column b is ambiguous ERROR: Column 'b' is ambiguous
QUERY: SELECT a, a FROM test_missing_target QUERY: SELECT a, a FROM test_missing_target
ORDER BY a; ORDER BY a;
a|a a|a
...@@ -236,7 +236,7 @@ count ...@@ -236,7 +236,7 @@ count
QUERY: SELECT count(x.a) FROM test_missing_target x, test_missing_target y QUERY: SELECT count(x.a) FROM test_missing_target x, test_missing_target y
WHERE x.a = y.a WHERE x.a = y.a
GROUP BY b/2 ORDER BY b/2; GROUP BY b/2 ORDER BY b/2;
ERROR: Column b is ambiguous ERROR: Column 'b' is ambiguous
QUERY: SELECT x.b/2, count(x.b) FROM test_missing_target x, test_missing_target y QUERY: SELECT x.b/2, count(x.b) FROM test_missing_target x, test_missing_target y
WHERE x.a = y.a WHERE x.a = y.a
GROUP BY x.b/2; GROUP BY x.b/2;
...@@ -250,7 +250,7 @@ QUERY: SELECT x.b/2, count(x.b) FROM test_missing_target x, test_missing_target ...@@ -250,7 +250,7 @@ QUERY: SELECT x.b/2, count(x.b) FROM test_missing_target x, test_missing_target
QUERY: SELECT count(b) FROM test_missing_target x, test_missing_target y QUERY: SELECT count(b) FROM test_missing_target x, test_missing_target y
WHERE x.a = y.a WHERE x.a = y.a
GROUP BY x.b/2; GROUP BY x.b/2;
ERROR: Column b is ambiguous ERROR: Column 'b' is ambiguous
QUERY: SELECT count(x.b) INTO TABLE test_missing_target3 QUERY: SELECT count(x.b) INTO TABLE test_missing_target3
FROM test_missing_target x, test_missing_target y FROM test_missing_target x, test_missing_target y
WHERE x.a = y.a WHERE x.a = y.a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment