summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-03-04 16:14:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-03-04 16:14:29 -0300
commitb96f6b19487fb9802216311b242c01c27c1938de (patch)
treed6da3e70551cb13fd9a660354aa19a92192f6bb3 /doc/src
parentd12fbe2f8e5daf84b07a61884a8ea5f84d6c5832 (diff)
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 86ff4e5c9e2..6765b0d584c 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -20276,6 +20276,17 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
</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>
<literal><function>pg_partition_root(<type>regclass</type>)</function></literal>
</entry>