Re: psql command line editing

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: psql command line editing
Дата
Msg-id CANzqJaCHXvZRC6xJbxg80DoWNmm-ohFP+u=VqpsXd6wtqXXpmw@mail.gmail.com
обсуждение исходный текст
Ответ на psql command line editing  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: psql command line editing
Список pgsql-general
On Wed, Feb 12, 2025 at 1:50 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:
My web searches suggest that using the psql command line I'm limited to
moving the cursor one character at a time. Is there a way to use a small
editor, e.g., joe on linux, to move by words or to the begining and end of
the line?

The PGDG prebuilt packages are built with libreadline.  Thus, if that's how you installed psql, Home, End, Ctrl-Left, Ctrl-Right and Ctrl-w should work.
 
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

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