Re: SSL indicator in psql prompt

Поиск
Список
Период
Сортировка
От Shulgin, Oleksandr
Тема Re: SSL indicator in psql prompt
Дата
Msg-id CACACo5TEKcP_bf-u2Xb_-piz6N7LL9kX-YGX5FbTTnCATf5yeQ@mail.gmail.com
обсуждение исходный текст
Ответ на SSL indicator in psql prompt  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Fri, Apr 1, 2016 at 2:52 PM, Peter Eisentraut <peter_e@gmx.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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: pg_xlogdump fails to handle WAL file with multi-page XLP_FIRST_IS_CONTRECORD data
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: [PATCH] Phrase search ported to 9.6