Re: psql and readline

Поиск
Список
Период
Сортировка
От Ian Barwick
Тема Re: psql and readline
Дата
Msg-id 200301081314.58267.barwick@gmx.net
обсуждение исходный текст
Ответ на Re: psql and readline  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
Список pgsql-hackers
On Wednesday 08 January 2003 13:02, Alexander M. Pravking wrote:
> On Wed, Jan 08, 2003 at 10:53:51AM +0100, Ian Barwick wrote:
> > On Wednesday 08 January 2003 07:55, Christopher Kings-Lynne wrote:
> > > Hi,
> > >
> > > 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 :(

Yes, but the query will remain in the psql query buffer until a different
SQL query (i.e. not a slash command) is executed. Until then
you can reedit and / or reexecute the query (with \g) as long as you like.

Ian Barwick
barwick@gmx.net


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Alexander M. Pravking"
Дата:
Сообщение: Re: psql and readline
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: psql and readline