doc: add "DO" to "ON CONFLICT" in CREATE VIEW text
authorBruce Momjian <[email protected]>
Tue, 23 Dec 2025 00:41:52 +0000 (19:41 -0500)
committerBruce Momjian <[email protected]>
Tue, 23 Dec 2025 00:42:11 +0000 (19:42 -0500)
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

index 7b6b750c6de5f9fda191d548e958de832b19de51..f8a4740608a184dd596ce69dc159b54424851095 100644 (file)
@@ -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