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 <[email protected]> Reviewed-by: Bharath Rupireddy <[email protected]> Reviewed-by: ChangAo Chen <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/69fe2514fdd829cc4aebcd084f6f300f60e84f57 Modified Files -------------- src/backend/commands/repack.c | 137 +++++++++++++++++++++++------------------- 1 file changed, 75 insertions(+), 62 deletions(-)
