Re: slru.c race condition - Mailing list pgsql-hackers

From Chris Browne
Subject Re: slru.c race condition
Date
Msg-id 603bmg9mvb.fsf@dba2.int.libertyrms.com
Whole thread Raw
In response to Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",  ("Jim Nasby" <jnasby@pervasive.com>)
Responses Re: slru.c race condition  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
jnasby@pervasive.com ("Jim C. Nasby") writes:

> On Tue, Nov 01, 2005 at 11:23:55AM -0300, Alvaro Herrera wrote:
>> Tom Lane wrote:
>> > "Jim C. Nasby" <jnasby@pervasive.com> writes:
>> > > AFAIK they're not using subtransactions at all, but I'll check.
>> > 
>> > Well, yeah, they are ... else you'd never have seen this failure.
>> 
>> Maybe it's in plpgsql EXCEPTION clauses.
>
> Err, I forgot they're using Slony, which is probably using savepoints
> and/or exceptions.

Slony-I does use exceptions in pretty conventional ways; it does *not*
make any use of subtransactions, because it needs to run on PG 7.3 and
7.4 that do not support subtransactions.
-- 
(format nil "~S@~S" "cbbrowne" "acm.org")
http://www3.sympatico.ca/cbbrowne/linuxxian.html
"I can't believe my room doesn't have Ethernet!  Why wasn't it wired
when the house was built?"
"The house was built in 1576." 
-- Alex Kamilewicz on the Oxford breed of `conference American.'


pgsql-hackers by date:

Previous
From: Chris Browne
Date:
Subject: Re: slru.c race condition
Next
From: Devrim GUNDUZ
Date:
Subject: Re: 8.1 Release Candidate 1 Bundled ...