Fix outdated comment of COPY in gram.y.
authorMasahiko Sawada <[email protected]>
Mon, 3 Nov 2025 18:34:49 +0000 (10:34 -0800)
committerMasahiko Sawada <[email protected]>
Mon, 3 Nov 2025 18:34:49 +0000 (10:34 -0800)
Author: ChangAo Chen <cca5507@qq.com>
Discussion: https://postgr.es/m/[email protected]

src/backend/parser/gram.y

index a4b29c822e8fb7346b45c01e28001ae7dcbd7800..a65097f19cf80ec0e47c5073545323bde43c9e19 100644 (file)
@@ -3408,7 +3408,7 @@ ClosePortalStmt:
  *                             COPY ( query ) TO file  [WITH] [(options)]
  *
  *                             where 'query' can be one of:
- *                             { SELECT | UPDATE | INSERT | DELETE }
+ *                             { SELECT | UPDATE | INSERT | DELETE | MERGE }
  *
  *                             and 'file' can be one of:
  *                             { PROGRAM 'command' | STDIN | STDOUT | 'filename' }