PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> 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)
This is fixed in 14.1, due out tomorrow.
regards, tom lane