| From: | Magnus Hagander <magnus(at)hagander(dot)net> | 
|---|---|
| To: | Stephen Denne <Stephen(dot)Denne(at)datamail(dot)co(dot)nz> | 
| Cc: | pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: 8.3RC1 on windows missing descriptive Event handle names | 
| Date: | 2008-01-30 20:59:38 | 
| Message-ID: | 47A0E53A.1020504@hagander.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Stephen Denne wrote:
> I said...
>> On Windows XP, using Process Explorer with the lower pane showing
>> Handles, not all postgres.exe processes are including an "Event"
>> type with a description of what the process is doing.
> 
> I've had difficulty reproducing this, but I now suspect that it is
> only happening when running both v8.2 and v8.3rc1 at once, and I
> think it is the second started that is missing the process
> descriptions.
That makes sense, really - I think you nailed it. We create a global 
event, and for those that are "duplicates", it won't show up in the 
second process.
I think the solution to this is to add the process id to the name of the 
event. So instead of:
pgident: postgres: autovacuum launcher process
We'd ahve
pgident(12345): postgres: autovacuum launcher process
Seems reasomable? I'll be able to write up and properly test a patch 
tomorrow.
//Magnus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2008-01-30 21:13:29 | Re: Oops - BF:Mastodon just died | 
| Previous Message | Dann Corbit | 2008-01-30 20:56:45 | Re: Will PostgreSQL get ported to CUDA? |