]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Mention pg_get_partition_constraintdef()
authorMichael Paquier <michael@paquier.xyz>
Thu, 22 Jan 2026 07:35:40 +0000 (16:35 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 22 Jan 2026 07:35:40 +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.sgml

index 6fd18fd6731c88921ce9233bbfbdc4dabd128dc1..1128763d04da52b60733647fcad0e0dc2f145864 100644 (file)
@@ -26398,6 +26398,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>