Re: assertion in 9.4 with wal_level=logical

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Steve Singer <steve(at)ssinger(dot)info>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: assertion in 9.4 with wal_level=logical
Date: 2014-04-18 14:57:51
Message-ID: 20140418145751.GB1706@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2014-04-18 15:00:23 Re: DISCARD ALL (Again)
Previous Message Andres Freund 2014-04-18 14:51:14 Re: assertion in 9.4 with wal_level=logical