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

Lines changed: 21 additions & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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)
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