Re: [HACKERS] proposal - structured funcid and lineno as new fields in error message

2010-04-25 Thread Jim Nasby
On Mar 29, 2010, at 11:47 AM, Pavel Stehule wrote: > 2010/3/29 Tom Lane : >> Pavel Stehule writes: >>> can we add well structured information about function id and lineno to >>> ErrorData? >> >> The idea that I was toying with was to report the function OID and line >> number, which might as well

Re: [HACKERS] proposal - structured funcid and lineno as new fields in error message

2010-03-29 Thread Pavel Stehule
2010/3/29 Tom Lane : > Pavel Stehule writes: >> can we add well structured information about function id and lineno to >> ErrorData? > > The idea that I was toying with was to report the function OID and line > number, which might as well be two separate fields rather than messing > around with an

Re: [HACKERS] proposal - structured funcid and lineno as new fields in error message

2010-03-29 Thread Tom Lane
Pavel Stehule writes: > can we add well structured information about function id and lineno to > ErrorData? The idea that I was toying with was to report the function OID and line number, which might as well be two separate fields rather than messing around with anything "structured". The OID mi

[HACKERS] proposal - structured funcid and lineno as new fields in error message

2010-03-29 Thread Pavel Stehule
Hello can we add well structured information about function id and lineno to ErrorData? Actually we sending some info - but formated as string and only when Log_error_verbosity >= PGERROR_VERBOSE. I hope, so this feature can help to some interactive GUI managers as pgAdmin, and to psql too. Reg