Re: assertion in 9.4 with wal_level=logical - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: assertion in 9.4 with wal_level=logical
Date
Msg-id 20140418150302.GC5822@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: assertion in 9.4 with wal_level=logical  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund wrote:
> On 2014-04-18 11:50:55 -0300, Alvaro Herrera wrote:
> > It's a bit painful that HeapTupleHeaderGetUpdateXid allocates memory,
> > but to fix that we would have to remove all allocations from
> > GetMultiXactIdMembers which doesn't sound feasible.
> 
> I was thinking for a second we could just allocate something during
> startup based on max_connections (+ other possible backends), but I
> think that won't work because of subtransactions?

Yeah, I don't think the number of members in a multixact is bound.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: DISCARD ALL (Again)
Next
From: Tom Lane
Date:
Subject: Re: DISCARD ALL (Again)