Re: review: psql: edit function, show function commands patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: review: psql: edit function, show function commands patch
Date
Msg-id AANLkTikL3cDG8n38z4SJHHlKJ7IRV8LmMld8-e20OejT@mail.gmail.com
Whole thread Raw
In response to review: psql: edit function, show function commands patch  (Jan Urbański <wulczer@wulczer.org>)
List pgsql-hackers
On Fri, Jul 16, 2010 at 10:29 AM, Jan Urbański <wulczer@wulczer.org> wrote:
> The patch adds the following features:
>  * \e file.txt num  ->  starts a editor for the current query buffer and
> puts the cursor on the [num] line
>  * \ef func num -> starts a editor for a function and puts the cursor on the
> [num] line
>  * \sf func -> shows a full CREATE FUNCTION statement for the function
>  * \sf+ func -> the same, but with line numbers
>  * \sf[+] func num -> the same, but only from line num onward
>
> It only touches psql, so no performance or backend stability worries.
>
> In my humble opinion, only the \sf[+] is interesting, because it gives you a

FWIW, I think this is all pretty useful.

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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql \conninfo command (was: Patch: psql \whoami option)
Next
From: David Christensen
Date:
Subject: Re: Explicit psqlrc