aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-12-23 20:17:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-12-23 20:17:47 +0000
commite8a451562677b1b86bd1e42332aab713907b0436 (patch)
treea2d82c6b2315e474c94a899080619cef522135e2
parentbaee5f75c5ab2dbd8ae0e84c7172ee0021d0996c (diff)
downloadpostgresql-e8a451562677b1b86bd1e42332aab713907b0436.tar.gz
postgresql-e8a451562677b1b86bd1e42332aab713907b0436.zip
alter_table test sometimes failed in parallel mode, because of transient
table name conflict against rangefuncs test.
-rw-r--r--src/test/regress/expected/alter_table.out4
-rw-r--r--src/test/regress/sql/alter_table.sql2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/regress/expected/alter_table.out b/src/test/regress/expected/alter_table.out
index cc50cb86dae..dfdf0601c4f 100644
--- a/src/test/regress/expected/alter_table.out
+++ b/src/test/regress/expected/alter_table.out
@@ -737,8 +737,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 33187c83526..fc6a2b30756 100644
--- a/src/test/regress/sql/alter_table.sql
+++ b/src/test/regress/sql/alter_table.sql
@@ -580,7 +580,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);