Fix a couple of outdated comments now that we have MERGE RETURNING
authorDavid Rowley <[email protected]>
Thu, 23 May 2024 03:24:54 +0000 (15:24 +1200)
committerDavid Rowley <[email protected]>
Thu, 23 May 2024 03:24:54 +0000 (15:24 +1200)
This has been supported since c649fa24a.

Discussion: https://postgr.es/m/CAApHDvpqp6vtUzG-_josUEiBGyqnrnVxJ-VdF+hJLXjHdHzsyQ@mail.gmail.com

src/include/nodes/plannodes.h

index e025679f8904ae1386d75dff0b8db5502c335b43..1aeeaec95e14c5622f6170ba8760cf6027274ce6 100644 (file)
@@ -53,9 +53,9 @@ typedef struct PlannedStmt
 
    uint64      queryId;        /* query identifier (copied from Query) */
 
-   bool        hasReturning;   /* is it insert|update|delete RETURNING? */
+   bool        hasReturning;   /* is it insert|update|delete|merge RETURNING? */
 
-   bool        hasModifyingCTE;    /* has insert|update|delete in WITH? */
+   bool        hasModifyingCTE;    /* has insert|update|delete|merge in WITH? */
 
    bool        canSetTag;      /* do I set the command result tag? */