Re: Bogus assertion in multixact.c?

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bogus assertion in multixact.c?
Date: 2005-05-03 18:55:15
Message-ID: Pine.OSF.4.61.0505032154120.347360@kosh.hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-05-03 18:58:10 Re: [pgsql-advocacy] Increased company involvement
Previous Message Stephen Frost 2005-05-03 18:55:11 Re: [pgsql-advocacy] Increased company involvement