From: Viktor Bojović <viktor.bojovic@gmail.com>
To: John Fabiani <johnf@jfcomputer.com>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: is there a refactor
Date: Tue, 5 Apr 2011 16:39:10 +0200
Message-ID: <BANLkTinwaGUox8+zDm9kZWHmtJdMAqMMKw@mail.gmail.com> (raw)
In-Reply-To: <201104050727.24713.johnf@jfcomputer.com>
References: <201104050727.24713.johnf@jfcomputer.com>
Hi John,
everything you need is stored in these tables:
http://www.postgresql.org/docs/7.4/static/catalog-pg-attribute.htmlhttp://www.postgresql.org/docs/7.4/static/catalog-pg-class.htmlhttp://www.postgresql.org/docs/7.4/static/catalog-pg-namespace.html
On Tue, Apr 5, 2011 at 4:27 PM, John Fabiani <johnf@jfcomputer.com> wrote:
> Hi,
> I would like to have a simple way to retrieve information for a field name.
> By that I mean have some SQL select that will return all the tables a field
> name exist within a database. I did not find anything with google but of
> course google depends on the search string.
>
> Thanks in advance,
> Johnf
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>
--
---------------------------------------
Viktor Bojović
---------------------------------------
Wherever I go, Murphy goes with me
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: viktor.bojovic@gmail.com, johnf@jfcomputer.com
Subject: Re: is there a refactor
In-Reply-To: <BANLkTinwaGUox8+zDm9kZWHmtJdMAqMMKw@mail.gmail.com>
* 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