From: David Rowley Date: Thu, 23 May 2024 03:24:54 +0000 (+1200) Subject: Fix a couple of outdated comments now that we have MERGE RETURNING X-Git-Tag: REL_17_BETA2~121 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=8559252095e17c3cf25a28921a6ef8a14e769519;p=postgresql.git Fix a couple of outdated comments now that we have MERGE RETURNING This has been supported since c649fa24a. Discussion: https://postgr.es/m/CAApHDvpqp6vtUzG-_josUEiBGyqnrnVxJ-VdF+hJLXjHdHzsyQ@mail.gmail.com --- diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index e025679f890..1aeeaec95e1 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -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? */