Re: pgsql: psql: initialize comment-begin setting to a useful value by defa

2021-12-02 Thread Tom Lane
Michael Paquier writes: > On Wed, Dec 01, 2021 at 05:24:58PM +, Tom Lane wrote: >> psql: initialize comment-begin setting to a useful value by default. > prairiedog is unhappy after this commit due to the use of > rl_variable_bind(): Meh. Guess we need a configure probe for rl_variable_bind

Re: pgsql: psql: initialize comment-begin setting to a useful value by defa

2021-12-01 Thread Michael Paquier
Hi Tom, On Wed, Dec 01, 2021 at 05:24:58PM +, Tom Lane wrote: > psql: initialize comment-begin setting to a useful value by default. > > Readline's meta-# command is supposed to insert a comment marker > at the start of the current line. However, the default marker is > "#" which is entirely

pgsql: psql: initialize comment-begin setting to a useful value by defa

2021-12-01 Thread Tom Lane
psql: initialize comment-begin setting to a useful value by default. Readline's meta-# command is supposed to insert a comment marker at the start of the current line. However, the default marker is "#" which is entirely unhelpful for SQL. Set it to "-- " instead. (This setting can still be over