From: | Everaldo Canuto <everaldo(dot)canuto(at)gmail(dot)com> |
---|---|
To: | fabriziomello(at)gmail(dot)com |
Cc: | David Fetter <david(at)fetter(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Szymon Lipiński <mabewlun(at)gmail(dot)com>, Oliver Ford <ojford(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: proposal: alternative psql commands quit and exit |
Date: | 2017-12-11 13:41:56 |
Message-ID: | CACYgWUmzwHSdhhJ6Gzz-BKZ_hVnd=BgqnJP_gn2gZA-XdwnnrA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello.
On Mon, Dec 11, 2017 at 11:14 AM, Fabrízio de Royes Mello <
fabriziomello(at)gmail(dot)com> wrote:
>
> And what about create some way to create aliases for meta-commands in
> psql? Something like:
>
> \alias quit \q
> \alias exit \q
>
> We also can create a special config variable to enable/disable use of
> aliases:
>
> \set USE_ALIAS on
>
I don't think it will fix the problem, if you don't know how to use "\q",
"\alias exit \q" and "exit" will be even harder.
Remember, it is basically to help newcomers.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-12-11 16:27:30 | Re: Rethinking MemoryContext creation |
Previous Message | Fabrízio de Royes Mello | 2017-12-11 13:14:29 | Re: proposal: alternative psql commands quit and exit |