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 1mAVOl-0006rk-SC for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Aug 2021 10:42:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mAVOj-0005yP-T2 for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Aug 2021 10:42:17 +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 1mAVOj-0005yG-JT for pgsql-bugs@lists.postgresql.org; Mon, 02 Aug 2021 10:42:17 +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 1mAVOc-0006dF-Ko for pgsql-bugs@lists.postgresql.org; Mon, 02 Aug 2021 10:42:16 +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=PeDP9OldJjvxqdRXzWAA5uSSPrTKGwcU/Hqj+UuvglY=; b=IotR5fEScUgPBgyFc2nJxwCXse 1Ujjnn6uQAg16M0jw/d6n+vAnxVLwVMaZGPUSXcNqFIYkNbP4Hnb7LGkkKSmMS0S5UQfEdABRFJWB Fnu+R7HrMX/htMe1KFPHfTnGBSCFNbe5mBw80HzRXNADf+Q1zGSEDg3gsF9LU/CREuxY=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.92) (envelope-from ) id 1mAVOb-0005lt-1y; Mon, 02 Aug 2021 12:42:09 +0200 Date: Mon, 2 Aug 2021 12:42:08 +0200 From: hubert depesz lubaczewski Sender: depesz@depesz.com To: Wojciech Strzalka Cc: pgsql-bugs@lists.postgresql.org Subject: Re: psql doesn't show tables duplicated in multiple schemas Message-ID: <20210802104208.GA9634@depesz.com> Reply-To: depesz@depesz.com References: 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 Mon, Aug 02, 2021 at 09:05:19AM +0200, Wojciech Strzalka wrote: > I would expect last table listing to include 'y.b' table. Although shadowed > when referencing by 'b' it's still there. Not really a bug. It shows you "visible" tables, that is - tables that you can reach without specifying schema. If you want to find all tables "b" across all schema, do: #v+ \dt *.b #v- Best regards, depesz