Re: [SQL] list of tables? - Mailing list pgsql-sql

From Jose' Soares Da Silva
Subject Re: [SQL] list of tables?
Date
Msg-id Pine.LNX.3.96.980521092612.361A-100000@proxy.bazzanese.com
Whole thread Raw
In response to list of tables?  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [SQL] list of tables?  (Oleg Broytmann <phd@comus.ru>)
List pgsql-sql
On Wed, 20 May 1998, The Hermit Hacker wrote:

>
> Hello
>
> I d like to know if it is possible to have the list of tables like we can do with psql with \dt
>
> thanks
>
-- list all and only tables/views...
SELECT usename, relname
FROM pg_class, pg_user
WHERE ( relkind = 'r')
AND relname !~ '^pg_'
AND relname !~ '^xin[vx][0-9]+'
AND usesysid = relowner
ORDER BY relname;
                                           Jose'



pgsql-sql by date:

Previous
From: The Hermit Hacker
Date:
Subject: list of tables?
Next
From: Oleg Broytmann
Date:
Subject: Re: [SQL] list of tables?