From: Michael Fuhr <mike@fuhr.org>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: field names
Date: Fri, 22 Apr 2005 22:30:32 -0600
Message-ID: <20050423043032.GA96231@winnie.fuhr.org> (raw)
In-Reply-To: <4267F301.7050205@virginia.edu>
References: <4267F301.7050205@virginia.edu>
On Thu, Apr 21, 2005 at 02:37:53PM -0400, Jodi Kanter wrote:
>
> I'd like to check field names for various tables in our code. Is there a
> system table that lists the field names of each table? ...some way to
> query this information to run an error check?
See the "System Catalogs" and "The Information Schema" chapters in
the documentation (the latter in 7.4 and later).
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, jkanter@virginia.edu
Subject: Re: field names
In-Reply-To: <20050423043032.GA96231@winnie.fuhr.org>
References: <4267F301.7050205@virginia.edu> <20050423043032.GA96231@winnie.fuhr.org>
* 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