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 1s3071-008HCD-S6 for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:06:35 +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 1s306y-00BzQP-0v for pgsql-general@arkaria.postgresql.org; Fri, 03 May 2024 21:06:32 +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 1s306x-00BzQF-Kr for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:06:32 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s306r-001OnE-2e for pgsql-general@lists.postgresql.org; Fri, 03 May 2024 21:06:31 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6f28bb6d747so126008b3a.3 for ; Fri, 03 May 2024 14:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander.net; s=mail; t=1714770382; x=1715375182; 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=zA8iuvvkl1aZfKOMlqljWIRxBYNLIFnW1Rab81QXeWY=; b=ZaJ2WcnZF8Z657IJVJ5vWcYQX9dzuK5OMMp3GPbmd1OLsHoA48ddABrvi4RaC93RNx Iv/oWuBZllLZVRvX1cTjiD5ILDvR0vPQuhkUR+hQ8+xzUj4crfPHa+SGABbEyg5zqL+r yH2jsl3SnHU/1jFWCGDK2DTYg0+3iyer/dYi+OGZqY+Eiz2xMdUQC3QJajf14bgUXTXd ZAMG3+FpfZRNfQj1KNgf+SvlcaONuBWaVtFTfHke4D56or1oC2F2CQUjWNuIsPUKFA5W GYFpI/EL192RPg0ZMA19BWIxKXFwEjRP6xGVOZX/L0N6dK2QYRK0C0pjX1urqF4fJPXg sWIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714770382; x=1715375182; 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=zA8iuvvkl1aZfKOMlqljWIRxBYNLIFnW1Rab81QXeWY=; b=u5HgLM68a1oJXtt0DO1wWdgVlSBaPS3oKqedIKjuQVeUaInNzYiRSWghzbWZvcAxtV mxAXNwrrbmGIiYw3DZI/gWHouLiACe0/IdKEHqGYIrSH8lk3zXVrLWCm/mUb9iz5yNn2 u6WQiDHffshTA1wh43NvG++ymc7AV7xco4ELzYDBc5V0acs0JDLSIBr7zpovcMtQYSks EBolaK7AgO1Yv0r7XGDz8LmLaGrNjK/dvhWcvfSN7KxWlroycuSS6Kv6+SYuvofaEjmW pnbQmxDsOf/EPI721k262SayErJSt3/9tpOXdSySJ4Z6dUhXP2OSgos1IbCRuaRR+xVG j6KA== X-Gm-Message-State: AOJu0YzEAJQ3EuN6eljPBYFdb3A1LhnYh/Rph32E5FQ1ftxGKrqZaUCt dHbUkXIrcbZWNlWleq8P5QV3hshWmrbUyf67lW302vOwfYlCrvEPuH+JRJpt/7RICM6tGObt66X O6tVR+56wsMXEvu3kOQdTQLdd2EPzAbJQuPsf X-Google-Smtp-Source: AGHT+IH17GfSgR6TgSNBSlGtOweFLMnuOJp7dNWuyfRWbbsixSV0DSGoK0cGeZ/QTcJKe3yw87Y2zbCpoNhhaROi7vU= X-Received: by 2002:a05:6300:8086:b0:1aa:41e4:f1b4 with SMTP id ap6-20020a056300808600b001aa41e4f1b4mr4153773pzc.44.1714770382558; Fri, 03 May 2024 14:06:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Magnus Hagander Date: Fri, 3 May 2024 23:06:10 +0200 Message-ID: Subject: Re: \dt shows table but \d says the table doesn't exist ? To: David Gauthier Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000008638ea06179317d8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008638ea06179317d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 | > 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". > Looks like you might need a \d "some_idIds" (include the quotes) since it has an uppercase characters? --=20 Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/ --0000000000008638ea06179317d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, May 3, 2024 at 10:58=E2=80=AF= PM David Gauthier <dfgpostgres@= gmail.com> wrote:
psql (15.3, server 14.5) on linux

<= /div>
Someone else's DB which I've been asked to look at.
=

\dt gives many tables, here are just 3...
=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 | cron_user
=C2=A0public | W= arningIds =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 | tab= le | cron_user
=C2=A0public | cpf_inv_driverIds =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 | cron_user

bu= t \d public.some_idIds gives..

Did not find any re= lation named "public.some_idIds".


Looks like you might need a \d "some_i= dIds" (include the quotes) since it has an uppercase characters?
=

--
<= div dir=3D"ltr" class=3D"gmail_signature">
=C2=A0Magnu= s Hagander
=C2=A0Me: https://www.hagander.net/
=C2=A0Work: https://www.redpill-linpro.com/
--0000000000008638ea06179317d8--