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 1nJzXq-0002Tt-Gg for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Feb 2022 15:15:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nJzXp-0006W2-6R for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Feb 2022 15:15:09 +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 1nJzXo-0006Vt-SJ for pgsql-bugs@lists.postgresql.org; Tue, 15 Feb 2022 15:15:08 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJzXm-00060E-9c for pgsql-bugs@lists.postgresql.org; Tue, 15 Feb 2022 15:15:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=In-Reply-To:Content-Type:MIME-Version:References:Reply-To: Message-ID:Subject:Cc:To:Sender:From:Date:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Cyc9F5JLXFbh7dS9y0cRcrLkTRc8QuiPcpzA+dhQsJk=; b=Msv46uvXJN3wfalYtuRGDc+Irk Dm/BYpnTJB6rx+VThoE9p2mNpz+90l5L3ByBUIlzpXjHsqmmX6y4I5LK92J2WtmOwTuOSzBm5FRWZ FJdDfLHv04qlb2xl5wr4OZ5jmEI9wJRFlk6N3liVvvG6Sj1e03OwJrCGWrEH/5D/GXcc=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1nJzXk-0001k8-RG; Tue, 15 Feb 2022 16:15:04 +0100 Date: Tue, 15 Feb 2022 16:15:04 +0100 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: julian.garcia@inrop.es Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17405: Minor upgrade from 12.9 to 12.10 works fine, but PSQL version shows "12.9" Message-ID: <20220215151504.GA5078@depesz.com> Reply-To: depesz@depesz.com References: <17405-d712d8840e90dc42@postgresql.org> <20220215120705.GB23055@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Feb 15, 2022 at 04:05:44PM +0100, julian.garcia@inrop.es wrote: > root@myserver ~ # sudo su - postgres > postgres@myserver ~ $ which psql > /usr/bin/psql > postgres@myserver ~ $ ls -l "$( which psql )" "$( readlink -f "$( which psql > )" )" > lrwxrwxrwx 1 root root 28 Feb 15 11:25 /usr/bin/psql -> > /etc/alternatives/pgsql-psql > -rwxr-xr-x 1 root root 632176 Feb 9 15:21 /usr/pgsql-12/bin/psql > postgres@myserver ~ $ rpm -qf "$( which psql )" > file /usr/bin/psql is not owned by any package > postgres@myserver ~ $ rpm -qf "$( readlink -f "$( which psql )" )" > postgresql12-12.10-1PGDG.rhel6.x86_64 This does look wrong, and if someone on clean install can confirm it would be good to track down and fix. I'd guess it's some issue with packaging, but how it happened - no idea, sorry. Best regards, depesz