From: Tom Lane Date: Tue, 23 Dec 2003 20:17:55 +0000 (+0000) Subject: alter_table test sometimes failed in parallel mode, because of transient X-Git-Tag: REL7_4_2~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d30c69bc635f5c4709a3e28b07821bbf926b879a;p=postgresql alter_table test sometimes failed in parallel mode, because of transient table name conflict against rangefuncs test. --- diff --git a/src/test/regress/expected/alter_table.out b/src/test/regress/expected/alter_table.out index 61a3965fe5..250f6a77c6 100644 --- a/src/test/regress/expected/alter_table.out +++ b/src/test/regress/expected/alter_table.out @@ -733,8 +733,8 @@ drop table def_test; alter table pg_class drop column relname; ERROR: permission denied: "pg_class" is a system catalog -- try altering non-existent table, should fail -alter table foo drop column bar; -ERROR: relation "foo" does not exist +alter table nosuchtable drop column bar; +ERROR: relation "nosuchtable" does not exist -- test dropping columns create table atacc1 (a int4 not null, b int4, c int4 not null, d int4); insert into atacc1 values (1, 2, 3, 4); diff --git a/src/test/regress/sql/alter_table.sql b/src/test/regress/sql/alter_table.sql index 9bdc8cd1ea..ef91f02b51 100644 --- a/src/test/regress/sql/alter_table.sql +++ b/src/test/regress/sql/alter_table.sql @@ -576,7 +576,7 @@ drop table def_test; alter table pg_class drop column relname; -- try altering non-existent table, should fail -alter table foo drop column bar; +alter table nosuchtable drop column bar; -- test dropping columns create table atacc1 (a int4 not null, b int4, c int4 not null, d int4);