Re: psql possible TODO

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql possible TODO
Date: 2007-02-05 15:49:13
Message-ID: 20070205154913.GC4092@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> Added to TODO:
>
> o Add \# to list command history like \s, but with line numbers
>
> http://archives.postgresql.org/pgsql-hackers/2006-12/msg00255.php

Humm, this is not what we agreed.

> ---------------------------------------------------------------------------
>
> Joshua D. Drake wrote:
> > Hello,
> >
> > O.k. this is my currently thinking:
> >
> > \# will list just like \s except it will include line numbers:
> >
> > 1 SELECT * FROM FOO; (not a tab of course)
> > 2 UPDATE bar SET foo = 6;
> >
> > \# 2 will execute query number 2
> > \#e 2 will open the numbered query in $EDITOR
> >
> > I would love to figure out a way to auto explain these queries without
> > obnoxious syntax. Any ideas?

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Douglas McNaught 2007-02-05 16:00:09 Re: VC2005 build and pthreads
Previous Message Tom Lane 2007-02-05 15:46:28 Re: [pgsql-patches] Phantom Command IDs, updated patch