Re: pg_upgrade question

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_upgrade question
Дата
Msg-id 20160823202007.GB3900@momjian.us
обсуждение исходный текст
Ответ на Re: pg_upgrade question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Thu, Aug 11, 2016 at 03:43:41PM -0400, Tom Lane wrote:
> Mark Steben <mark.steben@drivedominion.com> writes:
> > I am hoping to use pg_upgrade with the link option to upgrade from 9.2 to
> > 9.4.
> > There is one set of binaries:
> > However there are *three *sets of data clusters.
> > Is this possible using pg_upgrade?
>
> As far as pg_upgrade is concerned, you'd just run it three times, once per
> data cluster.
>
> If you're trying to use it through some distro-provided wrapper script,
> it's possible that that would be difficult, but the paths you mention
> sound pretty homebrew so I'm guessing that that's not a problem.

Sorry late to reply, but in your case Mark, you would run pg_upgrade
three times, once for each data directory, but use the same binaries
directory each time --- I think that is what you were asking below:

> Mark Steben <mark.steben@drivedominion.com> writes:
> From the documentation it looks like there is a one-to-one correlation
> between the binaries and the data cluster - I don't see a 'multiple'
> option.

--
  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-admin по дате отправления:

Предыдущее
От: Esteban Casuscelli
Дата:
Сообщение: Re: What is the best way to create Primary Key on a large table in Postgresql 9.5?
Следующее
От: Feike Steenbergen
Дата:
Сообщение: Re: What is the best way to create Primary Key on a large table in Postgresql 9.5?