Re: MultiXact bugs - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: MultiXact bugs
Date
Msg-id 1385762409.39602.YahooMailNeo@web162905.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: MultiXact bugs  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> wrote:

> Looking at predicate.c I think I see a bigger problem though: Isn't its
> usage of HeapTupleSatisfiesVacuum() quite dangerous? It passes
> TransactionXmin to HeapTupleSatisfiesVacuum(). But since that's just the
> transaction's own cutoff, not the global cutoff that will cause wrong
> hint bits to be set. Or am I missing something?

I don't see where that parameter has anything to do with setting
hint bits; it only seems to affect the return code for the caller.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [RFC] overflow checks optimized away
Next
From: Jeffrey Walton
Date:
Subject: Re: fe-secure.c and SSL/TLS