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 1tNJQs-00A6y0-QX for pgsql-general@arkaria.postgresql.org; Mon, 16 Dec 2024 22:19:19 +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 1tNJQq-00BmDm-AM for pgsql-general@arkaria.postgresql.org; Mon, 16 Dec 2024 22:19:17 +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 1tNJQo-00BmDa-VC for pgsql-general@lists.postgresql.org; Mon, 16 Dec 2024 22:19:17 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tNJQl-0002o2-G1 for pgsql-general@postgresql.org; Mon, 16 Dec 2024 22:19:15 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 79291138419C; Mon, 16 Dec 2024 17:19:09 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 16 Dec 2024 17:19:09 -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=1734387549; x=1734473949; bh=mQ9w4Z9m6/Zvi00FVJseQeqo2GbE8kRrTuwMSn2vwlM=; b= V+Tjgs5zk9pl6nsrMVIF4wxUCCOWpIPBz3m74fCGeOupY0KDsXwjuRw2nMgzbyFu 92A77tEdUPXERq+QkJ1CLfMGypwhuGa1z2eq20ClpceIl+kLYBrU+seYG13rVwdE BFKqgWHWOoODMD0N/lXuZcwfG+1aqo5G/3fu4zb3bLQNaGyeS6nqAiX0JaPdv+y6 qn2EEE49rZlt/fofxg70am0ZxesR7NKVOmB2NSGNpR32dmilK3nO1IRFm8qWFYR5 0AvMz/AxqrxwHqNpZtwXNzvI0iTvq8gIGH27pGDgv1IW4nJnny4wjRt6U7x65PNB WZTiXfe/61s8wxQlHEPS/A== 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-sender :x-me-sender:x-sasl-enc; s=fm1; t=1734387549; x=1734473949; bh=m Q9w4Z9m6/Zvi00FVJseQeqo2GbE8kRrTuwMSn2vwlM=; b=SwcIWWZqbJSp2ZbnR Uy8cp4vzZ/3KxKfHCgEqEk6mljWl58QuxWYSoopLwb93U4hvOg4nFB8p09uiJlDj rLw1QI1RRzqRZ4uYF6zxqTWOwNNMJhC1D0YStsNcop3kH5Z7HcOJfDX3pgYh9zVQ C78zOFJNkFG/jGS5a5lyMs/wtPxZB+wF8HhpCEcm9vLWFpwV9tQKNjYKgyrUlGH/ hy0YM1fRQM1Gn0GVxu11mo3CTICrKg1JPmee7ac2RJACJnl2rV2pkTQTKKXu/OVh d6NH6+XfzOXtOP/TeN3PYn1Qw6kz3XNCzTnJXpLV+H5auFMHE8zwMjp9IIt2v4lZ ggMIA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleefgdduieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeelgeevkeekkeeuiefgtdev ieeluefhfedufeetkeejffekjeeujeehgeehgeektdenucffohhmrghinhepphhoshhtgh hrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspg hrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghsthgvvghm sghsvhdqfhhorhhumheshigrhhhoohdrtghomhdprhgtphhtthhopehrohhnlhhjohhhnh hsohhnjhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgr lhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 17:19:08 -0500 (EST) Message-ID: Date: Mon, 16 Dec 2024 14:19:08 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Additional Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X To: Bharani SV-forum , Ron Johnson , pgsql-general References: <0558ddd4d71641bdb41fa49b2425f73c@safrangroup.com> <98965993.3138805.1731699978332@mail.yahoo.com> <564950518.5117550.1733177884387@mail.yahoo.com> <07ab2d83-ffe5-4bec-9626-22a68f732579@aklaver.com> <273a88dc-4134-47d5-bc19-30ff5f97926c@aklaver.com> <498dfb34-4dd7-4f48-8188-355e1488d7e6@aklaver.com> <1061066336.5835157.1733316137292@mail.yahoo.com> <1918413683.2239751.1733944364448@mail.yahoo.com> <037a8338-3434-47d4-aaad-ef186d4d3250@aklaver.com> <101139100.4053671.1734383960480@mail.yahoo.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <101139100.4053671.1734383960480@mail.yahoo.com> 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 12/16/24 13:19, Bharani SV-forum wrote: > Team > I am getting the following error. > > pg_dump: error: error reading large object 2113418: > > pg_dump: error: could not open large object 3391830: What user are you running pg_dump as? What version of pg_dump? > > I tried to give this command DB name = abcefg > > ALTER DATABASE abcefgd SET lo_compat_privileges=on; > > and reran and once again , i am getting the same error > > while doing using psql/pg_dump from old version server running 13.18 [ > OS = Amazon Linux release 2 (Karoo) ]. It is either psql or pg_dump. psql is the CLI client for the Postgres server. If you are using psql as an alias for Postgres(sql), don't, it only adds confusion. > > Will be pg_dump and pg_restore to restore in the new VM with new OS [OS= > amazon linux 2023] and new DB bin pgsql ver 15.09. > > We were told by AWS team, in the new VM tagged OS [OS= amazon linux > 2023] , pgsql Ver 13.16 is not supported Not sure why? It still a community supported version and will be through November 2025. > > *I cross checked* > SELECT oid, count(*)  FROM pg_largeobject_metadata group by oid order by > oid ; > Rows =  4260170 rows > > Can you suggest > > > On Wednesday, December 11, 2024 at 03:57:31 PM EST, Adrian Klaver > wrote: > > > On 12/11/24 11:12, Bharani SV-forum wrote: > > Team > > As suggested from old server, post shutdown of DB, I did OS level dump > > of PG_DATA folder and had restored in the new server. > > If you follow the process shown here: > > https://www.postgresql.org/message-id/CAKAnmmKZdhnhdNRd3OgDyEco9OPkT%3DqA_TeWMFMRvUM9pXauKg%40mail.gmail.com > > You would not have to do the below. > > > > > Any idea on how to install the older binary postgres 13.18 ( OS=Amazon > > Linux 2023.6.20241121) under a dedicated folder suffixed as the > > following e.g.) /usr/pgsql1318 > > > > System Admin had already installed newer version pgsql 15.08 binaries in > > the  new server (OS= Amazon Linux 2023.6.20241121) in the folder > "/usr/bin/" > > > > We were quoted , OS = Amazon Linux 2023.6.20241121 doesnot support > > postgres ver 15.10 (Community edition) under its AWS-EC2. > > That does not reflect well on Amazon Linux, that it is missing two > critical bug releases. > > > > > > Regards > > > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > > -- Adrian Klaver adrian.klaver@aklaver.com