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

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

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

Reply via email to