Re: BUG #17272: Incorrect syntax parsed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17272: Incorrect syntax parsed
Дата
Msg-id 412653.1636120165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17272: Incorrect syntax parsed  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Formally, the INTO should always precede the FROM keyword in a SELECT INTO
> statement. ( https://www.postgresql.org/docs/12/sql-selectinto.html )

That is not the appropriate reference for plpgsql's version of
SELECT INTO.  You should be reading

https://www.postgresql.org/docs/12/plpgsql-statements.html#PLPGSQL-STATEMENTS-SQL-ONEROW

which explains plpgsql's rules for where to put INTO.

            regards, tom lane



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

Предыдущее
От: Matthias van de Meent
Дата:
Сообщение: Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune()
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR