pg_restore_relation_stats ( VARIADIC kwargs "any" ) → booleanUpdates table-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if
ANALYZE has not been run yet.