agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move code to get_tables_to_repack_partitioned
Date: Mon, 20 Jul 2026 10:13:47 +0000
Message-ID: <E1wll0N-000000000po-2D0V@gemulon.postgresql.org> (raw)

Move code to get_tables_to_repack_partitioned

Some of its code was pointlessly in its caller.  This makes it better
contained and clearer.

Backpatch to 19, to avoid having two different copies in case we have to
modify it again later.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: ChangAo Chen <cca5507@qq.com>
Discussion: https://postgr.es/m/alD9l-XlCuu3eUEe@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad6ae52c49ac07b6ae2f8017b63ebd757b815d8f

Modified Files
--------------
src/backend/commands/repack.c | 137 +++++++++++++++++++++++-------------------
1 file changed, 75 insertions(+), 62 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1wll0N-000000000po-2D0V@gemulon.postgresql.org>
Permalink:  ../E1wll0N-000000000po-2D0V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wll0N-000000000po-2D0V@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move code to get_tables_to_repack_partitioned
  In-Reply-To: <E1wll0N-000000000po-2D0V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox