Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1J5j-0002N0-EI for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 00:07:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1J5g-0007jn-5S for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 00:07:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1J5f-0007jg-SH for pgsql-general@lists.postgresql.org; Tue, 11 Feb 2020 00:07:47 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1J5d-0008Lx-6p for pgsql-general@postgresql.org; Tue, 11 Feb 2020 00:07:47 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 0F75D263B08 for ; Mon, 10 Feb 2020 16:07:43 -0800 (PST) Date: Mon, 10 Feb 2020 16:07:43 -0800 (PST) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Pre-version pg_upgrade syntax check In-Reply-To: <3698bbe2-6082-acda-58a0-2f8c15fee1b2@aklaver.com> Message-ID: References: <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com> <3698bbe2-6082-acda-58a0-2f8c15fee1b2@aklaver.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 10 Feb 2020, Adrian Klaver wrote: > What it is saying is -b and -d are pointing at binary and data directories > that are incompatible. You need to make sure that: > > /usr/lib64/postgresql/11/bin/ > and > /var/lib/pgsql/11/data > > are actually pointing at 11 instances of binaries and data respectively. Adrian, I just copied the contents of those directories from last Thursday's backups. Still fails. I have the pg_dumpall .sql file from last Thursday. I'll fire up postgresql-12.1 and us pgsql to read in that file, unless you have a recommendation for me to apply. Thanks, Rich