SQL "RETURNING * | output_expression [ [ AS ]" is wrong

2022-03-21 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/sql-update.html Description: https://www.postgresql.org/docs/14/sql-update.html Hi! AFAIK, UPDATE RETURNING works with INTO varname, not AS Documentation says: UPDATE [ WITH [ RECU

Re: SQL "RETURNING * | output_expression [ [ AS ]" is wrong

2022-03-21 Thread Julien Rouhaud
Hi, On Mon, Mar 21, 2022 at 10:09:55AM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Hi! AFAIK, UPDATE RETURNING works with INTO varname, not AS I think you're confusing with plpgsql's INTO [1]. The documented syntax works as ex