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 1iuegL-0002KK-Fi for pgsql-general@arkaria.postgresql.org; Thu, 23 Jan 2020 15:46:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iuegK-00007h-5L for pgsql-general@arkaria.postgresql.org; Thu, 23 Jan 2020 15:46:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iuegI-0008Uz-8x for pgsql-general@lists.postgresql.org; Thu, 23 Jan 2020 15:46:07 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuegD-0003zO-2r for pgsql-general@postgresql.org; Thu, 23 Jan 2020 15:46:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C3C07220F4; Thu, 23 Jan 2020 10:45:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 23 Jan 2020 10:45:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=C 5zIwUhRfyywlhYCK4kcENeNL6cKMCTo7SblHoSa9N4=; b=T1Hl0C1ZY6KYLQ/yI tG8Ee0SfGx/DfHIccC2K2GUGpnW8ZvH7IRzvzPjTgX51seqDslfaGqVJFG3k1iJ0 FlW9HV1iu87cjOannJcNpSmy8Gp2yKBv/LV4wA8zXNiGhrUroLPiwoMw0571/tL9 O5hdGe9dvnRLnszEgxO3pbWLaMRB7xKfx+7bHaQiQtY5CY2Tfz/dSs8QFQjnhTUL gZMKDNjdfpL0m21pNUULhq43uOX3guyNCBaCchJKOiPVpsnVWMGxV/j7jfh/i8cP A3TTK2go6NDfC6lL+zVhgV0hR8PjlTfYbZ2F8w4sLilK6h9zJK5gR4kCC0UNL04Z mHB8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=C5zIwUhRfyywlhYCK4kcENeNL6cKMCTo7SblHoSa9 N4=; b=sJAq7rhAy6BL5ZQBkZV2tUzRkXBOn6aFyoXLPaB6imHKjyG+lS3Y69NNZ 3sXC7LIqYSPLHcgrAAb3xJ8TUVVhf41OxH723onUCYgYKI75SjiY9m0GMdtWYoYa zn3Q2SeUk1U96R6hgjgN8DSKBBvz597SJXMT9IrEblL0qrR8ZnRjHcnF4KAWqLzC 3orHd+YT+a/PDKeKtiF0sUReS/KBFIVYac6gViuHO/PjcS1/B21HbMcCWmt+8w+N 8Wo6cwF+ILWQYykwphZqSW3U5Eq/OCRNt/w+YV8jf5HHvacDQOtcpnHN5J+wsVml vKKDeyoJbRq2i29mKNOX9CwhSKlEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrvddvgdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddruddvledrudelfeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrg hvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id 282EC3280059; Thu, 23 Jan 2020 10:45:59 -0500 (EST) Subject: Re: Clarification of documentation detail for upgrading minor version To: Phil Fisher , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Thu, 23 Jan 2020 07:45:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/23/20 3:28 AM, Phil Fisher wrote: > Hello > > I have a 9.6.6 system that misses some features. It is installed on a > RHEL7 OS. Reading the 9.6 documentation to upgrade I find the > following: > > " > > 18.6. Upgrading a PostgreSQL Cluster > > This section discusses how to upgrade your database data from one > PostgreSQL release to a newer one. > > PostgreSQL major versions are represented by the first two digit > groups of the version number, e.g., 8.4. PostgreSQL minor versions are > represented by the third group of version digits, e.g., 8.4.2 is the > second minor release of 8.4. Minor releases never change the internal > storage format and are always compatible with earlier and later minor > releases of the same major version number, e.g., 8.4.2 is compatible > with 8.4, 8.4.1 and 8.4.6. To update between compatible versions, you > simply replace the executables while the server is down and restart > the server. The data directory remains unchanged — minor upgrades are > that simple." > > Can someone please clarify what actions should be taken for this (see > penultimate sentence)? If I install (yum upgrade for example) then I > believe all updated files will be updated and that does not seem to be > the message in the above. While I can install to a different area > (and since I will be using the PGDG repo it WILL be different) I could Are you currently using the PGDG repos? If so then the files will be installed in the same locations. They will just be the new versions. > do this and manually copy the 'bin' directory. However, I would have > expected to have to copy the 'libs' directory as well and perhaps > others (excluding doc etc.). I will be moving to a 9.6.16 version so > that seems to comply with the restrictions mentioned in the > documentation (and for the avoidance of good people saying use a later > version and do a major upgrade that is not currently > possible/feasible). > > Grateful for any detailed advice on the correct path for the above. > Thanks. > -- Adrian Klaver adrian.klaver@aklaver.com