From f9f5dfbf10a30cff7255b896277d5e9836f2623b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 18 Sep 1999 19:10:19 +0000 Subject: [PATCH] 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. --- src/test/regress/expected/errors.out | 8 ++++---- src/test/regress/expected/temp.out | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/regress/expected/errors.out b/src/test/regress/expected/errors.out index d94f3e478a..b612022873 100644 --- a/src/test/regress/expected/errors.out +++ b/src/test/regress/expected/errors.out @@ -15,7 +15,7 @@ ERROR: All fields in the UNIQUE ON clause must appear in the target list QUERY: delete from; ERROR: parser: parse error at or near ";" QUERY: delete from nonesuch; -ERROR: nonesuch: Table does not exist. +ERROR: Relation 'nonesuch' does not exist QUERY: drop table; ERROR: parser: parse error at or near ";" QUERY: drop table nonesuch; @@ -23,9 +23,9 @@ ERROR: Relation 'nonesuch' does not exist QUERY: alter table rename; ERROR: parser: parse error at or near ";" 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; -ERROR: renamerel: relation "nonesuch" does not exist +ERROR: Relation 'nonesuch' does not exist QUERY: alter table stud_emp rename to pg_stud_emp; ERROR: renamerel: Illegal class name: "pg_stud_emp" -- pg_ is reserved for system catalogs QUERY: alter table stud_emp rename to aggtest; @@ -33,7 +33,7 @@ ERROR: renamerel: relation "aggtest" exists QUERY: alter table stud_emp rename to stud_emp; ERROR: renamerel: relation "stud_emp" exists 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; ERROR: renameatt: attribute "nonesuchatt" nonexistent QUERY: alter table emp rename column salary to manager; diff --git a/src/test/regress/expected/temp.out b/src/test/regress/expected/temp.out index bdd7f6578b..c00450470b 100644 --- a/src/test/regress/expected/temp.out +++ b/src/test/regress/expected/temp.out @@ -26,4 +26,4 @@ col QUERY: DROP TABLE temptest; QUERY: CREATE TEMP TABLE temptest(col int); QUERY: SELECT * FROM temptest; -ERROR: temptest: Table does not exist. +ERROR: Relation 'temptest' does not exist -- 2.40.0