From: Michael Dengler <michael.dengler@gmail.com>
To: Jon Sime <jsime@mediamatters.org>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: how to output column names
Date: Thu, 19 Apr 2007 15:25:58 -0400
Message-ID: <e8733d090704191225j5e479e97n1b75c55a2c07423e@mail.gmail.com> (raw)
In-Reply-To: <4627ABB7.8060306@mediamatters.org>
References: <e8733d090704191006x67b04219hb101564dabd5a4f0@mail.gmail.com>
<4627ABB7.8060306@mediamatters.org>
Perfect! thanks for the help!.
Mike
On 4/19/07, Jon Sime <jsime@mediamatters.org> wrote:
>
> Michael Dengler wrote:
> > Hi,
> >
> > Is there a query I can perform (perhaps on a system table) to return all
> > of the column names (ONLY the column names) for a given DB? (I seem to
> > remember doing this before but cant remember how)
> >
> > Thanks
> >
> > Mike
> >
>
> The 'columns' view in information_schema should do the trick for you.
>
> -Jon
>
> --
> Senior Systems Developer
> Media Matters for America
> http://mediamatters.org/
>
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-performance@postgresql.org
Cc: michael.dengler@gmail.com, jsime@mediamatters.org
Subject: Re: how to output column names
In-Reply-To: <e8733d090704191225j5e479e97n1b75c55a2c07423e@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