Re: sequences and pg_upgrade

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: sequences and pg_upgrade
Дата
Msg-id 20160830152659.GB21961@momjian.us
обсуждение исходный текст
Ответ на sequences and pg_upgrade  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Aug 30, 2016 at 08:46:48AM -0400, Peter Eisentraut wrote:
> I think the other solution mentioned in that thread would also work:
> Have pg_upgrade treat sequences more like system catalogs, whose format
> changes between major releases, and transferred them via the
> dump/restore route.  So instead of copying the disk files, issue a
> setval call, and the sequence should be all set up.
> 
> Am I missing anything?

Looks straight-forward to me.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GIN logging GIN_SEGMENT_UNMODIFIED actions?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pageinspect: Hash index support