Re: MultiXact truncation, startup et al.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: MultiXact truncation, startup et al.
Дата
Msg-id 20131130163447.GE31100@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: MultiXact truncation, startup et al.  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 2013-11-30 17:06:31 +0100, Andres Freund wrote:
> On 2013-11-30 10:57:43 -0500, Tom Lane wrote:
> > Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > > Okay, I have pushed all these patches, including the fixes suggested
> > > here and then some.
> >
> > Not sure exactly which patch caused it, but I'm getting a warning
> > in 9.0 through 9.2:
> >
> > multixact.c:1553: warning: no previous prototype for 'TrimMultiXact'
>
> Hm. There's been a mistake during the back-patching of that
> patch. Likely due to the difference in how multixacts work between 9.2
> and 9.3.
> Let me provide a fixup patch.

Attached.

I've tested that pg_multixact gets cleaned up on both primary and a HS
standby, and that things continue work after failover.

Greetings,

Andres Freund

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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Incomplete freezing when truncating a relation during vacuum
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Incomplete freezing when truncating a relation during vacuum