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 1nJwby-0002ph-H7 for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Feb 2022 12:07:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nJwbx-0004Jd-4T for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Feb 2022 12:07:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJwbw-0004JU-QC for pgsql-bugs@lists.postgresql.org; Tue, 15 Feb 2022 12:07:12 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJwbt-0007Vc-PZ for pgsql-bugs@lists.postgresql.org; Tue, 15 Feb 2022 12:07:11 +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:To:Sender:From:Date:Cc: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=gV8f2r3nhlgVAchHgY5J3XEkqWy244PB381BDEi9GAs=; b=oLVJZmFLx3VtQ3CUbASgh6MQ/z 14FNqjtGE76eVN/Xz3nFrdjnp1HXqWjYVYFeK8KJ+E/wenas62PzSMc0hNjibTK0RuwNVMIBSwg0b 7BQSBK06jJRCFCAAUq9QNHYlrrWLiUnLzzL5W3afqJp2uaTbpIxj4ruqjTC9tG8x5G1s=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1nJwbq-0007XE-9T; Tue, 15 Feb 2022 13:07:06 +0100 Date: Tue, 15 Feb 2022 13:07:05 +0100 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: julian.garcia@inrop.es, 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: <20220215120705.GB23055@depesz.com> Reply-To: depesz@depesz.com References: <17405-d712d8840e90dc42@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <17405-d712d8840e90dc42@postgresql.org> 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 11:07:14AM +0000, PG Bug reporting form wrote: > I've upgraded my Postgres version from 12.9 to 12.10 following the > documentation steps: > > service postgresql-12 stop > yum update postgresql12-server > service postgresql-12 start > > And the binaries do in fact show the upgraded version, the DB starts good, > everything went well: > > postgres@dgojmysql01pre ~ $ rpm -qa | grep postgres > postgresql12-libs-12.10-1PGDG.rhel6.x86_64 > postgresql12-server-12.10-1PGDG.rhel6.x86_64 > postgresql12-12.10-1PGDG.rhel6.x86_64 > > But, when using the psql it would still show the 12.9 version: > > root@myserver ~ # sudo su - postgres > postgres@myserver ~ $ psql > psql (12.9) > Type "help" for help. Please do: sudo su - postgres which psql ls -l "$( which psql )" "$( readlink -f "$( which psql )" )" rpm -qf "$( which psql )" rpm -qf "$( readlink -f "$( which psql )" )" and please share results of the which, ls, and rpm calls. Best regards, depesz