Re: [BUGS] psql history and "-- lines"

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [BUGS] psql history and "-- lines"
Дата
Msg-id CAKFQuwZ8f9smjWr97qFW+scCg+bydiKHHpEO6gs6Pq=DQxWoaA@mail.gmail.com
обсуждение исходный текст
Ответ на [BUGS] psql history and "-- lines"  (Дилян Палаузов<dpa-postgres@aegee.org>)
Ответы Re: [BUGS] psql history and "-- lines"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, May 5, 2017 at 1:52 PM, Дилян Палаузов <dpa-postgres@aegee.org> wrote:
Hello,


when I do
# psql
db=> -- whatever
db=> SELECT * FROM x;

I expect, that who lines enter the history: "-- whaever" and "SELECT * FROM x;". However, when I press the up-arrow, both lines appear.


--single-line does not change this (I wouldn't expect actually).

Could you plexe alter psql, so that it logs two lines in the history for the mentioned case?

It probably should only behave as you suggest in --single-line mode...

David J.

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

Предыдущее
От: Дилян Палаузов
Дата:
Сообщение: [BUGS] psql history and "-- lines"
Следующее
От: Дилян Палаузов
Дата:
Сообщение: [BUGS] Postgresql and Clang Static Analyzer