Re: psql possible TODO - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: psql possible TODO
Date
Msg-id 1165356680.31648.70.camel@localhost.localdomain
Whole thread Raw
In response to Re: psql possible TODO  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Tue, 2006-12-05 at 18:55 -0300, Alvaro Herrera wrote:
> Jim C. Nasby wrote:
> > 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.
> 
> Hmm, what is NOT the answer to the ultimate question of Life, the
> Universe and Everything?  Doesn't make much sense to me ...
> 
> +1 on the !<num>, but I agree with Tom that the ! had better be a \
> command (and \! is already taken).

Yeah I am good with changing the !.

Sincerely,

Joshua D. Drake


> 
-- 
     === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997            http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate





pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: psql possible TODO
Next
From: Oleg Bartunov
Date:
Subject: Re: Postgres95 archives in mbox format