Re: pg_upgrade and materialized views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade and materialized views
Дата
Msg-id 27849.1519165741@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_upgrade and materialized views  (Andres Freund <andres@anarazel.de>)
Ответы Re: pg_upgrade and materialized views
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> I wonder if there's a scenario in which a schema restore uses enough
> xids to get close to anti-wraparound territory?

Interesting question ... you'd need one heck of a lot of objects in
the cluster, but we've certainly heard of people with lots of objects.

We could stave that problem off by running the restore steps in
--single-transaction mode, if it weren't that pg_restore will reject the
combination of --create and --single-transaction.  I wonder if we should
allow that, specifying that it means that the single transaction starts
after we reconnect to the new DB.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade and materialized views
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: pg_upgrade and materialized views