{"Entry":{"collection":"func","key":"pg-partition-ancestors","name":"pg_partition_ancestors","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":"503591e243ee9ae0615f703c44b12c93537de1d6382c13b5ff4b54567275425c","first_version":"12","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.592552+08:00","last_version":"20","name":"pg_partition_ancestors","name_key":"pg_partition_ancestors","position":29070,"present_in":["12","13","14","15","16","17","18","19","20"],"signature":"pg_partition_ancestors ( regclass ) → setof regclass","signature_count":1,"slug":"pg-partition-ancestors","source_rev":"b7bd9cda","summary":"Lists the ancestor relations of the given partition, including the relation itself.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-partition-ancestors","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-partition-ancestors","SourceRevision":"b7bd9cda","Facts":{"description":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_html":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-PARTITION","file":"functions-admin.html","slug":"18"},"group":"admin","group_label":"System Administration Functions","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_html":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_partition_ancestors\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof regclass\u003c/code\u003e","returns":"setof regclass","text":"pg_partition_ancestors ( regclass ) → setof regclass","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-PARTITION","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-partition-ancestors","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_partition_ancestors","Summary":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","BodyHTML":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。\u003cpre\u003epg_partition_ancestors ( regclass ) → setof regclass\u003c/pre\u003e列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","SourceRevision":"2026-09-12T08:18:26.491985+00:00@e2a86b52","ContentHash":"9ee6cc3f769d03be8c2ba1f1257e42567f7cb0ce2708586bc3eab5202d31c7b7","Payload":{"description_zh":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","description_zh_html":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","signatures":[{"description_zh":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","description_zh_html":"列出给定分区的祖先关系，包括关系本身。如果关系不存在，或者不是分区或分区表，则不返回行。","returns":"setof regclass","text":"pg_partition_ancestors ( regclass ) → setof regclass","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"d22d5965df73f442925a037ff4842ebfcfcdf5f56159a12435b3a4a9ff9c2f4e","Text":"pg_partition_ancestors ( regclass ) → setof regclass","Returns":"setof regclass","Payload":{"description":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_html":"Lists the ancestor relations of the given partition, including the relation itself. Returns no rows if the relation does not exist or is not a partition or partitioned table.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_partition_ancestors\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof regclass\u003c/code\u003e","returns":"setof regclass","text":"pg_partition_ancestors ( regclass ) → setof regclass","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
