Re: How do I make a query return all table names?

From: Alain Picard <apicard(at)optushome(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I make a query return all table names?
Date: 2002-02-24 04:36:13
Message-ID: 86r8nb5wea.fsf@gondolin.local.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

konradatwork(at)hotmail(dot)com (Konrad) writes:

> I just want to send a query to the db that returns a list of all names
> of all of the tables in the current database.
>
> Is there such a query?

select * from pg_tables;

--
It would be difficult to construe Larry Wall, in article
this as a feature. <1995May29(dot)062427(dot)3640(at)netlabs(dot)com>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas T. Thai 2002-02-24 05:09:40 casting columns to point
Previous Message paul simdars 2002-02-24 04:06:22 Starting Postmaster