Commit f9f5dfbf authored by Tom Lane's avatar Tom Lane

Update regress test expected outputs for small changes in

error message wording, due to most cases of no-such-relation now being
detected in central heap_open code rather than on an ad-hoc basis.
parent bd272cac
...@@ -15,7 +15,7 @@ ERROR: All fields in the UNIQUE ON clause must appear in the target list ...@@ -15,7 +15,7 @@ ERROR: All fields in the UNIQUE ON clause must appear in the target list
QUERY: delete from; QUERY: delete from;
ERROR: parser: parse error at or near ";" ERROR: parser: parse error at or near ";"
QUERY: delete from nonesuch; QUERY: delete from nonesuch;
ERROR: nonesuch: Table does not exist. ERROR: Relation 'nonesuch' 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;
...@@ -23,9 +23,9 @@ ERROR: Relation 'nonesuch' does not exist ...@@ -23,9 +23,9 @@ 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;
ERROR: renamerel: relation "nonesuch" does not exist ERROR: Relation 'nonesuch' does not exist
QUERY: alter table nonesuch rename to stud_emp; QUERY: alter table nonesuch rename to stud_emp;
ERROR: renamerel: relation "nonesuch" does not exist ERROR: Relation 'nonesuch' does not exist
QUERY: alter table stud_emp rename to pg_stud_emp; QUERY: alter table stud_emp rename to pg_stud_emp;
ERROR: renamerel: Illegal class name: "pg_stud_emp" -- pg_ is reserved for system catalogs ERROR: renamerel: Illegal class name: "pg_stud_emp" -- pg_ is reserved for system catalogs
QUERY: alter table stud_emp rename to aggtest; QUERY: alter table stud_emp rename to aggtest;
...@@ -33,7 +33,7 @@ ERROR: renamerel: relation "aggtest" exists ...@@ -33,7 +33,7 @@ ERROR: renamerel: relation "aggtest" exists
QUERY: alter table stud_emp rename to stud_emp; QUERY: alter table stud_emp rename to stud_emp;
ERROR: renamerel: relation "stud_emp" exists ERROR: renamerel: relation "stud_emp" exists
QUERY: alter table nonesuchrel rename column nonesuchatt to newnonesuchatt; QUERY: alter table nonesuchrel rename column nonesuchatt to newnonesuchatt;
ERROR: renameatt: relation "nonesuchrel" nonexistent ERROR: Relation 'nonesuchrel' does not exist
QUERY: alter table emp rename column nonesuchatt to newnonesuchatt; QUERY: alter table emp rename column nonesuchatt to newnonesuchatt;
ERROR: renameatt: attribute "nonesuchatt" nonexistent ERROR: renameatt: attribute "nonesuchatt" nonexistent
QUERY: alter table emp rename column salary to manager; QUERY: alter table emp rename column salary to manager;
......
...@@ -26,4 +26,4 @@ col ...@@ -26,4 +26,4 @@ col
QUERY: DROP TABLE temptest; QUERY: DROP TABLE temptest;
QUERY: CREATE TEMP TABLE temptest(col int); QUERY: CREATE TEMP TABLE temptest(col int);
QUERY: SELECT * FROM temptest; QUERY: SELECT * FROM temptest;
ERROR: temptest: Table does not exist. ERROR: Relation 'temptest' does not exist
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