Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1efS3A-0007aH-TQ for pgsql-docs@arkaria.postgresql.org; Sat, 27 Jan 2018 15:05:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efS3A-00082M-0o for pgsql-docs@arkaria.postgresql.org; Sat, 27 Jan 2018 15:05:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1efS39-00082C-OP for pgsql-docs@lists.postgresql.org; Sat, 27 Jan 2018 15:05:47 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1efS36-0003cY-Ry for pgsql-docs@postgresql.org; Sat, 27 Jan 2018 15:05:46 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1efS35-0008FB-DO; Sat, 27 Jan 2018 10:05:43 -0500 Date: Sat, 27 Jan 2018 10:05:43 -0500 From: Bruce Momjian To: "David G. Johnston" Cc: Jim Ryan , "pgsql-docs@postgresql.org" Subject: Re: pg_upgrade docs are confusing if PostgreSQL's versioning system/language isn't known to reader Message-ID: <20180127150543.GB30459@momjian.us> References: <20171218213041.25744.8414@wrigleys.postgresql.org> <20180126002618.GA20836@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Fri, Jan 26, 2018 at 11:35:09AM -0700, David G. Johnston wrote: > On Friday, January 26, 2018, Jim Ryan wrote: > > Hey Bruce, > > Thanks for working on this, but wouldn't pg_upgrade be needed from 10.1 to > 10.2?  Aren't those considered major versions, or am I misunderstanding? > > The source of my (and potentially others) confusion is if from 9.1 to 9.2 > is considered a major version change or not.  I think most users would > assume from 9.x to 10.x is a major version change.  The ambiguity is in 9.x > to 9.y.   > > > > Which is why we changed ;) > > Starting with 10 the one and only value after the decimal is a minor version > bug fix release.  The next major version will be 11. > > Of versions beginning with 9 there were 7 major versions - 9.0 to 9.6; the > third position value denoted the minor bug fix release. > > pg-upgrade is only required for upgrading between major versions. > > On our homeoage we list every major release that is currently supported. I decided I needed to be more explicit about the major version numbers so I have added major and minor examples for the 9.6.x series and 10.x series releases. Patch attached. -- 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 + --tThc/1wpZn/ma/RB Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="version.diff" diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml new file mode 100644 index 055eac3..cf4550b *** a/doc/src/sgml/ref/pgupgrade.sgml --- b/doc/src/sgml/ref/pgupgrade.sgml *************** *** 38,46 **** pg_upgrade (formerly called pg_migrator) allows data stored in PostgreSQL data files to be upgraded to a later PostgreSQL major version without the data dump/reload typically required for ! major version upgrades, e.g. from 9.6.3 to the current major release ! of PostgreSQL. It is not required for minor version upgrades, e.g. from ! 9.6.2 to 9.6.3. --- 38,46 ---- pg_upgrade (formerly called pg_migrator) allows data stored in PostgreSQL data files to be upgraded to a later PostgreSQL major version without the data dump/reload typically required for ! major version upgrades, e.g. from 9.5.8 to 9.6.4 or from 10.7 to 11.2. ! It is not required for minor version upgrades, e.g. from 9.6.2 to 9.6.3 ! or from 10.1 to 10.2. --tThc/1wpZn/ma/RB--