Re: psql and readline comments

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql and readline comments
Дата
Msg-id 82eab8ea-5d9d-efab-dcc8-d7713d2b0645@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: psql and readline comments  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: psql and readline comments  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
On 14/01/2019 16:59, Alvaro Herrera wrote:
> I agree -- it doesn't make sense to treat the insert-comment command as
> inserting a #, which is not a comment for psql.  I use meta-# often in
> bash and I'm never happy to have to resort to manually prepending "--"
> in psql in order to make the current line a comment instead.

I have found

rl_variable_bind("comment-begin",";");

in the clisp code, so it seems it's not unheard of to do this sort of thing.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: "Jadhav, Manadeep (BHGE)"
Дата:
Сообщение: Issue while non-english character in userid and password
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15598: PostgreSQL Error Code is not reported when connectionterminated due to idle-in-transaction timeout