postgres.git / summary / log / commit / refs

commit    ea97154fc2f5ff830b1b9a6fc6cf540042c28cbc
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Tue Dec 23 00:41:52 2025 +0000
First released in: 19.0

    doc:  add "DO" to "ON CONFLICT" in CREATE VIEW text
    
    This is done for consistency.
    
    Reported-by: jian he
    
    Author: Laurenz Albe
    
    Discussion: https://postgr.es/m/CACJufxEW1RRDD9ZWGcW_Np_Z9VGPE-YC7u0C6RcsEY8EKiTdBg@mail.gmail.com


doc/src/sgml/ref/create_view.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/ref/create_view.sgml b/doc/src/sgml/ref/create_view.sgml index 7b6b750c6de..f8a4740608a 100644 --- a/doc/src/sgml/ref/create_view.sgml +++ b/doc/src/sgml/ref/create_view.sgml @@ -415,7 +415,7 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello; <command>DELETE</command>, or <command>MERGE</command> statement on the view into the corresponding statement on the underlying base relation. <command>INSERT</command> statements that have an <literal>ON - CONFLICT UPDATE</literal> clause are fully supported. + CONFLICT DO UPDATE</literal> clause are fully supported. </para> <para> @@ -430,7 +430,7 @@ CREATE VIEW vista AS SELECT text 'Hello World' AS hello; an <command>INSERT</command> or <command>MERGE</command> command can potentially insert base-relation rows that do not satisfy the <literal>WHERE</literal> condition and thus are not - visible through the view (<literal>ON CONFLICT UPDATE</literal> may + visible through the view (<literal>ON CONFLICT DO UPDATE</literal> may similarly affect an existing row not visible through the view). The <literal>CHECK OPTION</literal> may be used to prevent <command>INSERT</command>, <command>UPDATE</command>, and [parent: e5f3839af685]