Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I understanding. But this functionality is implemented yet. My
> motivation is to design some tool for more easy searching n. row in
> source code (for interpretation error messages) and possibility to see
> this row in some context.
Why is this a good way to attack that? If you think the context already
provided in error messages isn't good enough, seems like the thing to do
is fix the error messages. Nobody is going to want to dump out a
multi-hundred-line function like this in order to identify which
statement is being fingered by an error.
regards, tom lane