postgres.git / summary / log / commit / refs

commit    4244818f8add2a8ffbc89fcaa03e2871cf270ec0
Author:   Dean Rasheed <dean.a.rasheed@gmail.com>
Date:     Thu Nov 26 09:02:38 2026 +0000

    doc: Remove incorrect sentence from MERGE docs for AND condition.
    
    The MERGE docs for an action's AND condition end with a sentence
    stating that only system attributes from the target table are
    accessible from the expression, which has never been true, so remove
    that sentence.
    
    Backpatch to v15, where MERGE was introduced.
    
    Author: Dean Rasheed <dean.a.rasheed@gmail.com>
    Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
    Discussion: https://postgr.es/m/CAEZATCXcYV3CkR-CYvPs9iGHMCZUNjTxobF3RF4ePAHj%3DmuRmA%40mail.gmail.com#41d8396a367ac225d0225b10ed726518
    Backpatch-through: 15


doc/src/sgml/ref/merge.sgml | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/src/sgml/ref/merge.sgml b/doc/src/sgml/ref/merge.sgml index 765fe7a7d62..663a452f101 100644 --- a/doc/src/sgml/ref/merge.sgml +++ b/doc/src/sgml/ref/merge.sgml @@ -341,7 +341,6 @@ MERGE INTO [ ONLY ] <replaceable class="parameter">target_table_name</replaceabl source row. A condition on a <literal>WHEN NOT MATCHED [BY TARGET]</literal> clause can only refer to columns from the source relation, since by definition there is no matching target row. - Only the system attributes from the target table are accessible. </para> </listitem> </varlistentry> [parent: 9872a0de75b1]