Thread

Commits

  1. Added literal tag for RETURNING

  1. doc: add LITERAL tag to RETURNING

    torikoshia <torikoshia@oss.nttdata.com> — 2024-01-12T05:56:45Z

    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
  2. Re: doc: add LITERAL tag to RETURNING

    Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> — 2024-01-12T06:22:26Z

    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
    
    
    
    
  3. Re: doc: add LITERAL tag to RETURNING

    Alvaro Herrera <alvherre@alvh.no-ip.org> — 2024-01-12T11:56:35Z

    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)
    
    
    
    
  4. Re: doc: add LITERAL tag to RETURNING

    torikoshia <torikoshia@oss.nttdata.com> — 2024-01-15T01:48:51Z

    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