Re: about EDITOR_LINENUMBER_SWITCH - Mailing list pgsql-hackers

From Robert Haas
Subject Re: about EDITOR_LINENUMBER_SWITCH
Date
Msg-id BANLkTimSFHsvrFjTRyWS_KTzzy9GsdhrKg@mail.gmail.com
Whole thread Raw
In response to Re: about EDITOR_LINENUMBER_SWITCH  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: about EDITOR_LINENUMBER_SWITCH  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: about EDITOR_LINENUMBER_SWITCH
Next
From: Peter Eisentraut
Date:
Subject: Re: minor patch submission: CREATE CAST ... AS EXPLICIT