REPACK: warn about skipping foreign partitions

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: REPACK: warn about skipping foreign partitions
Date: 2026-08-29 21:21:38
Message-ID: CAN4CZFNXFdkmOCnt8m=K_A4i3LQC+59nx59Y=5bsH4vehQHTTw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Repack/cluster errors out when called directly on a foreign table. In
contrast to vacuum, repack/cluster doesn't warn when the table itself
is local but has foreign partitions.

The attached patch adds a similar warning to these commands, making
this skip clearly visible to users.

Attachment Content-Type Size
0001-Warn-when-REPACK-or-CLUSTER-skips-a-foreign-table-pa.patch application/octet-stream 7.2 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-08-29 21:36:14 Re: Offline data checksum changes can cause incorrect checksum state on standbys
Previous Message Kiran Kaki 2026-08-29 20:42:37 Re: REPACK (CONCURRENTLY) fails with wrong error for materialized views