Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icUi3-0005Z6-Tv for pgsql-general@arkaria.postgresql.org; Wed, 04 Dec 2019 13:28:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icUi2-0007R8-EI for pgsql-general@arkaria.postgresql.org; Wed, 04 Dec 2019 13:28:50 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1icUi2-0007R1-4W for pgsql-general@lists.postgresql.org; Wed, 04 Dec 2019 13:28:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icUhz-0007ej-SB for pgsql-general@lists.postgresql.org; Wed, 04 Dec 2019 13:28:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xB4DSeOG013834; Wed, 4 Dec 2019 08:28:40 -0500 From: Tom Lane To: Stephen Frost cc: Laurenz Albe , Michael Paquier , Julie Nishimura , "pgsql-general@lists.postgresql.org" , pgsql-general Subject: Re: upgrade and migrate In-reply-to: <20191204130830.GF6962@tamriel.snowman.net> References: <20191204044843.GD2381@paquier.xyz> <1f2db9f0757d063bd185caa65b3ecf01e6a3ddcb.camel@cybertec.at> <20191204130830.GF6962@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Wed, 04 Dec 2019 08:08:30 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13832.1575466120.1@sss.pgh.pa.us> Date: Wed, 04 Dec 2019 08:28:40 -0500 Message-ID: <13833.1575466120@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost writes: > * Laurenz Albe (laurenz.albe@cybertec.at) wrote: >> Right, Slony is the way to go, since pg_upgrade doesn't support 8.3. >> I would upgrade to a version more recent than 9.6. > So... there's a bit of history here. pg_upgrade in 9.4 actually does > support upgrading from 8.3.X. Support for upgrading from 8.3 was > removed in 2209b3923a7afe0b6033ecfea972219df252ca8e. Yeah. Also note that 8.3 to 9.6-or-newer is going to be a pretty huge jump in terms of minor compatibility issues (have you read all the relevant release notes?). So there's something to be said for breaking this down into two steps: update to 9.4, test/fix your applications against that, then make a second jump to something current. Each of those jumps could be handled by the respective version of pg_upgrade. I concur with Laurenz's advice that stopping at 9.6 is probably not your best choice for a migration today. regards, tom lane