{"Entry":{"collection":"func","key":"pg-restore-extended-stats","name":"pg_restore_extended_stats","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"19"}],"content_hash":"7df64841de175b5cc5301701a614888529697de12e39dfefd546647d7538c3fc","derived_content_hash":"4abf10643c81fcc5a0bcf1ced08b3ca84168876b88032c127592282c94539f95","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:cf0de3c5cdd4614f3f4b060b98d0bfa1546e64caca737ed0570daa26f7038350","versions":{"19":"19rc2"}},"first_version":"19","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.652514+08:00","last_version":"20","name":"pg_restore_extended_stats","name_key":"pg_restore_extended_stats","position":29093,"present_in":["19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"d90a5922e01f0bfccaddd1f4eddeb5f8cf018a1a03216995846de2cdf74021fd","repair":"wiki-repair-20261023"},"signature":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","signature_count":1,"slug":"pg-restore-extended-stats","source_rev":"wiki-repair-20261023:cf0de3c5cdd4614f3f4b060b98d0bfa1546e64caca737ed0570daa26f7038350","summary":"Creates or updates statistics for statistics objects.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-restore-extended-stats","SourceDatabase":"center","Version":"19","SourceTable":"func","SourceKey":"pg-restore-extended-stats","SourceRevision":"wiki-repair-20261023:cf0de3c5cdd4614f3f4b060b98d0bfa1546e64caca737ed0570daa26f7038350","Facts":{"description":"Creates or updates statistics for statistics objects. 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.","description_html":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, 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 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 VACUUM 或 ANALYZE 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 ANALYZE 还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 还没有运行，它可帮助优化器选择更好的计划。","doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","sha256":"ab3d0d4c1e8dab2f6f5b90a77332b549fa6eb0d9989ac614fb1e548730722b37","slug":"19"},"documentation_revision":{"inputs":[{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"ab3d0d4c1e8dab2f6f5b90a77332b549fa6eb0d9989ac614fb1e548730722b37","version":"19rc2"},{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"ccac5ca186a4e293d3754266dead4b0406e2ab994da4931a70fdc4b774bfed79","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"admin","group_label":"系统管理函数","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Creates or updates statistics for statistics objects. 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.","description_html":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, 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 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 VACUUM 或 ANALYZE 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 ANALYZE 还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 还没有运行，它可帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_extended_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/19/html/functions-admin.html","sha256":"9072b204868db4795fd5e31120f45620702c16459c26b30dbe5b1c5c07ee1286"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"19"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","sha256":"ab3d0d4c1e8dab2f6f5b90a77332b549fa6eb0d9989ac614fb1e548730722b37","slug":"19"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-restore-extended-stats","SourceDatabase":"center","Version":"19","Locale":"en","Title":"pg_restore_extended_stats","Summary":"Creates or updates statistics for statistics objects. 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.","BodyHTML":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\" rel=\"nofollow\"\u003e\u003cspan\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\" rel=\"nofollow\"\u003e\u003cspan\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it\u0026#39;s not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode\u003eANALYZE\u003c/code\u003e has not been run yet.","SourceRevision":"wiki-repair-20261023:cf0de3c5cdd4614f3f4b060b98d0bfa1546e64caca737ed0570daa26f7038350","ContentHash":"82da84c9c50bbc4bcaebbbb0a912aaa4735966920e9ecb710629be0f782f66d1","Payload":{"description":"Creates or updates statistics for statistics objects. 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.","description_html":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, 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 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","signatures":[{"description":"Creates or updates statistics for statistics objects. 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.","description_html":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, 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 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 VACUUM 或 ANALYZE 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 ANALYZE 还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 还没有运行，它可帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_extended_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"19","Ordinal":0,"Hash":"bc59ea7f7004a27a74a55f6373433c76b6eaccadd23f46eea71b42d83bc3bc2a","Text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","Returns":"boolean","Payload":{"description":"Creates or updates statistics for statistics objects. 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.","description_html":"Creates or updates statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, 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 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 VACUUM 或 ANALYZE 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 ANALYZE 还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为 \u003ca href=\"/docs/19/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/19/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此通常不必调用此函数。不过，如果恢复后 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 还没有运行，它可帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_extended_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
