Re: psql possible TODO

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, 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 22:11:20
Message-ID: 1165356680.31648.70.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2006-12-05 22:15:07 Re: Postgres95 archives in mbox format
Previous Message Joshua D. Drake 2006-12-05 22:10:44 Re: psql possible TODO