Re: Bogus assertion in multixact.c? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Bogus assertion in multixact.c?
Date
Msg-id Pine.OSF.4.61.0505032154120.347360@kosh.hut.fi
Whole thread Raw
In response to Bogus assertion in multixact.c?  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Never mind. multi is in effect a TransactionId in that code path, and thus 
the assertion makes sense. Sorry for the noise.

On Tue, 3 May 2005, Heikki Linnakangas wrote:

> There's an assertion in multixact.c, MultiXactIdExpand function, line 273:
>
>       Assert(!TransactionIdEquals(multi, xid));
>
> where multi is a MultiXactId and xid is a TransactionId.
>
> Isn't this bogus? If I understand the code correctly, multixactids and 
> regular xids live in completely separate id spaces. Therefore a comparison 
> between them makes no sense.
>
> - Heikki
>

- Heikki


pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: [pgsql-advocacy] Increased company involvement
Next
From: Robert Treat
Date:
Subject: Re: [pgsql-advocacy] Increased company involvement