Re: Query to return schema/table/columname/columntype

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: paallen(at)attglobal(dot)net
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query to return schema/table/columname/columntype
Date: 2007-01-19 15:45:49
Message-ID: 20070119154549.GB13687@wolff.to
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, Jan 19, 2007 at 12:41:19 +0000,
paallen(at)attglobal(dot)net wrote:
> For background I am selecting table & schema by
> the query:
> SELECT schemaname || '.' || tablename AS tablename
> FROM pg_tables ORDER BY tablename;

Are you guaranteed that all of the names are lower case? If not you may want
to include quoting in your query.

I didn't have a good answer for the base question you asked; this was more
under the suggestions category.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message chester c young 2007-01-19 16:28:53 Re: Query to return schema/table/columname/columntype
Previous Message paallen 2007-01-19 14:23:32 Re: Query to return schema/table/columname/columntype