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 1j1ZbF-0005fA-Mq for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 17:45:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1ZbC-0003AF-Qq for pgsql-general@arkaria.postgresql.org; Tue, 11 Feb 2020 17:45:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1ZbB-0003A8-1p for pgsql-general@lists.postgresql.org; Tue, 11 Feb 2020 17:45:26 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1Zay-0007d4-AI for pgsql-general@postgresql.org; Tue, 11 Feb 2020 17:45:23 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3FA0921FB7; Tue, 11 Feb 2020 12:45:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 11 Feb 2020 12:45:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=C 3aJT/aJAaDlTlJ7B5hhwiefqgKfMue2b0r2G2dlqDg=; b=fYw8Ylt342D57Emso dvQZZE3efKbBcK3ZqKygmcRyeZOsGpuuBXVw82+h/RYLWt71FoJKvmGuV4/T/jae 4wCBAuLzhRyrqqhQLsYjLqQMHNhplM6fyjJ4ed+PIqBg2XIyZ3j5qQmHeXgKjLyz FBZpXAPMrEfXl8hmfSbfjA32jN2RLxneUP7caRV5OQ5J+SfYOUHYvVVF1iAdgf7x +Vbq2SUdy25xeCmV5nuqd8BqFzPbffE87JJ191IMwPXK67/c6MPHh2i1+Vc8IUeS tJHdWXGb03mKi8HwzoBSZc+sZbUAp6JtZ0p9xTStTDc4pbGMMqeIRgRZJFpHBAjl vomEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=C3aJT/aJAaDlTlJ7B5hhwiefqgKfMue2b0r2G2dlq Dg=; b=2yZnkqBF3h3yTLWFtFxvpxIp5CjZFvObPGuRP5izh1l4JU3iBlyrRhigL kbWwlUAANcVyANq6G3Mk3/tBXiKGLtlpD1xyB08yoae7Bl+QBYMqpkS3FIVfW9Rl jYcwl3/4Spfyn8GMcqJCZwND8nj7ZQznWuLN4gRV/xDMhRqsmoQHy3Wh5mzThE4w cL5zHWdvKLP3QtGu+7mcgv4kavRgxnQHBnlpgRG04cTg05k+xLqjIXwUhUqNJxaO AXgUNsMgBZkttJb1/gstqSdPRZDQYkYZsY1NExhfBNcMiYWqP1r0PfcPuLH+GNg/ i8k7rXh9CovNXhodpiDcq82itilvw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieefgdeljecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpehslhgrtghksghuihhlughsrdhorhhgnecukfhppeejgedrleeg rdejfedrvddvvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 84FBC3280062; Tue, 11 Feb 2020 12:45:00 -0500 (EST) Subject: Re: Pre-version pg_upgrade syntax check To: Rich Shepard , pgsql-general@postgresql.org References: <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com> <3698bbe2-6082-acda-58a0-2f8c15fee1b2@aklaver.com> <0b05d4ae-03f9-cdc7-f063-f38d08edca90@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 11 Feb 2020 09:44:59 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/11/20 9:00 AM, Rich Shepard wrote: > 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 From here: https://slackbuilds.org/repository/14.2/system/postgresql/ the latest build is for Postgres 10.10 and it does: PG_VERSION=${PG_VERSION:-10.10} ./configure \ --prefix=/usr/lib${LIBDIRSUFFIX}/$PRGNAM/$PG_VERSION \ --sysconfdir=/etc/$PRGNAM/$PG_VERSION \ --includedir=/usr/include \ --datarootdir=/usr/share \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --datadir=/usr/share/$PRGNAM-$PG_VERSION \ ... Is there maybe a custom script in the mix somewhere? Or something else setting PG_VERSION? > 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 > > -- Adrian Klaver adrian.klaver@aklaver.com