Re: about EDITOR_LINENUMBER_SWITCH

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-05-24T20:38:52Z
Lists: pgsql-hackers
On Tue, May 24, 2011 at 4:36 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> That's an intriguing possibility.  But part of the point of the
>> original feature was to be able to say:
>>
>> \ef somefunc 10
>>
>> ...and end up on line 10 of somefunc, perhaps in response to an error
>> message complaining about that line.  I don't think your proposal
>> would address that.
>
> Well, you'd write
>
> \ef somefunc +10
>
> instead.

But that would not put you on line 10 of the function.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company