Re: log ssl mode with connections? - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: log ssl mode with connections?
Date
Msg-id Pine.BSO.4.64.0701301232130.22818@leary2.csoft.net
Whole thread Raw
In response to Re: log ssl mode with connections?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: log ssl mode with connections?
List pgsql-hackers

On Tue, 30 Jan 2007, Andrew Dunstan wrote:

> If I am allowing both SSL and non-SSL I might like to know which is used by a 
> particular connection.
>

Other places I've heard people ask for this info:

1) pg_stat_activity to see who's currently connected and how.

2) Via a function (boolean am_i_using_ssl()) so they can make security 
decisions in views or procedural code.

Kris Jurka



pgsql-hackers by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: SQL to get a table columns comments?
Next
From: Bruce Momjian
Date:
Subject: "May", "can", "might"