- Notifications
You must be signed in to change notification settings - Fork5k
Commit9c03c8d
committed
vacuumdb: Teach vacuum_one_database() to reuse query results.
Presently, each call to vacuum_one_database() queries the catalogsto retrieve the list of tables to process. A follow-up commit willadd a "missing stats only" feature to --analyze-in-stages, whichrequires saving the catalog query results (since tables withoutstatistics will have them after the first stage). This commit addsa new parameter to vacuum_one_database() that specifies either apreviously-retrieved list or a place to return the catalog queryresults. Note that nothing uses this new parameter yet.Author: Corey Huinker <corey.huinker@gmail.com>Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>Reviewed-by: John Naylor <johncnaylorls@gmail.com>Discussion:https://postgr.es/m/Z5O1bpcwDrMgyrYy%40nathan1 parenta652410 commit9c03c8d
1 file changed
+194
-136
lines changed0 commit comments
Comments
(0)