Re: \dt shows table but \d <table> says the table doesn't exist ?
От
Magnus Hagander
Тема
Re: \dt shows table but \d <table> says the table doesn't exist ?
Дата
Msg-id
CABUevEyf0skbu3scVQ28_d69CCr8Bp+tU3x1AazsFwWhFJ8x8Q@mail.gmail.com
Ответ на
Список
Дерево обсуждения
\dt shows table but \d <table> says the table doesn't exist ? David Gauthier <dfgpostgres@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Adrian Klaver <adrian.klaver@aklaver.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Magnus Hagander <magnus@hagander.net>
Re: \dt shows table but \d <table> says the table doesn't exist ? Adrian Klaver <adrian.klaver@aklaver.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Tom Lane <tgl@sss.pgh.pa.us>
Re: \dt shows table but \d <table> says the table doesn't exist ? jian he <jian.universality@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Tom Lane <tgl@sss.pgh.pa.us>
Re: \dt shows table but \d <table> says the table doesn't exist ? "David G. Johnston" <david.g.johnston@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Tom Lane <tgl@sss.pgh.pa.us>
Re: \dt shows table but \d <table> says the table doesn't exist ? Adrian Klaver <adrian.klaver@aklaver.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? "David G. Johnston" <david.g.johnston@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? Tom Lane <tgl@sss.pgh.pa.us>
Re: \dt shows table but \d <table> says the table doesn't exist ? Magnus Hagander <magnus@hagander.net>
Re: \dt shows table but \d <table> says the table doesn't exist ? Tom Lane <tgl@sss.pgh.pa.us>
Re: \dt shows table but \d <table> says the table doesn't exist ? Isaac Morland <isaac.morland@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? "David G. Johnston" <david.g.johnston@gmail.com>
Re: \dt shows table but \d <table> says the table doesn't exist ? hubert depesz lubaczewski <depesz@depesz.com>
On Fri, May 3, 2024 at 11:08 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
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.
That is arguably a really bad error message, because it puts those quotes there whether needed or not. if you put the quotes in there, you get:
--
В списке pgsql-general по дате отправления
От: Adrian Klaver
Дата:
От: David G. Johnston
Дата: