Re: \dt shows table but \d says the table doesn't exist ? - Mailing list pgsql-general
From Adrian Klaver
Subject Re: \dt shows table but \d says the table doesn't exist ?
Date
Msg-id 7c3a1c91-566a-46f7-82b5-b47eac58c500@aklaver.com
Whole thread Raw
In response to Re: \dt shows table but \d says the table doesn't exist ?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: \dt shows table but \d says the table doesn't exist ?
Re: \dt shows table but \d
says the table doesn't exist ?
Re: \dt shows table but \d
says the table doesn't exist ?
List pgsql-general
On 5/3/24 14:06, Magnus Hagander wrote:
> 
> 
> On Fri, May 3, 2024 at 10:58 PM David Gauthier <dfgpostgres@gmail.com 
> <mailto:dfgpostgres@gmail.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
>     | 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?

This:

"Did not find any relation named "public.some_idIds"."

to me indicates it did look for the properly cased name.

> 
> -- 
>   Magnus Hagander
>   Me: https://www.hagander.net/ <http://www.hagander.net/>
>   Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: \dt shows table but \d says the table doesn't exist ?
Next
From: Magnus Hagander
Date:
Subject: Re: \dt shows table but \d
says the table doesn't exist ?