pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mark Steben <mark.steben@drivedominion.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_upgrade question
Date: Tue, 23 Aug 2016 16:20:07 -0400
Message-ID: <20160823202007.GB3900@momjian.us> (raw)
In-Reply-To: <17180.1470944621@sss.pgh.pa.us>
References: <CADyzmyyEmvDizF0FNw=3gjiYtzJfkGFHBKOPjM-tdkM66g0OuA@mail.gmail.com>
	<17180.1470944621@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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 +


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (3+ messages)

Message-ID: <20160823202007.GB3900@momjian.us>
Permalink:  ../20160823202007.GB3900@momjian.us/
Also on:    postgresql.org/message-id/20160823202007.GB3900@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, mark.steben@drivedominion.com
  Subject: Re: pg_upgrade question
  In-Reply-To: <20160823202007.GB3900@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox