pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: paallen@attglobal.net
Cc: pgsql-sql@postgresql.org
Subject: Re: Query to return schema/table/columname/columntype
Date: Fri, 19 Jan 2007 09:45:49 -0600
Message-ID: <20070119154549.GB13687@wolff.to> (raw)
In-Reply-To: <20070119124622.0DE929FB2A3@postgresql.org>
References: <20070119124622.0DE929FB2A3@postgresql.org>

On Fri, Jan 19, 2007 at 12:41:19 +0000,
  paallen@attglobal.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.



view thread (5+ messages)  latest in thread

Message-ID: <20070119154549.GB13687@wolff.to>
Permalink:  ../20070119154549.GB13687@wolff.to/
Also on:    postgresql.org/message-id/20070119154549.GB13687@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, paallen@attglobal.net
  Subject: Re: Query to return schema/table/columname/columntype
  In-Reply-To: <20070119154549.GB13687@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox