Re: External psql editor

Поиск
Список
Период
Сортировка
От Steve Litt
Тема Re: External psql editor
Дата
Msg-id 20220503014941.1b2f72d1@mydesk.domain.cxm
обсуждение исходный текст
Ответ на Re: External psql editor  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: External psql editor
Список pgsql-general
Tom Lane said on Mon, 02 May 2022 17:27:15 -0400

>Rich Shepard <rshepard@appl-ecosys.com> writes:
>> On Mon, 2 May 2022, Reid Thompson wrote:  
>>> I believe that psql also uses readline, so my thought was that
>>> maybe these instructions could enable you to map the 'move'
>>> keystrokes that you're familiar with to be used while on the psql
>>> command line. A very quick test seems to indicate that you can.  
>
>> Nope. No difference.  
>
>Perhaps your psql is built against libedit rather than readline.

If this is indeed true, he can give his psql readline capabilities by
installing rlwrap and performing the following command:

rlwrap psql

HTH,

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: UUID vs serial and currval('sequence_id')
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: External psql editor