Hi Jonathan,

On 2022-Sep-06, Jonathan S. Katz wrote:

> * [`MERGE`](https://www.postgresql.org/docs/15/sql-merge.html) statements are
> explicitly rejected inside of a
> [common-table 
> expression](https://www.postgresql.org/docs/15/queries-with.html)
> (aka `WITH` query) and
> [`COPY`](https://www.postgresql.org/docs/15/sql-copy.html) statements.

I would say "Avoid crash in MERGE when called inside COPY or a CTE by
throwing an error early", so that it doesn't look like we're removing a
feature.

Thank you for putting this together!

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Those who use electric razors are infidels destined to burn in hell while
we drink from rivers of beer, download free vids and mingle with naked
well shaved babes." (http://slashdot.org/comments.pl?sid=44793&cid=4647152)


Reply via email to