Error in getting top 10 biggest table

Поиск
Список
Период
Сортировка
От Ankur Kaushik
Тема Error in getting top 10 biggest table
Дата
Msg-id CALXoLqz5JOMpAx34w+6QGUPx1th70-xDzpEnjEDuJWb5L09SfA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Error in getting top 10 biggest table  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-admin

Hi  , 


I am executing below query to get top 10 biggest size table but getting error

SELECT table_name,pg_relation_size(table_schema || '.' || table_name) as size FROM information_schema.tables WHERE table_schema NOT IN ('information_schema', 'pg_catalog') ORDER BY size DESC LIMIT 10;

ERROR:  relation "public.contacts" does not exist

Original Table : Contacts

It seems problem is with CAPS letter in Postgres table .

So any possibilities to execute this Caps letter table without any error

В списке pgsql-admin по дате отправления:

Предыдущее
От: Shreeyansh Dba
Дата:
Сообщение: Re: Reg:Autocommit
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Reg:Autocommit