Re: pg_multixact not getting truncated

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_multixact not getting truncated
Дата
Msg-id 20141119210303.GG1639@alvin.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_multixact not getting truncated  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus wrote:
> On 11/12/2014 06:57 PM, Alvaro Herrera wrote:
> >> How did template0 even get a MultiXact? That sounds like they're really abusing the template databases. :( (Do
keepin mind that MXID 1 is a special value.)
 
> > No, it's normal -- template0 does not have a multixact in any tuple's
> > xmax, but datminxid is set to the value that is current when it is
> > frozen.
> 
> So, to follow up on this: it seems to me that we shouldn't be requiring
> freezing for databases where allowconn=false.  This seems like a TODO to
> me, even possibly a backpatchable bug fix.

Why do we need this for pg_multixact but not for pg_clog?

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



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: pg_multixact not getting truncated
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: pg_multixact not getting truncated