Re: pl/pgsql: END verbosity [patch]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pl/pgsql: END verbosity [patch]
Дата
Msg-id 28606.1120226637@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pl/pgsql: END verbosity [patch]  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> BTW, I notice that some but not all the call sites of ereport(ERROR) in
> PL/PgSQL's gram.y set plpgsql_error_lineno. Is there a reason for this?

Without looking at the code, I think it may be that you only need to set
the variable if you want the error to point someplace different than the
last "lno" nonterminal.

            regards, tom lane

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