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

Attachment: psql_ignore_leading_space.patch
Description: psql_ignore_leading_space.patch

Reply via email to