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 1s30Eb-008ISC-5X for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:14:24 +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 1s30EY-00CCZM-Q9 for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:14:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s30EY-00CCXB-FJ for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:14:23 +0000 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s30ES-001IfC-UF for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:14:22 +0000 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5b1ca71532bso74755eaf.0 for ; Fri, 03 May 2024 14:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714770856; x=1715375656; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=z7p8LnvkY3+ayJrCrMQv0OQiG5M+ozvYVroQJbbB3IQ=; b=aU3w485TvJkQGRlC3AN7yjqM9OZ0XORZlG6pIGS4NhosGiicO8/2h8IFJybxrfmBtz CagHMpB0cdpESp5Mo6aFWd1q4a+WNjPJrdjcAPOfFrz30UhiBgqsrOxheTxJNtdzUVqg PVh4YVv1UdUQqErv6DtuYIXEAy+6R9Ai+5mi27rFpKkpclwCVrh7TizwH1b9wDAra2vM 2HNAgwdQnYBkJeXBti21bkSqwHyK9OPYep+dzenyQJGKDorfcU8q+h1CGzP+FFCQhdqZ 4F5oVLVGr4zZYASXHP2jnGLPiAqVWgaYzAKXCMx/MfJCMIoOZ2y/liR11HljMN1ANRFp EztA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714770856; x=1715375656; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z7p8LnvkY3+ayJrCrMQv0OQiG5M+ozvYVroQJbbB3IQ=; b=Mu0G4xUQey1iQMex0y9eHbxQDTNzRt2u/u+n5YekJjPzzXCxH1DMGC4kio48VQw1Sm cuKhf0ndCACoiAaqFKJL1BMeWl5C4xMiCXUKEG4o11KJ5zYSU30RTSySJR9zex0iSDxu HHzJR2ZGO28Knqk7kE3zuelk3KMLAcsCpPXh3hLRVT5XmPr1AjAxGHeJHG+U64xwwbXM 799PkzNkwoxBFgPuCoIXqZU4ccZH2q6bfjR7ddyNEDIX0AOd1d9paWztyKpWveeC1QMH 08g9mF+2kY207IYh6X/wnPL0NnBt8xeY1+hH10Mhf9/Jic4/m7mYxbY3RyMDVuPzz3II O/Ig== X-Forwarded-Encrypted: i=1; AJvYcCVEN16Dc2ZBSi++ABwfan4V0WsItd+2BMaX9sN/+PYEJeHqSuxMyGFApWOmelNQqFRwYp7xZJhl0hx5Mbfcw/rE6vbIpI1HX3qEwnVYpJM00hPh X-Gm-Message-State: AOJu0YxuR+wLF0yoIo/4dzO/aNLFhmOSDXGK30n2fh1Sy3zp/qnQNevQ fKIiDA5Rv/2SJqIEOlX1AZp4E04kLvy3q34pyfz9PpKFM/6jaWMSfDtdgoqHVtw25O5cZqhVpXt mSnoqIvsoamNuo7aLdBykwix8EpU= X-Google-Smtp-Source: AGHT+IEdq0pAUMCYzEKXEMzuMOEGZrQ1RppNazogTc/lQ2ld6jEoz5uV2jEJThAoZo0SAXc9C1EYiuveU2QJrE9iff4= X-Received: by 2002:a4a:304f:0:b0:5b1:d588:19 with SMTP id z15-20020a4a304f000000b005b1d5880019mr4025433ooz.4.1714770856113; Fri, 03 May 2024 14:14:16 -0700 (PDT) MIME-Version: 1.0 References: <7c3a1c91-566a-46f7-82b5-b47eac58c500@aklaver.com> In-Reply-To: <7c3a1c91-566a-46f7-82b5-b47eac58c500@aklaver.com> From: "David G. Johnston" Date: Fri, 3 May 2024 14:13:38 -0700 Message-ID: Subject: Re: \dt shows table but \d says the table doesn't exist ? To: Adrian Klaver Cc: Magnus Hagander , David Gauthier , pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000bffd4106179333b6" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000bffd4106179333b6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 3, 2024 at 2:08=E2=80=AFPM Adrian Klaver wrote: > On 5/3/24 14:06, Magnus Hagander wrote: > > > > > > On Fri, May 3, 2024 at 10:58=E2=80=AFPM 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 > > > > > Looks like you might need a \d "some_idIds" (include the quotes) since > > it has an uppercase characters? > > This: > > "Did not find any relation named "public.some_idIds"." > > to me indicates it did look for the properly cased name. > > More likely there is confusion between an upper case I "eye" and a lower case l "el". David J. --000000000000bffd4106179333b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, May 3, 2024 at 2:08=E2=80=AFPM Adrian Klaver <<= a href=3D"mailto:adrian.klaver@aklaver.com">adrian.klaver@aklaver.com&g= t; wrote:
On 5/3/24 14:06, Magnus Hagander wrote: >
>
> On Fri, May 3, 2024 at 10:58=E2=80=AFPM David Gauthier <dfgpostgres@gmail.com <= br> > <mailto:= dfgpostgres@gmail.com>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0psql (15.3, server 14.5) on linux
>
>=C2=A0 =C2=A0 =C2=A0Someone else's DB which I've been asked to = look at.
>
>=C2=A0 =C2=A0 =C2=A0\dt gives many tables, here are just 3...
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0public | some_idIds =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | table

>
> Looks like you might need a \d "some_idIds" (include the quo= tes) since
> it has an uppercase characters?

This:

"Did not find any relation named "public.some_idIds"."<= br>
to me indicates it did look for the properly cased name.


More likely there is confusion between an upper case I = "eye" and a lower case l "el".

Dav= id J.

--000000000000bffd4106179333b6--