Re: Minor fixes for couple some comments around MERGE RETURNING

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2024-05-23T03:25:47Z
Lists: pgsql-hackers
On Sun, 19 May 2024 at 15:20, David Rowley <dgrowleyml@gmail.com> wrote:
>
> I noticed that PlannedStmt.hasReturning and hasModifyingCTE have an
> outdated comment now that MERGE supports RETURNING (per commit
> c649fa24a)
>
> i.e. these two:
>
> > bool hasReturning; /* is it insert|update|delete RETURNING? */
>
> > bool hasModifyingCTE; /* has insert|update|delete in WITH? */

I've pushed the fix for that.

David



Commits

  1. Fix another couple of outdated comments for MERGE RETURNING.

  2. Fix a couple of outdated comments now that we have MERGE RETURNING

  3. Add RETURNING support to MERGE.