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

From Tom Lane
Subject Re: [HACKERS] backend freezeing on win32 fixed (I hope ;-) )
Date
Msg-id 15295.934896110@sss.pgh.pa.us
Whole thread Raw
In response to RE: [HACKERS] backend freezeing on win32 fixed (I hope ;-) )  (Horak Daniel <horak@mmp.plzen-city.cz>)
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...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Natalya S. Makushina"
Date:
Subject: Problem with query length
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Query string lengths