Re: pl/pgsql: END verbosity [patch] - Mailing list pgsql-patches

From Tom Lane
Subject Re: pl/pgsql: END verbosity [patch]
Date
Msg-id 28606.1120226637@sss.pgh.pa.us
Whole thread Raw
In response to Re: pl/pgsql: END verbosity [patch]  (Neil Conway <neilc@samurai.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)
Next
From: Andreas Pflug
Date:
Subject: Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)