diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index be315aaabb..826c59ecd9 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -20209,14 +20209,14 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
pg_partition_tree(oid)
setof record
- List information about table in a partition tree for a given
+ List information about tables in partition tree for a given
partitioned table, which consists of one row for each partition and
table itself. Information provided includes the OID of the partition,
- the OID of its immediate parent, if the partition is a leaf and its
- level in the hierarchy. The value of level begins at
- 0 for the input table in its role as the root of
- the partition tree, 1 for its partitions,
- 2 for their partitions, and so on.
+ the OID of its immediate parent, a boolean value telling if the
+ partition is a leaf, and an integer telling its level in the hierarchy.
+ The value of level begins at 0 for the input table
+ in its role as the root of the partition tree, 1 for
+ its partitions, 2 for their partitions, and so on.