Skip to content

Commit f9f5dfb

Browse files
committed
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.
1 parent bd272ca commit f9f5dfb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/test/regress/expected/errors.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ ERROR: All fields in the UNIQUE ON clause must appear in the target list
1515
QUERY: delete from;
1616
ERROR: parser: parse error at or near ";"
1717
QUERY: delete from nonesuch;
18-
ERROR: nonesuch: Table does not exist.
18+
ERROR: Relation 'nonesuch' does not exist
1919
QUERY: drop table;
2020
ERROR: parser: parse error at or near ";"
2121
QUERY: drop table nonesuch;
2222
ERROR: Relation 'nonesuch' does not exist
2323
QUERY: alter table rename;
2424
ERROR: parser: parse error at or near ";"
2525
QUERY: alter table nonesuch rename to newnonesuch;
26-
ERROR: renamerel: relation "nonesuch" does not exist
26+
ERROR: Relation 'nonesuch' does not exist
2727
QUERY: alter table nonesuch rename to stud_emp;
28-
ERROR: renamerel: relation "nonesuch" does not exist
28+
ERROR: Relation 'nonesuch' does not exist
2929
QUERY: alter table stud_emp rename to pg_stud_emp;
3030
ERROR: renamerel: Illegal class name: "pg_stud_emp" -- pg_ is reserved for system catalogs
3131
QUERY: alter table stud_emp rename to aggtest;
3232
ERROR: renamerel: relation "aggtest" exists
3333
QUERY: alter table stud_emp rename to stud_emp;
3434
ERROR: renamerel: relation "stud_emp" exists
3535
QUERY: alter table nonesuchrel rename column nonesuchatt to newnonesuchatt;
36-
ERROR: renameatt: relation "nonesuchrel" nonexistent
36+
ERROR: Relation 'nonesuchrel' does not exist
3737
QUERY: alter table emp rename column nonesuchatt to newnonesuchatt;
3838
ERROR: renameatt: attribute "nonesuchatt" nonexistent
3939
QUERY: alter table emp rename column salary to manager;

src/test/regress/expected/temp.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ col
2626
QUERY: DROP TABLE temptest;
2727
QUERY: CREATE TEMP TABLE temptest(col int);
2828
QUERY: SELECT * FROM temptest;
29-
ERROR: temptest: Table does not exist.
29+
ERROR: Relation 'temptest' does not exist

0 commit comments

Comments
 (0)