Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments - Mailing list pgsql-hackers

From Abel Abraham Camarillo Ojeda
Subject Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments
Date
Msg-id BANLkTik4d_4HQtLZmuD7CsRj_N5B+1uHDw@mail.gmail.com
Whole thread Raw
In response to Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Thanks... and sorry for sending it to hackers list... I had not read the bug
reporting guides... nor the release notes... it seems.

Again, thanks.

On Thu, Jun 9, 2011 at 9:22 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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 consistent
>        with other PLs (Pavel Stehule)
>
>        Previously, PL/pgSQL would ignore (not count) an empty line at
>        the start of the function body. Since this was inconsistent with
>        all other languages, the special case was removed.
>
>                        regards, tom lane
>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Difference in postgres9.0.4 and postgres9.1beta1 when displaying error lines in functions with comments
Next
From: Josh Kupershmidt
Date:
Subject: Re: smallserial / serial2