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 1j1Ytw-0004Rp-0z for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 17:00:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1Ytt-0008MJ-7r for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 17:00:41 +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 1j1Yts-0008MC-UL for pgsql-general@lists.postgresql.org; Tue, 11 Feb 2020 17:00:40 +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 1j1Ytq-0008Lb-98 for pgsql-general@postgresql.org; Tue, 11 Feb 2020 17:00:40 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 0EC5326325A for ; Tue, 11 Feb 2020 09:00:36 -0800 (PST) Date: Tue, 11 Feb 2020 09:00:36 -0800 (PST) From: Rich Shepard To: pgsql-general@postgresql.org Subject: Re: Pre-version pg_upgrade syntax check In-Reply-To: Message-ID: References: <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com> <3698bbe2-6082-acda-58a0-2f8c15fee1b2@aklaver.com> <0b05d4ae-03f9-cdc7-f063-f38d08edca90@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 Tue, 11 Feb 2020, Adrian Klaver wrote: > The above runs the psql client not the server. It is a way of determining > what version binaries /usr/lib64/postgresql/11/bin/ actually contains. Adrian, Aha! Running the command taught me a couple of valuable lessons because both 11 and 12 show they're running 12.1. That's because the SlackBuilds.org build script apparently upgraded 11.5 to 12.1 in the same /usr/lib64/postgresql/11/ directory. Before the next major version upgrade I'll ensure the new version is installed in the proper subdirectory. Since 12.1 is running I'll remove the version 11 directories. Thanks very much, Rich