Re: psql and readline comments
От | Andrew Gierth |
---|---|
Тема | Re: psql and readline comments |
Дата | |
Msg-id | 87womsjbpq.fsf@news-spur.riddles.org.uk обсуждение исходный текст |
Ответ на | Re: psql and readline comments (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: psql and readline comments
|
Список | pgsql-bugs |
>>>>> "Bruce" == Bruce Momjian <bruce@momjian.us> writes: Bruce> Agreed. I am not sure how someone would conditionally bind M-# Bruce> to -- _only_ in psql, By doing this in .inputrc: $if psql set comment-begin "--" $endif (observe that we set rl_readline_name in order to allow this) But that shouldn't necessarily stop us doing the setting in psql by default - it just needs to be verified that it does compile against the libedit versions people are actually using, and not break anything. (On the libedit on my system, rl_variable_bind ends up trying to bind the variable as a _key_, and I have no idea what effect that would have if any. Note that libedit does not seem to bind M-# by default.) -- Andrew (irc:RhodiumToad)
В списке pgsql-bugs по дате отправления: