Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments
Дата
Msg-id 6584.1307672533@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments  (Abel Abraham Camarillo Ojeda <acamari@verlet.org>)
Ответы Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments  (Abel Abraham Camarillo Ojeda <acamari@verlet.org>)
Список pgsql-hackers
Abel Abraham Camarillo Ojeda <acamari@verlet.org> writes:
> Postgres 9.0.4 and postgres9.1beta1 give different line of error numbers on
> functions that raise runtime errors (it seems).

This is not a bug.  See the release notes:
Adjust PL/pgSQL's error line numbering code to be consistentwith other PLs (Pavel Stehule)
Previously, PL/pgSQL would ignore (not count) an empty line atthe start of the function body. Since this was
inconsistentwithall other languages, the special case was removed.
 
        regards, tom lane


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

Предыдущее
От: Abel Abraham Camarillo Ojeda
Дата:
Сообщение: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments
Следующее
От: Abel Abraham Camarillo Ojeda
Дата:
Сообщение: Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments