postgres.git / summary / log / commit / refs
commit 2fd787d0aac1cb00a42ebce92ebb1d7534035ee3
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: Thu Apr 30 20:57:24 2026 +0000
First released in: 19.0
Remove working test that was supposed to fail
I evidently failed to review the expected output in commit 832e220d99af
carefully enough. Per complaint from Tom Lane.
Discussion: https://postgr.es/m/769631.1777575242@sss.pgh.pa.us
src/test/regress/expected/cluster.out | 3 ---
src/test/regress/sql/cluster.sql | 4 ----
2 files changed, 7 deletions(-)
diff --git a/src/test/regress/expected/cluster.out b/src/test/regress/expected/cluster.out
index 8f80f9f752d..0317f2f801e 100644
--- a/src/test/regress/expected/cluster.out
+++ b/src/test/regress/expected/cluster.out
@@ -837,9 +837,6 @@ ALTER TABLE repack_conc_replident REPLICA IDENTITY NOTHING;
REPACK (CONCURRENTLY) repack_conc_replident;
ERROR: cannot repack relation "repack_conc_replident"
HINT: Relation "repack_conc_replident" has insufficient replication identity.
--- Doesn't support tables with REPLICA IDENTITY FULL, even if they have a primary key
-ALTER TABLE repack_conc_replident REPLICA IDENTITY FULL;
-REPACK (CONCURRENTLY) repack_conc_replident;
-- Doesn't support tables without a primary key or replica identity index
ALTER TABLE repack_conc_replident DROP CONSTRAINT repack_conc_replident_pkey;
ALTER TABLE repack_conc_replident REPLICA IDENTITY DEFAULT;
diff --git a/src/test/regress/sql/cluster.sql b/src/test/regress/sql/cluster.sql
index a8cb7ca982d..c2f329ecd1b 100644
--- a/src/test/regress/sql/cluster.sql
+++ b/src/test/regress/sql/cluster.sql
@@ -418,10 +418,6 @@ CREATE TABLE repack_conc_replident (i int PRIMARY KEY);
ALTER TABLE repack_conc_replident REPLICA IDENTITY NOTHING;
REPACK (CONCURRENTLY) repack_conc_replident;
--- Doesn't support tables with REPLICA IDENTITY FULL, even if they have a primary key
-ALTER TABLE repack_conc_replident REPLICA IDENTITY FULL;
-REPACK (CONCURRENTLY) repack_conc_replident;
-
-- Doesn't support tables without a primary key or replica identity index
ALTER TABLE repack_conc_replident DROP CONSTRAINT repack_conc_replident_pkey;
ALTER TABLE repack_conc_replident REPLICA IDENTITY DEFAULT;
[parent: 6cf49e804c9b]