Re: \dt shows table but \d <table> says the table doesn't exist ?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, David Gauthier <dfgpostgres(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: \dt shows table but \d <table> says the table doesn't exist ?
Date: 2024-05-03 21:13:38
Message-ID: CAKFQuwZQddHEXGwxhJz=EZfUYRAcqrz+P4j65QrQtq277pJ4Jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, May 3, 2024 at 2:08 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

> On 5/3/24 14:06, Magnus Hagander wrote:
> >
> >
> > On Fri, May 3, 2024 at 10:58 PM David Gauthier <dfgpostgres(at)gmail(dot)com
> > <mailto:dfgpostgres(at)gmail(dot)com>> 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2024-05-03 21:15:11 Re: \dt shows table but \d <table> says the table doesn't exist ?
Previous Message Magnus Hagander 2024-05-03 21:13:14 Re: \dt shows table but \d <table> says the table doesn't exist ?