postgres.git / summary / log / commit / refs

commit    3f2ab3f34da9d4299255a972a1c022a152bbf3f7
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Thu Jan 22 07:35:50 2026 +0000
First released in: 14.21, 15.16, 16.12, 17.8, 18.2

    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 da1d87824d3..25c5d4b90df 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -24307,6 +24307,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: 7600dc79c231]