Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcICs-0000h7-GU for pgsql-admin@arkaria.postgresql.org; Tue, 23 Aug 2016 20:21:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bcICr-0005KL-Vu for pgsql-admin@arkaria.postgresql.org; Tue, 23 Aug 2016 20:21:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bcIBB-0003MV-5u for pgsql-admin@postgresql.org; Tue, 23 Aug 2016 20:20:13 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bcIB7-0002Y0-Qt for pgsql-admin@postgresql.org; Tue, 23 Aug 2016 20:20:12 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bcIB5-0001qb-Uq; Tue, 23 Aug 2016 16:20:07 -0400 Date: Tue, 23 Aug 2016 16:20:07 -0400 From: Bruce Momjian To: Tom Lane Cc: Mark Steben , pgsql-admin Subject: Re: pg_upgrade question Message-ID: <20160823202007.GB3900@momjian.us> References: <17180.1470944621@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17180.1470944621@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Thu, Aug 11, 2016 at 03:43:41PM -0400, Tom Lane wrote: > Mark Steben 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 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 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