Re: REPACK: warn about skipping foreign partitions

From: Antonin Houska <ah(at)cybertec(dot)at>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: REPACK: warn about skipping foreign partitions
Date: 2026-08-31 06:40:50
Message-ID: 15593.1788158450@localhost
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> wrote:

> 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.

I don't object to the new warning, however this does not look like REPACK
regression. AFAICS, CLUSTER in v18 behaves in the same way. Please add the
patch to the next CF. Thanks.

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2026-08-31 06:44:42 Re: scary patch contest
Previous Message Michael Paquier 2026-08-31 06:15:33 Re: Internal error codes triggered by regression tests and user queries, take 2