mirror of
https://github.com/postgres/postgres.git
synced 2025-12-31 00:03:29 -05:00
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
This commit is contained in:
parent
e5f3839af6
commit
ea97154fc2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user