RE: [HACKERS] backend freezeing on win32 fixed (I hope ;-) ) - Mailing list pgsql-hackers

From Horak Daniel
Subject RE: [HACKERS] backend freezeing on win32 fixed (I hope ;-) )
Date
Msg-id 2E7F82FAC1FCD2118E1500A024B3BF907DED40@exchange.mmp.plzen-city.cz
Whole thread Raw
Responses Re: [HACKERS] backend freezeing on win32 fixed (I hope ;-) )
List pgsql-hackers
> Horak Daniel <horak@mmp.plzen-city.cz> writes:
> > I have tested my solution a bit more and I have to say that 
> reusing a
> > semaphore by a new backend works OK. But it is not possible 
> for a newly
> > created backend to use a semaphore allocated by postmaster 
> (it freezes on
> > test if the semaphore with given key already exists - done with
> > semId=semget(semKey, 0, 0) in function IpcSemaphoreCreate() in
> > storage/ipc/ipc.c ). Why it is, I don't know, but it seems 
> that my solution
> > uses the ipc library in the right way.
> 
> It seems that you have found a bug in the cygipc library.  I suggest
> reporting it to the author of same...

Or it can be a feature ;-) But before it will be fixed (if it can be fixed)
I would like to see my patch it the sources. It is very simple, without
negative effects... The win32 port will be more stable than it is now. We
still can't consider the win32 port to be run in a production environment.
        Dan


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Query string lengths
Next
From: "Ansley, Michael"
Date:
Subject: RE: [HACKERS] Problem with query length