Re: Get the tables names? - Mailing list pgsql-sql

From Nils Zonneveld
Subject Re: Get the tables names?
Date
Msg-id 3B576455.4F927009@mbit.nl
Whole thread Raw
List pgsql-sql

Magnus Landahl wrote:
> 
> Hi everybody!
> 
> Is it possible to get the names of all tables in the database with a sql
> query??
> 

select tablename from pg_tables where tablename !~ '^pg_';

or more SQL92 like:

select tablename from pg_tables where tablename not like 'pg_%';

Kind regards,

Nils Zonneveld

-- 
Alles van waarde is weerloos
Lucebert


pgsql-sql by date:

Previous
From: "Fons Rave"
Date:
Subject: Records exactly the same.
Next
From: "danno"
Date:
Subject: querying values defined in a check constraint