Re: psql small improvement patch

2019-12-21 Thread Bruce Momjian
On Sat, Dec 21, 2019 at 03:42:21PM -0500, Tom Lane wrote: > Bruce Momjian writes: > > Do we need a C comment to document why no whitespace is allowed > > before it? > > Probably, else we may not remember next time somebody wants to > change it. Done, applied to master only. -- Bruce Momjian

Re: psql small improvement patch

2019-12-21 Thread Tom Lane
Bruce Momjian writes: > Do we need a C comment to document why no whitespace is allowed > before it? Probably, else we may not remember next time somebody wants to change it. regards, tom lane

Re: psql small improvement patch

2019-12-21 Thread Bruce Momjian
On Sat, Dec 7, 2019 at 12:58:12PM -0500, Tom Lane wrote: > "Shinoda, Noriyoshi (PN Japan A&PS Delivery)" > writes: > > 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. > > The attached patch

RE: psql small improvement patch

2019-12-07 Thread Shinoda, Noriyoshi (PN Japan A&PS Delivery)
kers@lists.postgresql.org Subject: Re: psql small improvement patch On 12/7/19 5:23 AM, Shinoda, Noriyoshi (PN Japan A&PS Delivery) wrote: > Hi, Hackers. > > I propose a small improvement to the psql command. > Currently, psql's help/quit/exit command needs to start from the first > p

Re: psql small improvement patch

2019-12-07 Thread Tom Lane
"Shinoda, Noriyoshi (PN Japan A&PS Delivery)" writes: > 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. > The attached patch allows the command to be executed ignoring leading white > spaces.

Re: psql small improvement patch

2019-12-07 Thread Mark Dilger
On 12/7/19 5:23 AM, Shinoda, Noriyoshi (PN Japan A&PS Delivery) wrote: 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 continu