public inbox for [email protected]
help / color / mirror / Atom feedFrom: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Documentation incorrect pg_partition_root function description.
Date: Sat, 28 Feb 2026 08:36:30 +0000
Message-ID: <[email protected]> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/functions-admin.html
Description:
https://www.postgresql.org/docs/current/functions-admin.html
pg_partition_root ( regclass ) → regclass
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.
"does not exist" is not correct description, if table does not exist, we'll
get an error, not NULL:
EXAMPLE:
SELECT * FROM pg_partition_root( 'nonexisting_table' );
RESULT:
SQL Error [42P01]: ERROR: relation "nonexisting_table" does not exist
Position: 34
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Documentation incorrect pg_partition_root function description.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox