doc: Mention pg_get_partition_constraintdef()
authorMichael Paquier <michael@paquier.xyz>
Thu, 22 Jan 2026 07:35:36 +0000 (16:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 22 Jan 2026 07:35:36 +0000 (16:35 +0900)
All the other SQL functions reconstructing definitions or commands are
listed in the documentation, except this one.

Oversight in 1848b73d4576.

Author: Todd Liebenschutz-Jones <todd.liebenschutz-jones@starlingbank.com>
Discussion: https://postgr.es/m/CAGTRfaD6uRQ9iutASDzc_iDoS25sQTLWgXTtR3ta63uwTxq6bA@mail.gmail.com
Backpatch-through: 14

doc/src/sgml/func/func-info.sgml

index 175f18315cd423e4e8cb720fdf73281275bf075e..294f45e82a3d8568d1231d43aa8cda6d89232f0a 100644 (file)
@@ -1645,6 +1645,21 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
        </para></entry>
       </row>
 
+      <row>
+       <entry role="func_table_entry"><para role="func_signature">
+        <indexterm>
+         <primary>pg_get_partition_constraintdef</primary>
+        </indexterm>
+        <function>pg_get_partition_constraintdef</function> ( <parameter>table</parameter> <type>oid</type> )
+        <returnvalue>text</returnvalue>
+       </para>
+       <para>
+        Reconstructs the definition of a partition constraint.
+        (This is a decompiled reconstruction, not the original text
+        of the command.)
+       </para></entry>
+      </row>
+
       <row>
        <entry role="func_table_entry"><para role="func_signature">
         <indexterm>