From: | "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: SSL indicator in psql prompt |
Date: | 2016-04-01 13:36:08 |
Message-ID: | CACACo5TEKcP_bf-u2Xb_-piz6N7LL9kX-YGX5FbTTnCATf5yeQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Apr 1, 2016 at 2:52 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> I like how browsers show a little lock in the address bar depending on
> whether SSL is in use. This could be useful in psql as well. Here is a
> prototype patch.
>
> Example:
>
> Put this in .psqlrc:
>
> \set PROMPT1 '%s%/%R%# '
>
> $ psql test
> psql (9.6devel)
> Type "help" for help.
>
> 🔒test=#
>
> Without SSL:
>
> 🃏test=#
>
> Comments?
>
Sounds reasonable. What is the meaning of the latter symbol?
--
Alex
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Joseph Krogh | 2016-04-01 13:42:06 | Re: [PATCH] Phrase search ported to 9.6 |
Previous Message | Craig Ringer | 2016-04-01 13:30:12 | Re: pg_xlogdump fails to handle WAL file with multi-page XLP_FIRST_IS_CONTRECORD data |