Re: SSL indicator in psql prompt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 14:15:45
Message-ID: 11379.1459520145@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-04-01 14:24:13 Re: [PATCH] Phrase search ported to 9.6
Previous Message Stas Kelvich 2016-04-01 13:53:28 Re: Speedup twophase transactions