mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
The option added by commit28972b6fcwas named "restore_stats", because it was calling pg_restore_relation_stats()/pg_restore_attribute_stats() in place of fetching a remote rowsample. However, those code paths have been replaced with calls to import_relation_statistics()/import_attribute_statistics() (cf. commit54cd6fc83), so the option is now slightly misnamed. Switch the option to "import_stats", which more closely reflects both the functions being called internally, and the user's perception of what the operation is doing. Back-patch to v19 where commit28972b6fcwent in. Suggested-by: Etsuro Fujita <etsuro.fujita@gmail.com> Author: Corey Huinker <corey.huinker@gmail.com> Discussion: https://postgr.es/m/CADkLM%3DezuspTk3VD-2EM6XtFP-Dfz7cJKtnbn0cB6gocsAgu1g%40mail.gmail.com Backpatch-through: 19