On Tue, Apr 5, 2011 at 12:13 PM, Kevin Grittner
wrote:
> I wrote:
>> Robert Haas wrote:
>>
>>> If you could send a revised patch, that would be great.
>>
>> Attached. I put it in the same spot relative to the lock
>> acquisition that was used earlier in the function.
>
> And version 3 which migh
I wrote:
> Robert Haas wrote:
>
>> If you could send a revised patch, that would be great.
>
> Attached. I put it in the same spot relative to the lock
> acquisition that was used earlier in the function.
And version 3 which might actually work. [sigh]
-Kevin
*** a/src/backend/storage/l
Robert Haas wrote:
> If you could send a revised patch, that would be great.
Attached. I put it in the same spot relative to the lock
acquisition that was used earlier in the function.
-Kevin
*** a/src/backend/storage/lmgr/predicate.c
--- b/src/backend/storage/lmgr/predicate.c
On Tue, Apr 5, 2011 at 11:18 AM, Kevin Grittner
wrote:
> Robert Haas wrote:
>> This patch looks reasonable, but I'm a bit concerned about the
>> chunk immediately preceding the patched area.
>>
>> When we do this:
>>
>> LWLockRelease(SerializableXactHashLock);
>> LWLockRelease(partitionLo
Robert Haas wrote:
> This patch looks reasonable, but I'm a bit concerned about the
> chunk immediately preceding the patched area.
>
> When we do this:
>
> LWLockRelease(SerializableXactHashLock);
> LWLockRelease(partitionLock);
> LWLockRelease(SerializablePredicateLockListLock);
On Sun, Mar 27, 2011 at 3:18 PM, Kevin Grittner
wrote:
> "YAMAMOTO Takashi" wrote:
>
>> Description: SetRWConflict assertion failure
>
>> SerializableXactHashLock relocking in CheckTargetForConflictsIn()
>> seems racy to me.
>
> You're right. The attached patch should fix the assertion you hit.
"YAMAMOTO Takashi" wrote:
> Description: SetRWConflict assertion failure
> SerializableXactHashLock relocking in CheckTargetForConflictsIn()
> seems racy to me.
You're right. The attached patch should fix the assertion you hit.
I will take a close look at the code above the patched area (
The following bug has been logged online:
Bug reference: 5952
Logged by: YAMAMOTO Takashi
Email address: y...@mwd.biglobe.ne.jp
PostgreSQL version: 9.1devel
Operating system: NetBSD
Description:SetRWConflict assertion failure
Details:
i got the following assertion f