Re: [HACKERS] More detailed auth info

2011-01-21 Thread Robert Haas
On Fri, Jan 21, 2011 at 11:47 AM, Tom Lane wrote: > Magnus Hagander writes: >> On Fri, Jan 21, 2011 at 16:40, Robert Haas wrote: >>> So... is there centralized structure which contains the info you're >>> thinking of exposing? > >> No, not today. > > I think that most of the info Magnus suggeste

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Tom Lane
Magnus Hagander writes: > On Fri, Jan 21, 2011 at 16:40, Robert Haas wrote: >> So... is there centralized structure which contains the info you're >> thinking of exposing? > No, not today. I think that most of the info Magnus suggested isn't stored at all, anywhere, at the moment; much less sto

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Robert Haas
On Fri, Jan 21, 2011 at 10:43 AM, Magnus Hagander wrote: > On Fri, Jan 21, 2011 at 16:40, Robert Haas wrote: >> On Fri, Jan 21, 2011 at 10:34 AM, Magnus Hagander >> wrote: >>> Um, none of the fields I've suggested so far was "connection string". >>> In fact, that would be Pretty Darn Hard witho

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Magnus Hagander
On Fri, Jan 21, 2011 at 16:40, Robert Haas wrote: > On Fri, Jan 21, 2011 at 10:34 AM, Magnus Hagander wrote: >> Um, none of the fields I've suggested so far was "connection string". >> In fact, that would be Pretty Darn Hard without modifying the client >> to actually *send* the connection string

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Robert Haas
On Fri, Jan 21, 2011 at 10:34 AM, Magnus Hagander wrote: > Um, none of the fields I've suggested so far was "connection string". > In fact, that would be Pretty Darn Hard without modifying the client > to actually *send* the connection string. Which id doesn't. So... is there centralized structur

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Magnus Hagander
On Fri, Jan 21, 2011 at 16:32, Robert Haas wrote: > On Fri, Jan 21, 2011 at 10:14 AM, Magnus Hagander wrote: >> On Fri, Jan 21, 2011 at 15:51, Tom Lane wrote: >>> Magnus Hagander writes: I came across a case this week where I wanted to be able to determine more detailed auth informati

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Robert Haas
On Fri, Jan 21, 2011 at 10:14 AM, Magnus Hagander wrote: > On Fri, Jan 21, 2011 at 15:51, Tom Lane wrote: >> Magnus Hagander writes: >>> I came across a case this week where I wanted to be able to determine >>> more detailed auth information on already logged in sessions - not >>> from the clien

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Magnus Hagander
On Fri, Jan 21, 2011 at 15:51, Tom Lane wrote: > Magnus Hagander writes: >> I came across a case this week where I wanted to be able to determine >> more detailed auth information on already logged in sessions - not >> from the client, but from the server. In this specific case, I wanted >> to ex

Re: [HACKERS] More detailed auth info

2011-01-21 Thread Tom Lane
Magnus Hagander writes: > I came across a case this week where I wanted to be able to determine > more detailed auth information on already logged in sessions - not > from the client, but from the server. In this specific case, I wanted > to examine the "is ssl" flag on the connection. But I can s

[HACKERS] More detailed auth info

2011-01-21 Thread Magnus Hagander
I came across a case this week where I wanted to be able to determine more detailed auth information on already logged in sessions - not from the client, but from the server. In this specific case, I wanted to examine the "is ssl" flag on the connection. But I can see other things being interesting