Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vwQFW-005rdb-02 for pgsql-docs@arkaria.postgresql.org; Sat, 28 Feb 2026 19:45:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vwQFU-00BPfT-33 for pgsql-docs@arkaria.postgresql.org; Sat, 28 Feb 2026 19:45:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vwFox-00AVLI-0h for pgsql-docs@lists.postgresql.org; Sat, 28 Feb 2026 08:37:07 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vwFot-00000001eXh-1l4V for pgsql-docs@lists.postgresql.org; Sat, 28 Feb 2026 08:37:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=kP2M0LSfj36pa88uNMAA5ICjuU4BMPP+zXAy2S7OfMg=; b=jL98pGN+tUQMIucHArJCPE+8RL xKJOHAYEBA0G6RR54KpheWu2UHrMfa8yEg03n/GiVqHCM1IbhD9YGzrviyoZZkN5LnqhxueZQ9w0d wmBgGPw2ltGGzRuGbTlolmqOnc3XT1zdSBVK3INb2KzdttXAlb613QU5m5f81AAlo/7m+XXraHUf0 QzBRAXD0Ua7lBRWHMd23CunTwfaNhzFrtb6H6cDf0aRf6TYmlsMptOHJLlYOYBDqLkfcv5Hqm/bBp 4rN3fAm8vCZH++qgBuG71c3A5CBq3Llh/6M8XtuRpDSQyK1BX5hhaSqkH/XBzrZjYmCWEGC5ve5vB X2gFvOkw==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vwFou-004lLf-09 for pgsql-docs@lists.postgresql.org; Sat, 28 Feb 2026 08:37:04 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vwFos-00E1mV-38 for pgsql-docs@lists.postgresql.org; Sat, 28 Feb 2026 08:37:02 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Documentation incorrect pg_partition_root function description. To: pgsql-docs@lists.postgresql.org From: PG Doc comments form Cc: udv.mail@gmail.com Reply-To: udv.mail@gmail.com, pgsql-docs@lists.postgresql.org Date: Sat, 28 Feb 2026 08:36:30 +0000 Message-ID: <177226779035.3161255.9286174854079010253@wrigleys.postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 ) =E2=86=92 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