Re: assertion in 9.4 with wal_level=logical

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: assertion in 9.4 with wal_level=logical
Дата
Msg-id 20140418150302.GC5822@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: assertion in 9.4 with wal_level=logical  (Andres Freund <andres@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: DISCARD ALL (Again)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: DISCARD ALL (Again)