From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: SSL indicator in psql prompt |
Date: | 2016-04-04 17:44:22 |
Message-ID: | CA+TgmoaB4-084rQjHZ7bUwVqkFNSDHtt+X=99HJmfwW9615PvA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Apr 4, 2016 at 12:07 PM, Shulgin, Oleksandr
<oleksandr(dot)shulgin(at)zalando(dot)de> wrote:
> On Apr 4, 2016 17:54, "Robert Haas" <robertmhaas(at)gmail(dot)com> wrote:
>>
>> On Fri, Apr 1, 2016 at 10:15 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> > Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> >> 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.
>> >> Comments?
>> >
>> > -1 on the hard-coded UTF8, even with the encoding check (which I don't
>> > think is terribly trustworthy). How about defining it in a way that
>> > lets/makes the user provide the character(s) to print?
>>
>> I think you have been trolled. Note the date.
>
> Are you trying to say that this feature is in your opinion useless?
Well, what I was trying to say is that I don't think the proposal was
100% serious. However, I also don't think it's particularly useful.
I am not a big fan of cluttering up the psql command line with random
Unicode glyphs. It's easy enough to find out whether you've got an
SSL connection if you want to, with \conninfo. I don't think it needs
to be part of every prompt.
YMMV, of course.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | David Steele | 2016-04-04 17:44:36 | Re: [PROPOSAL] Client Log Output Filtering |
Previous Message | David G. Johnston | 2016-04-04 17:28:39 | Re: raw output from copy |