Skip to content

Commit e8a4515

Browse files
committed
alter_table test sometimes failed in parallel mode, because of transient
table name conflict against rangefuncs test.
1 parent baee5f7 commit e8a4515

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/regress/expected/alter_table.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ drop table def_test;
737737
alter table pg_class drop column relname;
738738
ERROR: permission denied: "pg_class" is a system catalog
739739
-- try altering non-existent table, should fail
740-
alter table foo drop column bar;
741-
ERROR: relation "foo" does not exist
740+
alter table nosuchtable drop column bar;
741+
ERROR: relation "nosuchtable" does not exist
742742
-- test dropping columns
743743
create table atacc1 (a int4 not null, b int4, c int4 not null, d int4);
744744
insert into atacc1 values (1, 2, 3, 4);

src/test/regress/sql/alter_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ drop table def_test;
580580
alter table pg_class drop column relname;
581581

582582
-- try altering non-existent table, should fail
583-
alter table foo drop column bar;
583+
alter table nosuchtable drop column bar;
584584

585585
-- test dropping columns
586586
create table atacc1 (a int4 not null, b int4, c int4 not null, d int4);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy