Hi,
RETURNING is usually tagged with appropriate tags, such as <LITERAL>,
but not in the 'query' section of COPY.
https://www.postgresql.org/docs/devel/sql-copy.html
Would it be better to put <LITERAL> here as well?
--
Regards,
--
Atsushi Torikoshi
NTT DATA Group Corporation