mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
pg_partition_ancestors
Adds another introspection feature for partitioning, necessary for further psql patches. Reviewed-by: Michaël Paquier Discussion: https://postgr.es/m/20190226222757.GA31622@alvherre.pgsql
This commit is contained in:
@ -20274,6 +20274,17 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
|
||||
their partitions, and so on.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<indexterm><primary>pg_partition_ancestors</primary></indexterm>
|
||||
<literal><function>pg_partition_ancestors(<type>regclass</type>)</function></literal>
|
||||
</entry>
|
||||
<entry><type>setof regclass</type></entry>
|
||||
<entry>
|
||||
List the ancestor relations of the given partition,
|
||||
including the partition itself.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<indexterm><primary>pg_partition_root</primary></indexterm>
|
||||
|
Reference in New Issue
Block a user