From: | Geoff Winkless <pgsqladmin(at)geoff(dot)dj> |
---|---|
To: | Arthur Nascimento <tureba(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: proposal: alternative psql commands quit and exit |
Date: | 2017-12-12 17:00:22 |
Message-ID: | CAEzk6fd7J-acH_KLE0CPKdqwPd4Yfv6vGAtFuXks4SjEng+WHg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 12 December 2017 at 16:36, Arthur Nascimento <tureba(at)gmail(dot)com> wrote:
> Nano keeps a cheatsheet of commands on the bottom; and it's regarded
> as a fairly good editor for newcomers. Some shells have a right-hand
> side status bar.
I quite like this idea, although I would rather a line printed after
each command is run: something like
mydbname=# select ;
--
(1 row)
\h for help, \q for quit, \expert to turn off this message
osprey=#
This has the advantage that it doesn't need curses support, is pretty
simple and actually has the "off" information inline.
When you type \expert you could print a line that says
put \expert in ~/.psqlrc to make this change permanent
or something.
Geoff
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Ivanov | 2017-12-12 17:02:04 | Re: ML-based indexing ("The Case for Learned Index Structures", a paper from Google) |
Previous Message | Everaldo Canuto | 2017-12-12 16:58:12 | Re: proposal: alternative psql commands quit and exit |