MERGE examples not clear

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: dwayne(dot)towell(at)gmail(dot)com
Subject: MERGE examples not clear
Date: 2023-02-21 15:14:17
Message-ID: 167699245721.1902146.6479762301617101634@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/sql-merge.html
Description:

On this page: https://www.postgresql.org/docs/15/sql-merge.html
the first and second examples seems to be contrasted (by "this would be
exactly equivalent to the following statement"), however the difference does
not seem to related to the stated reason ("the MATCHED result does not
change"). It seems like the difference should involve the order of WHEN
clauses?
Of course, it might be that I don't understand the point, in which case
maybe the point could be stated more clearly?

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2023-02-21 15:56:50 Re: MERGE examples not clear
Previous Message Jonathan S. Katz 2023-02-21 14:50:04 Re: February 9th, 2023 Release links to a missing page