Re: psql possible TODO - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: psql possible TODO
Date
Msg-id 20061205214302.GK44124@nasby.net
Whole thread Raw
In response to Re: psql possible TODO  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: psql possible TODO
List pgsql-hackers
On Tue, Dec 05, 2006 at 01:13:04PM -0800, Joshua D. Drake wrote:
> If you mean control-P as in "paste" then I would say... get your hands
> off the mouse. The mouse is counter productive and it is faster to do
> this:
> 
> => \s
> 76 SELECT * FROM Foo;
> => !76

+1. I often find myself having to edit a pasted command just to add in
either explain or explain analyze when I'm doing performance tuning.
Granted, this should be easier in 8.2 with the improved buffer/up-arrow
behavior, but it's still not as handy as doing something like !42.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Double entries in log for page slots in beta3
Next
From: Robert Lor
Date:
Subject: Re: [PATCHES] Dynamic Tracing docs