git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 961cf5c) | patch
pg_archivecleanup: Refactor loop doing old segment removals
2023年7月19日 03:23:53 +0000 (12:23 +0900)
2023年7月19日 03:23:53 +0000 (12:23 +0900)
commit 4a7556f77c44d295241d2432094b40156f69be1a
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
src/bin/pg_archivecleanup/pg_archivecleanup.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /