Re: SHOW TABLES

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: SHOW TABLES
Дата
Msg-id 1279212150.1735.13295.camel@ebony
обсуждение исходный текст
Ответ на Re: SHOW TABLES  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-hackers
On Thu, 2010-07-15 at 13:16 -0300, Marc G. Fournier wrote:

> I'd rather write:
> 
> SHOW TABLES;
> 
> then:
> 
> SELECT  table_name
>    FROM information_schema.tables
>   WHERE table_type = 'BASE TABLE'
>     AND table_schema NOT IN
>         ('pg_catalog', 'information_schema');
> 
> And, the latter, unless I'm doing it regularly, is alot harder to remember 
> then the former ...

+1

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: SHOW TABLES
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: SHOW TABLES