Skip to content

Commit 3d6313f

Browse files
author
Mikhail Rutman
committed
remove test atx0 from regression tests for multimaster
1 parent b879d10 commit 3d6313f

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

‎expected/regression_ee.diff

+21-1
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,26 @@ diff ../../../src/test/regress/expected/brin.out ../tmp_check/regress_outdir/res
503503
-- vacuum the table, to discard TOAST data
504504
VACUUM brintest_3;
505505
-- retry insert with a different random-looking (but deterministic) value
506+
diff ../../../src/test/regress/expected/privileges.out ../tmp_check/regress_outdir/results/privileges.out
507+
--- ../../../src/test/regress/expected/privileges.out CENSORED
508+
+++ ../tmp_check/regress_outdir/results/privileges.out CENSORED
509+
@@ -1437,11 +1437,16 @@
510+
-- Do the same concurrently
511+
CREATE INDEX CONCURRENTLY sro_idx ON sro_tab ((sro_ifun(a) + sro_ifun(0)))
512+
WHERE sro_ifun(a + 10) > sro_ifun(10);
513+
+ERROR: multimaster doesn't support CREATE INDEX CONCURRENTLY
514+
-- REINDEX
515+
REINDEX TABLE sro_tab;
516+
+NOTICE: table "sro_tab" has no indexes to reindex
517+
REINDEX INDEX sro_idx;
518+
+ERROR: relation "sro_idx" does not exist
519+
REINDEX TABLE CONCURRENTLY sro_tab;
520+
+NOTICE: table "sro_tab" has no indexes that can be reindexed concurrently
521+
DROP INDEX sro_idx;
522+
+ERROR: index "sro_idx" does not exist
523+
-- CLUSTER
524+
CREATE INDEX sro_cluster_idx ON sro_tab ((sro_ifun(a) + sro_ifun(0)));
525+
CLUSTER sro_tab USING sro_cluster_idx;
506526
diff ../../../src/test/regress/expected/rowsecurity.out ../tmp_check/regress_outdir/results/rowsecurity.out
507527
--- ../../../src/test/regress/expected/rowsecurity.out CENSORED
508528
+++ ../tmp_check/regress_outdir/results/rowsecurity.out CENSORED
@@ -597,7 +617,7 @@ diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/resu
597617
commit;
598618
drop function if exists error_function();
599619
drop table if exists atx_tt2;
600-
@@ -1074,6 +1074,7 @@
620+
@@ -1077,6 +1077,7 @@
601621
RESET client_min_messages;
602622
create database regression_atx_test_database;
603623
ALTER DATABASE "regression_atx_test_database" SET lc_messages TO 'C';

‎t/001_regress.pl

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
$schedule =~ s/test: cfs/#test: cfs/g;
9090
$schedule =~ s/test: largeobject//; # serial schedule
9191
$schedule =~ s/largeobject//; # parallel schedule
92+
$schedule =~ s/atx0//; # parallel schedule
9293
unlink('parallel_schedule');
9394
TestLib::append_to_file('parallel_schedule', $schedule);
9495

0 commit comments

Comments
 (0)