pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Дилян Палаузов <dpa-postgres@aegee.org>
To: pgsql-bugs@postgresql.org
Subject: psql history and "-- lines"
Date: Fri, 5 May 2017 22:52:05 +0200
Message-ID: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
   Дилян


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org>
Permalink:  ../48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org/
Also on:    postgresql.org/message-id/48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: dpa-postgres@aegee.org
  Subject: Re: psql history and "-- lines"
  In-Reply-To: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org>
  References: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox