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 1rJITh-00CZa2-Rp for pgsql-general@arkaria.postgresql.org; Fri, 29 Dec 2023 19:25:05 +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 1rJITg-00BNl3-8Z for pgsql-general@arkaria.postgresql.org; Fri, 29 Dec 2023 19:25:04 +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 1rJITf-00BNkv-U4 for pgsql-general@lists.postgresql.org; Fri, 29 Dec 2023 19:25:03 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rJITa-00EW5X-G2 for pgsql-general@lists.postgresql.org; Fri, 29 Dec 2023 19:25:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3BTJOu6g3233610; Fri, 29 Dec 2023 14:24:56 -0500 From: Tom Lane To: ankit.singh@nest-is2.com cc: pgsql-general@lists.postgresql.org Subject: Re: Need help In-reply-to: <000401da3a5f$b94b60c0$2be22240$@nest-is2.com> References: <000401da3a5f$b94b60c0$2be22240$@nest-is2.com> Comments: In-reply-to message dated "Fri, 29 Dec 2023 19:32:52 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3233608.1703877896.1@sss.pgh.pa.us> Date: Fri, 29 Dec 2023 14:24:56 -0500 Message-ID: <3233609.1703877896@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk writes: > In Ubuntu 22.04LTS when we try to restore the database it's giving the error > - pg restore unsupported 1.15 You need a version of pg_restore that's at least as new as the pg_dump that made the archive file. File version 1.15 I believe requires PG 16. regards, tom lane