Re: BUG #17279: 'return query update ... returning *' reports syntax error in pg/plsql function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17279: 'return query update ... returning *' reports syntax error in pg/plsql function
Дата
Msg-id 1436769.1636554941@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17279: 'return query update ... returning *' reports syntax error in pg/plsql function  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17280: global-buffer-overflow on select from pg_stat_slru
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum