postgres.git / summary / log / commit / refs

commit    d58470ff2fbabe81a5fa3f4c9fe98380ee9830c0
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Thu Jan 22 07:35:53 2026 +0000

    doc: Mention pg_get_partition_constraintdef()
    
    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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 1c84756639d..9be4a44162a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -23247,6 +23247,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> [parent: de8081c30e5a]