Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s307H-008HEo-I9 for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:06:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s307F-00C2Kh-3b for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:06:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s307D-00C2Jv-7m for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:06:49 +0000 Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s307A-001OnR-0b for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:06:47 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id AC62E180008E; Fri, 3 May 2024 17:06:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 03 May 2024 17:06:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714770400; x=1714856800; bh=R7oLp58eUMJ/+siPiuZyRh9EfdaO0lqeDphjwdrOHws=; b= MwB18cIJlAsuMZ+4baJVw4vF7YELcKyo/ZiVklNRTRt5uqjC1xwuxstAgr62WRSR k07uVb25oTtsxd9V0Q/IZHYMrJ1VYz8vn1YxDeLmOliB6XPNKxvtia08360Nl2PX b50Av9h+71DyrA7E7p2+Plz23RzaDYQPDfvnwuAWpLvnJ2GAymow/KQzMwjmE/+f vJWKWedvCd3VlNWDRVj1LXMCf+WJqUGg0+rugnWthlqdLvAArstT/Wkc5Z/m5lH3 IsGMo5N2zBH7mxXN14M64Pmuv8n7xbIS+Ak7Me5pt5eeVrgnutkjYfsM4ySJH/2Y CcURKE7xe50N5E3nCSBRfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714770400; x= 1714856800; bh=R7oLp58eUMJ/+siPiuZyRh9EfdaO0lqeDphjwdrOHws=; b=g jXkFvqlINg76d+o07hOk81d4tbA/YwFAB5BGUFmj41wQ2r1hKWoIC0ID9Y9oKUof wbhGt6xevtPK2LMMkFDLvoeE+nF4tfQAcmwU9fkPj1onaYrmQ6woGP+JTSZZvZ5h Itt28loq2sD6lur3POBzo2haZyAazKT7v/MawVwm9zLzuMwWpS5NTM1awf+bAZY9 BCLWF1L7EGJspxiyRVj0cTsh3UDxt/5vD4H2WrBtUji+R3Idq2ylUv+oVpGbc7KJ cxvhXN+xrlChj8oE9DfFYvses4F1FoYJAFB0PJUuShFBbBklaCRATb4VWgrHy6eC QcqTsLIRNJygOfsYZ4/Ug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvtddgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeffleegie efgfevudehtdfhkeeutdffjeevgeffgeejvedthefgudeiteefheejheenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrg hvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 May 2024 17:06:39 -0400 (EDT) Message-ID: <32c6f80e-0531-4a30-a05c-c57bfa0d2d4c@aklaver.com> Date: Fri, 3 May 2024 14:06:38 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: \dt shows table but \d says the table doesn't exist ? To: David Gauthier , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/3/24 13:58, David Gauthier wrote: > psql (15.3, server 14.5) on linux > > Someone else's DB which I've been asked to look at. > > \dt gives many tables, here are just 3... > >  public | some_idIds                                       | table | > cron_user >  public | WarningIds                                       | table | > cron_user >  public | cpf_inv_driverIds                                | table | > cron_user > > but \d public.some_idIds gives.. > > Did not find any relation named "public.some_idIds". > > Soooooo... what am I missing ? Try: select relname, length(relname) from pg_class where relname ilike '%some_idIds%'; Best guess there are hidden characters. > owner is "cron_user".  \dt shows cron_user is the owner of the table. > > -- Adrian Klaver adrian.klaver@aklaver.com