]> granicus.if.org Git - postgresql/commitdiff
Update regress test expected outputs for small changes in
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Sep 1999 19:10:19 +0000 (19:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Sep 1999 19:10:19 +0000 (19:10 +0000)
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
src/test/regress/expected/temp.out

index d94f3e478a874913d927a13ee8bef109ef7a7454..b612022873ccb0fb7448fdf339c9c42f76049894 100644 (file)
@@ -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;
index bdd7f6578ba17688bee275a7854fa5e764b4d93d..c00450470b7197b8b2edad823fd7d23cca3e0a20 100644 (file)
@@ -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