On Fri, May 5, 2017 at 1:52 PM, Дилян Палаузов <dpa-postgres(at)aegee(dot)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.