psql small improvement patch

Поиск
Список
Период
Сортировка
От Shinoda, Noriyoshi (PN Japan A&PS Delivery)
Тема psql small improvement patch
Дата
Msg-id DF4PR8401MB044369094C004FD41ADE3CBAEE5E0@DF4PR8401MB0443.NAMPRD84.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: psql small improvement patch  (Mark Dilger <hornschnorter@gmail.com>)
Re: psql small improvement patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi, Hackers.

I propose a small improvement to the psql command.
Currently, psql's help/quit/exit command needs to start from the first position of the prompt.
For example, if you write a command after a space, the continuation prompt
(PROMPT2) is displayed.

---
postgres=> \set PROMPT2 'continue=>'
postgres=> <SPACE>help
continue=>
---

The attached patch allows the command to be executed ignoring leading white spaces.

Regards,
Noriyoshi Shinoda

Вложения

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: verbose cost estimate
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: libpq sslpassword parameter and callback function