Re: \conninfo and SSL

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alastair Turner <bell(at)ctrlf5(dot)co(dot)za>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: \conninfo and SSL
Date: 2012-06-14 13:46:41
Message-ID: CA+TgmobXBSDkf2a4_XMNVso=o5afQo1yxFKGsWTcABmfSKqn=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 3, 2012 at 5:30 AM, Alastair Turner <bell(at)ctrlf5(dot)co(dot)za> wrote:
> A one-line change adds the SSL info on its own line like
>
> ------
> You are connected to database "scratch" as user "scratch" on host
> "127.0.0.1" at port "5432".
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
> ------
>
> Does this need a more integrated presentation, and therefore a broader
> change to make it translatable?

Committed to master. I didn't make it conditional on a non-local
connection, though, since there seemed to be no reason to it that way.

P.S. Email mangles patches. It's better to attach them rather than
including them inline.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2012-06-14 13:50:25 Re: Restrict ALTER FUNCTION CALLED ON NULL INPUT (was Re: Not quite a security hole: CREATE LANGUAGE for non-superusers)
Previous Message Robert Haas 2012-06-14 13:32:10 Re: Ability to listen on two unix sockets