Neil Conway <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings