Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otilh-0002Bf-0c for pgsql-general@arkaria.postgresql.org; Sat, 12 Nov 2022 05:09:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1otilf-0006TC-SC for pgsql-general@arkaria.postgresql.org; Sat, 12 Nov 2022 05:09:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otile-0006T2-C9 for pgsql-general@lists.postgresql.org; Sat, 12 Nov 2022 05:09:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otilW-0000PR-2X for pgsql-general@lists.postgresql.org; Sat, 12 Nov 2022 05:09:21 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 887F85C0140; Sat, 12 Nov 2022 00:09:11 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 12 Nov 2022 00:09:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1668229751; x= 1668316151; bh=+LtGqCvdIqluLoGDNOKWl2ehMlxZM9b6YUE1lAlmSdQ=; b=R VygryhQOWkF5nPWZPE3YJzSYQlz/FwULLRaroxfsYwYHeMczMwUsOd9XdQ1kSxui a+NIm7vd2N7o4PlGkuUS0ZVAcv5TnR9Zrqvy/MJtxuPISOP9wfTyDc1rvt1tP9gP nfUH+Ubg5zBjeR0vrxdS29Ra0sQq7XrBdtb6PErSdHEDBTywXM7ckpN+pHprNHpg +Ke84DyvohyQhUiDXhla6kSFcgo1qMHMtgeZHUWOY4opI/DaE4+j7U3DMUstIMJG kvPKtKhIRF0VzxK7IzGD0x5hlxWOvS3kj7wl0zYaI1+K1WAeDb2P9WfjeXVt33Pu gGRb3omCoxMR3KvNdvV8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1668229751; x= 1668316151; bh=+LtGqCvdIqluLoGDNOKWl2ehMlxZM9b6YUE1lAlmSdQ=; b=v MZTumjJUqpf8Od4LNeEc8flzaxAnzl6CJNeSLUpNGrp69EfcuSQkzYJiXyzxCDoq eqS6MKPoIU0u07oscKF7c8nvI8eezIMAHxj2iqAAhYR66ytXTTjHLO7gqq6Yl7Q6 i+TTAZqB9UFp/Gg/zhexN0bedeg2HF7wCgui0BHtZT4urNwgGVwF6SIEZQuhIdY4 sD0TT0hnRRgIuUB1rrUHTZCXyuWVr2m9FluR19f5pJ8A+/dGSH+UkDBgjLqG+Zxj NwWbt2jKUVNBHwPSNVTsi83iR83np3CokA84JhSuH2zbtKHELr3GrOi4ASjp/mLc 21VkZY89Hb7E6x4SicsSg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeejgdejlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeejgedthfeuhfetgfffvdehudelteegjeduveffkeet geejieehueduleelgfffffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 12 Nov 2022 00:09:10 -0500 (EST) Message-ID: Date: Fri, 11 Nov 2022 21:09:10 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: Upgrading to v12 Content-Language: en-US To: Brad White Cc: pgsql-general@lists.postgresql.org References: <9aa1a829-3367-74cf-1630-a91a4d67d41d@aklaver.com> 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 11/11/22 20:59, Brad White wrote: > On Fri, Nov 11, 2022, 9:57 PM Adrian Klaver > wrote: > Yes. The backup is from production. > V9.4 is running on 5432 on all servers. > That particular restore happens to be on the dev server. 5433 is v12. > 1) This does not address from your OP: "I only need the primary. Not the half dozen restored copies." And then from follow up post: "I deleted all the other DBs and left only the primary. Still getting the same error message, ending with" How where the restored copies made on the original cluster? 2) For your explanation above, pg_dump from 9.4(5432) to pg_restore 12(5433) the issue would be ...\9.4\bin\pg_dump.exe of 9.4 and pg_restore of said dump file to version 12. When moving up in version you need to use the newer version of pg_dump(...\12\bin\pg_dump.exe) to dump the 9.4 instance and then the version 12 pg_restore to the 12 instance. Both programs are backwards compatible, not forwards compatible. -- Adrian Klaver adrian.klaver@aklaver.com