Re: psql possible TODO

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql possible TODO
Date: 2006-12-05 21:43:02
Message-ID: 20061205214302.GK44124@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-12-05 21:55:04 Re: psql possible TODO
Previous Message Tom Lane 2006-12-05 21:37:33 Re: Double entries in log for page slots in beta3