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(-)