Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ridcT-000j7U-I0 for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 17:02:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ridcS-00EONS-1Y for pgsql-general@arkaria.postgresql.org; Fri, 08 Mar 2024 17:02:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ridcR-00EONJ-NJ for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 17:02:52 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ridcO-003T3y-Uk for pgsql-general@lists.postgresql.org; Fri, 08 Mar 2024 17:02:51 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 330C111400C5; Fri, 8 Mar 2024 12:02:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 08 Mar 2024 12:02:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709917367; x=1710003767; bh=aHGiQbRvsVs+33JoIuydsYekufWK0KBYE32xYfb6wgQ=; b= gplGByLHVBWG1Cu8B5djEIWWN+dyR0yp1BoC/waLmeD4RLJuP33idOtyo+ftJAcM 0f1LzvqoWaNYzypRBdCL+Pl5flw5UZ+9h7c8e4+d8HYvX0p8BknqBj3AcTNJWkxr GyLxte4mMBqwb/TmKv+hnW8oZ7d++sabXI0m5JslvAyTtAWCynZH3DdGzIk1f2GD +UNrKjM36hmqj//+oIJ9nICVNqvODrcZNfxRPDS3T9dy3oEPr7uEusi65qM+Qyut XLcT8+Y7rQWqIg7MA3CIOE/stW8WgpD+8OG48ix6UfflXa8QYDg9fQO8oTZ/rwRn cAlYhHBhpnRhciwhBUtAig== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709917367; x= 1710003767; bh=aHGiQbRvsVs+33JoIuydsYekufWK0KBYE32xYfb6wgQ=; b=F Zu91i3OZYnpd6ahvJLo5jlaGHAPs0SIjJV6/hmSy/YjaK/YOa3yDhjPI6BTENbw/ kLu/jGNfsVj6og8uT67ZvEEVVV53bE8GjW+1XGVqucasyImWKedc7tOgx2hToSsl 1urDYpqybybe5TqFyKSJBXqgWhc0iqFS+Fia2+vJbiGMue9RRZl7/SZ5Nc9QNRs/ vx6KYp6+u3HGq5py984IHIHaDkQG3c7yLRgykJR/xenzgsB5/kmmj/Z8DQe1pUld 9zOrpW5+EfGWtSY1k/IaelgAUyfcDb1xMYrOcnxhINB2G+UStuHFmLZlZC+XtseB dXr7Ef9bYYZkdLKGRIXOg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieehgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejre dttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeekfeehuddvje eigfeifeejtdduudffledvfeelheeftdeiffeugfdvkeelgedtvdenucffohhmrghinhep phhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtgho mh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Mar 2024 12:02:45 -0500 (EST) Message-ID: <72847831-73d2-4bd6-8a92-43c64e29ec3b@aklaver.com> Date: Fri, 8 Mar 2024 09:02:45 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: update to 16.2 Content-Language: en-US To: Matthias Apitz , pgsql-general@lists.postgresql.org References: From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/8/24 00:53, Matthias Apitz wrote: > > Hello, > > We plan to update our customers on SuSE Linux from 11.4, 13.1, 14.1 and > 15.1 to 16.2. Do I understand the release notes correct that for this > the way is only dump/restore? The release notes say: > > https://www.postgresql.org/docs/release/16.2/ > ... > . > ... > It does not say definitely that for all other versions a dump/restore is > required. In the current versioning scheme(10+) the version is X.x where X is major version and x is minor version. Any time you move from a major to a major version the binaries are not guaranteed to be compatible and you will need to do a dump/restore, pg_upgrade or logical step to move to the new version. A minor to minor upgrade within a major version in general does not require those steps. The 'A dump/restore is not required for those running 16.X' note is there in case there is an instance when a dump/restore is needed in which case it would be changed to '... is required ...' . This is the case in the development releases of a new version(before X.0) where you usually do have to dump/restore, etc between minor version changes. The note is there to remove any ambiguity. > > We could even unload in the databases the ~400 tables to COPY format, > re-create the tables in a new 16.2 server and load the ~400 files (all this > relatively easy per scripts we created to migrate from Sybase and Oracle > to PostgreSQL). But I think, producing the dump with the old version, > setup new cluster and load the dump with the 16.2 sql command will work. > > Any comments? > > matthias > > -- Adrian Klaver adrian.klaver@aklaver.com