Re: BUG #17259: RETURN QUERY no longer accepts an UPDATE RETURNING

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jorge(at)jrg(dot)com(dot)br
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17259: RETURN QUERY no longer accepts an UPDATE RETURNING
Date: 2021-10-31 14:38:35
Message-ID: 926373.1635691115@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> In version 14.0 RETURN QUERY with UPDATE RETURNING in a function is
> reporting an error and it works in version 13.4.

Thanks for the report! This was already reported and repaired [1],
so it should be okay in 14.1.

regards, tom lane

[1] https://www.postgresql.org/message-id/1F2F75F0-27DF-406F-848D-8B50C7EEF06A%40gmail.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-10-31 17:07:42 Re: BUG #17254: Crash with 0xC0000409 in pg_stat_statements when pg_stat_tmp\pgss_query_texts.stat exceeded 2GB.
Previous Message Sandeep Thakkar 2021-10-31 07:31:00 Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data