Abel Abraham Camarillo Ojeda <acam...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to