Re: SHOW TABLES - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: SHOW TABLES
Date
Msg-id 1279212150.1735.13295.camel@ebony
Whole thread Raw
In response to Re: SHOW TABLES  ("Marc G. Fournier" <scrappy@hub.org>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: SHOW TABLES
Next
From: Simon Riggs
Date:
Subject: Re: SHOW TABLES