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 1riGQ4-00G3jb-UK for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2024 16:16:33 +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 1riGQ3-006aBz-Fe for pgsql-general@arkaria.postgresql.org; Thu, 07 Mar 2024 16:16:31 +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 1riGQ1-006aBq-Dh for pgsql-general@lists.postgresql.org; Thu, 07 Mar 2024 16:16:31 +0000 Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1riGPx-003HtC-Gf for pgsql-general@postgresql.org; Thu, 07 Mar 2024 16:16:29 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.west.internal (Postfix) with ESMTP id D38651800081; Thu, 7 Mar 2024 11:16:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 07 Mar 2024 11:16:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=1709828181; x=1709914581; bh=OwK4Jw43xwxgo4IRCSxwcGNoHv8zfo0sgAZd1DgZXFI=; b= L4Jo8PLzPjZ9FLcHOs5I3/SdN4caeMqg4SGDO0DpaTTbaky1pVuKoB8FRHq1vv8W vu6XOGMCGLceeP/FEdB8irdG1uaa7hpx/XYfSL3cF9rEej4YgSs72ow6VzjgTUbO S+IkfrssLfKC3evElwbVZ6c5kBE7lss8JBaYsWKOWt+Rb8VoT7XDWB3CNo8v/seF zRdifNBOpaeRRbeq6SnCn+TbLjWQ3ufjA6dx70QgKu61Q8qTM3rvAQ5+3uWZ+bW8 fINpmw2mDHwoegXzm5b0tR8HqgUmzdqsyy1EHeMdSyv+tzaWgm+O+1gdVqXusDWH 6OWubKWcRIoad0R1kO3rLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1709828181; x= 1709914581; bh=OwK4Jw43xwxgo4IRCSxwcGNoHv8zfo0sgAZd1DgZXFI=; b=Q B2vlYp4XjGQ1ns8j/Bx2CEnP5D0FuECF1HMAtRFvg+P82wEfWa1synZFhNMUeq3p VCMWfIkS755YYer2qPREwrmQd8LBLTpYyqgS/SBXjv+aY8n1wzyvXvp5DoiHLMOD gxXLH5MXEw1Thx+a4G7SSUqmUDVyzlRpcSxsmj7Gsw/6M0cKawMgAVBlJrNyvJFH 4xI9iQxDyvhWlm2sa0A3F6l8qhV0JphAVyN6Fc/oUuTjzCgln0QUeO6iv6ttVk/d SlwOCU77L/7Rc1XreRSNPI3tZHIL/QwW+Nk6Y1djm6bIqH2EQNre9hATFwftuJBF HB1v7CSuDFsPhur4KWTdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrieefgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhevhfgjtgfgsehtke ertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepueekhefhhf fhfeehvddvueegueejvdejkeeffeegleefiedvteejtdefveektdehnecuffhomhgrihhn pehpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgt ohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Mar 2024 11:16:20 -0500 (EST) Message-ID: <32e9a9a2-b7c4-4da3-95e3-d346e734833c@aklaver.com> Date: Thu, 7 Mar 2024 08:16:19 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: v11.5- v15.3 upgrade (linux) To: David Gauthier References: Content-Language: en-US Cc: pgsql-general From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/7/24 07:47, David Gauthier wrote: Please reply to list also. Ccing list > >>I would definitely read the release notes for 12.0, 13.0, 14.0 and 15.0. > Check !  None of the breaking changes affect me. > > >>How are and from where are you installing the Postgres package(s)? > IT does the installs.  I'd have to check with them. > What would you recommend ? (again, linux installs) I would use the packaging system for whatever Linux distro you are on. In particular, if available, the community repos from here: https://www.postgresql.org/download/ They generally offer more choice of Postgres versions for a given distro version. > > >>.The would be plan 2 if installing  the plperlu package is not possible > We do not want or need plperlu on the 15.3 DB Then you can skip installing that package, assuming you have cleared out all references to plperlu in the 11 instance. > > >> I would backup the 11.5 instance... > Absolutely.  In fact, IT was planning on doing an 11.5 backup and > restore on 15.3.  Unsure if restoring an 11.5 into a 15.3 is a wise > approach.  Any thoughts on that? According to item below that was already tested and worked. Is that correct? > > >>The above is going to depend on the size of the database > Relative to what PG can do, this one is small (a few million > records/table tops).  No partitioning. > > >>If you have the ability to do a test migration on a test machine > where oops are not a problem that would be way to verify the 2) and 3) > options. > Already done.  He restored the 11.5 on 15.3 and I tested it.  Works fine. So good to go, depending on extent of testing. > > I don't think I'll be able to sell the "3" option above to the IT > group.  I think they'll want to do something simpler and with fewer steps. > So the question is... option 1 or 2 ?  Or does it matter, either can work ? If it where me it would be 1) as that gives you a fallback provision to the original 11 instance. -- Adrian Klaver adrian.klaver@aklaver.com