Re: psql and readline

Поиск
Список
Период
Сортировка
Искать
От
Dan Langille
Тема
Re: psql and readline
Дата
Msg-id
3E1D48C2.7271.FFA722A@localhost
Ответ на
Re: psql and readline (Peter Mount)
Список
Дерево обсуждения
psql and readline "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: psql and readline Ian Barwick <barwick@gmx.net>
Re: psql and readline "Alexander M. Pravking" <fduch@antar.bryansk.ru>
Re: psql and readline Ian Barwick <barwick@gmx.net>
Re: psql and readline Tom Lane <tgl@sss.pgh.pa.us>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline "Dan Langille" <dan@langille.org>
Re: psql and readline Peter Mount <peter@retep.org.uk>
Re: psql and readline Robert Treat <xzilla@users.sourceforge.net>
Re: psql and readline "Dan Langille" <dan@langille.org>
Re: psql and readline Justin Clift <justin@postgresql.org>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline Justin Clift <justin@postgresql.org>
Re: psql and readline Rod Taylor <rbt@rbt.ca>
Re: psql and readline Peter Mount <peter@retep.org.uk>
Re: psql and readline Rod Taylor <rbt@rbt.ca>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline Tom Lane <tgl@sss.pgh.pa.us>
Re: psql and readline Justin Clift <justin@postgresql.org>
Re: psql and readline Peter Eisentraut <peter_e@gmx.net>
Re: psql and readline Tom Lane <tgl@sss.pgh.pa.us>
Re: psql and readline Peter Mount <peter@retep.org.uk>
Re: psql and readline "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: psql and readline Eric B.Ridge <ebr@tcdi.com>
Re: psql and readline Peter Eisentraut <peter_e@gmx.net>
Re: psql and readline Peter Eisentraut <peter_e@gmx.net>
Re: psql and readline "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline Patrick Welche <prlw1@newn.cam.ac.uk>
Re: psql and readline Tom Lane <tgl@sss.pgh.pa.us>
Re: psql and readline Patrick Welche <prlw1@newn.cam.ac.uk>
Re: psql and readline Tom Lane <tgl@sss.pgh.pa.us>
Re: psql and readline Peter Mount <peter@retep.org.uk>
Re: psql and readline Bruce Momjian <pgman@candle.pha.pa.us>
Re: psql and readline cbbrowne@cbbrowne.com
Re: psql and readline "Dan Langille" <dan@langille.org>
Re: psql and readline Peter Mount <peter@retep.org.uk>
Re: psql and readline Justin Clift <justin@postgresql.org>
clock sync "John Liu" <johnl@synthesys.com>
Re: clock sync cbbrowne@cbbrowne.com
Re: psql and readline "Dan Langille" <dan@langille.org>
Re: psql and readline Gavin Sherry <swm@linuxworld.com.au>
Re: psql and readline Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: psql and readline Jean-Paul ARGUDO <jean-paul.argudo@wanadoo.fr>
Re: psql and readline Peter Eisentraut <peter_e@gmx.net>
Re: psql and readline "Ross J. Reedstrom" <reedstrm@rice.edu>
resent with my real mail address...

On 9 Jan 2003 at 13:45, Peter Mount wrote:

> On Wed, 8 Jan 2003, Dan Langille wrote:
> 
> > On 8 Jan 2003 at 12:28, Bruce Momjian wrote:
> > 
> > > Tom Lane wrote:
> > > > "Alexander M. Pravking"  writes:
> > > > > On Wed, Jan 08, 2003 at 10:53:51AM +0100, Ian Barwick wrote:
> > > > >> On Wednesday 08 January 2003 07:55, Christopher Kings-Lynne
> > > > >> wrote:
> > > > >>> Is there any way of making the 'up' arrow retrieve all of the
> > > > >>> last multiline query, instead of just the last line?  It's really
> > > > >>> annoying working with large multiline queries at the moment...
> > > > >> 
> > > > >> Not that I know of, but you can use \e to edit the query in your
> > > > >> favourite editor.
> > > > 
> > > > > Sure. But \e puts "\e" into history, instead of the query itself :(
> > > > 
> > > > Hm, so it does.  It seems like the edited query should go into
> > > > history, at least when you execute it.  Peter, is this fixable?
> > > 
> > > Wow, that would be a nifty trick, though they really did type \e and
> > > not the query the pulled in from the editor.
> > 
> > What about those of us who want to use \e repeatedly?  Will that be in
> > the history buffer?
> 
> The number of times I've cursed things over the years, I would have 
> thought having the edited query in the history would be more useful than \e
> - the latter is only three key presses any how ;-)

It is easier to edit things within an editor than within the command line, 
especially if using very long complex statements involving 8 or 9 tables 
and nested/outer JOINS.
-- 
Dan Langille : http://www.langille.org/


В списке pgsql-hackers по дате отправления
От: Justin Clift
Дата:
Сообщение: Re: psql and readline
От: Bruce Momjian
Дата:
Сообщение: Re: psql and readline
FAQ