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 1mj9sK-0003BT-Lq for pgsql-admin@arkaria.postgresql.org; Sat, 06 Nov 2021 00:48:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mj9sI-0005rt-G1 for pgsql-admin@arkaria.postgresql.org; Sat, 06 Nov 2021 00:48:02 +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 1mj9sI-0005rk-6d for pgsql-admin@lists.postgresql.org; Sat, 06 Nov 2021 00:48:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mj9sG-0001pX-15 for pgsql-admin@lists.postgresql.org; Sat, 06 Nov 2021 00:48:01 +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 1A60luiS451540; Fri, 5 Nov 2021 20:47:57 -0400 From: Tom Lane To: "MichaelDBA@sqlexec.com" cc: John Scalia , pgsql-admin@lists.postgresql.org Subject: Re: pg_dump weirdness In-reply-to: <61A06E76-7897-4603-B6B4-CA67BBFC2547@sqlexec.com> References: <492eb0ca-d43e-e732-61bd-17293fff431a@gmail.com> <61A06E76-7897-4603-B6B4-CA67BBFC2547@sqlexec.com> Comments: In-reply-to "MichaelDBA@sqlexec.com" message dated "Fri, 05 Nov 2021 16:59:02 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <451538.1636159676.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 05 Nov 2021 20:47:56 -0400 Message-ID: <451539.1636159676@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "MichaelDBA@sqlexec.com" writes: > You cannot use a newer version of pgdump to export and then insert it in= to an older version of PostgreSQL if I am understanding you correctly. Well, you can try. You might get errors from DDL syntax the older server doesn't understand, but usually that won't happen if the dump is taken from a server of that vintage or older. We don't promise anything, but I'd expect it to usually work. I'm a little suspicious of the OP's claim that there were only warnings and not errors while trying to restore the dump -- an error would go a long way towards explaining the report. In any case, we'd need to see all those warnings to have much chance of diagnosing this. regards, tom lane