diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-07-19 12:23:53 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-07-19 12:23:53 +0900 |
commit | 4a7556f77c44d295241d2432094b40156f69be1a (patch) | |
tree | 166e55b826baf4f928717460e93928fa144efa07 /src/backend/utils/adt/jsonfuncs.c | |
parent | 961cf5c9055ff5f689a06aafed3346146b3cee43 (diff) | |
download | postgresql-4a7556f77c44d295241d2432094b40156f69be1a.tar.gz postgresql-4a7556f77c44d295241d2432094b40156f69be1a.zip |
pg_archivecleanup: Refactor loop doing old segment removals
This commit refactors a bit the main loop of pg_archivecleanup that
handles the removal of old segments, reducing by one its level of
indentation. This will help an incoming patch that adds a new option
related to the segment filtering logic.
Author: Atsushi Torikoshi
Reviewed-by: Kyotaro Horiguchi, Fujii Masao, Michael Paquier
Discussion: https://postgr.es/m/d660ef741ce3d82f3b4283f1cafd576c@oss.nttdata.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions