{"Entry":{"collection":"func","key":"pg-partition-root","name":"pg_partition_root","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"11","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"12"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"0a0b6fac91abf54ec8b2944eda34e5c131d536a288c5d569187173f874b34e59","derived_content_hash":"45c5b5e16418c1a06653810337a04a59904d0a43581920622aff3e5cfb5711db","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:18a3c22c6e87fb0a6c0ad7b44412f0a300b2e41c18b38532526e7d0056f77932","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"12","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.594782+08:00","last_version":"20","name":"pg_partition_root","name_key":"pg_partition_root","position":29071,"present_in":["12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"b996ed043ad88e957dd58bd5648e29bed0b705fbf7eb42c722b6c817e0d15ab7","repair":"wiki-repair-20261023"},"signature":"pg_partition_root ( regclass ) → regclass","signature_count":1,"slug":"pg-partition-root","source_rev":"wiki-repair-20261023:18a3c22c6e87fb0a6c0ad7b44412f0a300b2e41c18b38532526e7d0056f77932","summary":"Returns the top-most parent of the partition tree to which the given relation belongs.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-partition-root","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-partition-root","SourceRevision":"wiki-repair-20261023:18a3c22c6e87fb0a6c0ad7b44412f0a300b2e41c18b38532526e7d0056f77932","Facts":{"description":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","description_html":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","description_zh":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 NULL。","description_zh_html":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","doc":{"anchor":"FUNCTIONS-INFO-PARTITION","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","version":"18.7"},{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"830e894d29fec30b7c350c915fcaed4a63b24d57f2c96150bf25fa07fb43849c","version":"18.7"}],"release":"18.7","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":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","description_html":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","description_zh":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 NULL。","description_zh_html":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_partition_root\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eregclass\u003c/code\u003e","returns":"regclass","text":"pg_partition_root ( regclass ) → regclass","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-admin.html","sha256":"b4fab9daceb7883fd75b32b6eb5398f2bbbfbbed5c83d1b2bf99cc8d842cdaf7"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-PARTITION","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-partition-root","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_partition_root","Summary":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","BodyHTML":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","SourceRevision":"wiki-repair-20261023:18a3c22c6e87fb0a6c0ad7b44412f0a300b2e41c18b38532526e7d0056f77932","ContentHash":"0fcd42b76700eb42048f14e170f15c3971282620f05dad1214daa6b955085751","Payload":{"description":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","description_html":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","signatures":[{"description":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","description_html":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","description_zh":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 NULL。","description_zh_html":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_partition_root\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eregclass\u003c/code\u003e","returns":"regclass","text":"pg_partition_root ( regclass ) → regclass","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"6151029c69e1115c5bcb33bd292583762f0355da035f4c89fc11f89f77fcc829","Text":"pg_partition_root ( regclass ) → regclass","Returns":"regclass","Payload":{"description":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns NULL if the relation does not exist or is not a partition or partitioned table.","description_html":"Returns the top-most parent of the partition tree to which the given relation belongs. Returns \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the relation does not exist or is not a partition or partitioned table.","description_zh":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 NULL。","description_zh_html":"返回给定关系所属的分区树的最顶级父节点。如果关系不存在，或者不是分区或分区表，则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_partition_root\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eregclass\u003c/code\u003e","returns":"regclass","text":"pg_partition_root ( regclass ) → regclass","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
