doc: add LITERAL tag to RETURNING

Started by torikoshiaalmost 3 years ago4 messageshackers
Jump to latest
#1torikoshia
torikoshia@oss.nttdata.com

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
#2Ashutosh Bapat
ashutosh.bapat.oss@gmail.com
In reply to: torikoshia (#1)
Re: doc: add LITERAL tag to RETURNING

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

#3Alvaro Herrera
alvherre@alvh.no-ip.org
In reply to: Ashutosh Bapat (#2)
Re: doc: add LITERAL tag to RETURNING

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)

#4torikoshia
torikoshia@oss.nttdata.com
In reply to: Alvaro Herrera (#3)
Re: doc: add LITERAL tag to RETURNING

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