Re: SSL indicator in psql prompt - Mailing list pgsql-hackers

From Robert Haas
Subject Re: SSL indicator in psql prompt
Date
Msg-id CA+TgmoaB4-084rQjHZ7bUwVqkFNSDHtt+X=99HJmfwW9615PvA@mail.gmail.com
Whole thread Raw
In response to Re: SSL indicator in psql prompt  ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>)
List pgsql-hackers
On Mon, Apr 4, 2016 at 12:07 PM, Shulgin, Oleksandr
<oleksandr.shulgin@zalando.de> wrote:
> On Apr 4, 2016 17:54, "Robert Haas" <robertmhaas@gmail.com> wrote:
>>
>> On Fri, Apr 1, 2016 at 10:15 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> > Peter Eisentraut <peter_e@gmx.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



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: raw output from copy
Next
From: David Steele
Date:
Subject: Re: [PROPOSAL] Client Log Output Filtering