psql history and "-- lines"

From: Дилян Палаузов <dpa-postgres(at)aegee(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: psql history and "-- lines"
Date: 2017-05-05 20:52:05
Message-ID: 48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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?

Regards
Дилян

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-05-05 20:57:40 Re: psql history and "-- lines"
Previous Message Дилян Палаузов 2017-05-05 20:48:32 [PATCH] Refresh documentation for psql