Re: BUG #17579: 15beta2: strange error when trying to use MERGE statement as a CTE
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Richard Guo <guofenglinux@gmail.com>, borz_off@cs.msu.su, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2022-08-11T16:27:21Z
Lists: pgsql-bugs
Attachments
- v2-0001-Reject-MERGE-in-CTEs-and-COPY.patch (text/x-diff)
Here's a patch. I kept the location in the CTE bit, because it's better than nothing. No location hint is possible for the COPY one, as far as I can see. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
Commits
-
Reject MERGE in CTEs and COPY
- 92af9143f13d 16.0 landed
- 455d254d2266 15.0 landed