Re: ERROR: cannot GetMultiXactIdMembers() during recovery

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ERROR: cannot GetMultiXactIdMembers() during recovery
Дата
Msg-id 20150518204546.GU2523@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: ERROR: cannot GetMultiXactIdMembers() during recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> On 15 May 2015 at 19:03, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> 
> > Andres Freund wrote:
> >
> > > Alternatively we could make MultiXactIdIsRunning() return false < 9.3
> > > when in recovery. I think that'd end up fixing things, but it seems
> > > awfully fragile to me.
> >
> > Hm, why fragile?  It seems a pretty decent answer -- pre-9.3, it's not
> > possible for a tuple to be "locked" in recovery, is it?  I mean, in the
> > standby you can't lock it nor update it; the only thing you can do is
> > read (select), and that is not affected by whether there is a multixact
> > in it.
> 
> It can't return true and won't ever change for <9.3 so I don't see what the
> objection is.

Pushed.

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



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb concatenate operator's semantics seem questionable
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Minor ON CONFLICT related fixes