Refactor relation_needs_vacanalyze(). This commit adds an early return to this function, allowing us to remove a level of indentation on a decent chunk of code. This is preparatory work for follow-up commits that will add a new system view to show tables' autovacuum scores.
Reviewed-by: Sami Imseih <[email protected]> Discussion: https://postgr.es/m/CAA5RZ0s4xjMrB-VAnLccC7kY8d0-4806-Lsac-czJsdA1LXtAw%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8261ee24fe332a5042cd4bc3101b4fd99dee6a46 Modified Files -------------- src/backend/postmaster/autovacuum.c | 153 ++++++++++++++++++------------------ 1 file changed, 76 insertions(+), 77 deletions(-)
