Remove extract_autovac_opts(). extract_autovac_opts() returns a palloc'd copy of just the AutoVacOpts portion of a relation's reloptions, but upcoming work needs the other StdRdOptions fields, too. Remove it in favor of calling extractRelOptions() directly. av_relation now caches the main table's whole StdRdOptions.
Reviewed-by: Michael Paquier <[email protected]> Reviewed-by: Sami Imseih <[email protected]> Tested-by: Greg Burd <[email protected]> Tested-by: solai v <[email protected]> Discussion: https://postgr.es/m/aFRxC1W_kZU9OjJ9%40nathan Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0499c6ccf5ce510ad8c57211ee8c9414e92c71b7 Modified Files -------------- src/backend/postmaster/autovacuum.c | 85 +++++++++++++------------------------ 1 file changed, 29 insertions(+), 56 deletions(-)
