pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sify21@163.com
Subject: BUG #17279: 'return query update ... returning *' reports syntax error in pg/plsql function
Date: Wed, 10 Nov 2021 12:55:17 +0000
Message-ID: <17279-094b665e10bb29bd@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17279
Logged by:          &#39;return query update ... returning *&#39; reports syntax error
Email address:      sify21@163.com
PostgreSQL version: 14.0
Operating system:   Debian GNU/Linux 10 (buster)
Description:        

In version 13, I can use 'return query update ... returning *;' to append to
the result set of pg/plsql functions, but now in version 14 it reports
syntax error : 'query is not a SELECT'(code 42601)



view thread (2+ messages)  latest in thread

Message-ID: <17279-094b665e10bb29bd@postgresql.org>
Permalink:  ../17279-094b665e10bb29bd@postgresql.org/
Also on:    postgresql.org/message-id/17279-094b665e10bb29bd@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, sify21@163.com
  Subject: Re: BUG #17279: 'return query update ... returning *' reports syntax error in pg/plsql function
  In-Reply-To: <17279-094b665e10bb29bd@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox