Re: [HACKERS] Error-message infrastructure: what about location in PL functions?

2003-03-31 Thread Jan Wieck
Tom Lane wrote: > > I thought of something I'd overlooked in my original proposal for error- > handling upgrades: what about reporting where an error occurs in a PL > function? > > Currently, plpgsql has a hack that prints a separate WARNING giving > the error location, but this is pretty darn ug

[HACKERS] Error-message infrastructure: what about location in PL functions?

2003-03-17 Thread Tom Lane
I thought of something I'd overlooked in my original proposal for error- handling upgrades: what about reporting where an error occurs in a PL function? Currently, plpgsql has a hack that prints a separate WARNING giving the error location, but this is pretty darn ugly. It should be part of the e