doc: add LITERAL tag to RETURNING
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
Attachments:
v1-0001-Added-literal-tag-for-RETURNING.patchtext/x-diff; name=v1-0001-Added-literal-tag-for-RETURNING.patchDownload+4-5
On Fri, Jan 12, 2024 at 11:27 AM torikoshia <torikoshia@oss.nttdata.com> wrote:
Hi,
RETURNING is usually tagged with appropriate tags, such as <LITERAL>,
but not in the 'query' section of COPY.
I have the same observation.
https://www.postgresql.org/docs/devel/sql-copy.html
Would it be better to put <LITERAL> here as well?
The patch looks good.
--
Best Wishes,
Ashutosh Bapat
On 2024-Jan-12, Ashutosh Bapat wrote:
On Fri, Jan 12, 2024 at 11:27 AM torikoshia <torikoshia@oss.nttdata.com> wrote:
RETURNING is usually tagged with appropriate tags, such as <LITERAL>,
but not in the 'query' section of COPY.
The patch looks good.
Good catch, pushed. It has user-visible effect, so I backpatched it.
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"People get annoyed when you try to debug them." (Larry Wall)
On 2024-01-12 20:56, Alvaro Herrera wrote:
On 2024-Jan-12, Ashutosh Bapat wrote:
On Fri, Jan 12, 2024 at 11:27 AM torikoshia
<torikoshia@oss.nttdata.com> wrote:RETURNING is usually tagged with appropriate tags, such as <LITERAL>,
but not in the 'query' section of COPY.The patch looks good.
Good catch, pushed. It has user-visible effect, so I backpatched it.
Thanks for your review and push.
--
Regards,
--
Atsushi Torikoshi
NTT DATA Group Corporation