Re: [PATCHES] log session end - again - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] log session end - again
Date
Msg-id 401EACDD.7040608@dunslane.net
Whole thread Raw
Responses Re: [PATCHES] log session end - again  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
[redirecting to hackers]

If you like. I originally just made it happen if log_connections was 
set, but Neil wanted a separate setting for it. What is the consensus 
about a name?

cheers

andrew

Peter Eisentraut wrote:

>Andrew Dunstan wrote:
>  
>
>>This patch brings up to date what I did last year (now unfortunately
>>bitrotted) to allow the logging of the end of a session, enabled by
>>the config setting "log_session_end - true". It produces lines like
>>these:
>>    
>>
>
>If we log "session" end, shouldn't we also log "session" start, rather 
>than "connection" start?  It seems there should be some symmetry here, 
>also for the configuration parameter names.
>
>  
>



pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: pg_stat_activity
Next
From: "Steve Tibbett"
Date:
Subject: Re: [pgsql-hackers-win32] What's left?