From 2fd787d0aac1cb00a42ebce92ebb1d7534035ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Herrera?= Date: Thu, 30 Apr 2026 22:57:24 +0200 Subject: [PATCH] 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;