| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> | 
|---|---|
| To: | |
| Cc: | pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: [PATCHES] log session end - again | 
| Date: | 2004-02-05 14:34:33 | 
| Message-ID: | 40225479.2040305@dunslane.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches | 
Bruce Momjian wrote:
>Tom Lane wrote:
>  
>
>>Larry's idea about combining PID and backend start time didn't sound too
>>unreasonable to me.
>>    
>>
>
>Wow, like the idea too --- pid plus time_t start time of backend. 
>Actully, it would be good to have star time first so you can sort
>everything in order of start time.
>  
>
Yes. Of course, you would need either to sort additionally on log 
timestamp or use an order-preserving sort.
Based on Larry's idea, I had in mind to provide a third escape in the 
log_line_info string (in addition to the %U and %D that I had previously 
done) of %S for sessionid, which would look something like this: 
402251fc.713f
I will start redoing this feature when the log_disconnections patch is 
dealt with.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-02-05 14:34:44 | Re: PITR Dead horse? | 
| Previous Message | Rod Taylor | 2004-02-05 14:12:59 | Re: PITR Dead horse? | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mark Gibson | 2004-02-05 14:46:57 | dblink - custom datatypes don't work | 
| Previous Message | Jan Wieck | 2004-02-05 14:05:53 | Vacuum Delay feature |