Re: how to output column names

Поиск
Список
Период
Сортировка
От Michael Dengler
Тема Re: how to output column names
Дата
Msg-id e8733d090704191225j5e479e97n1b75c55a2c07423e@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how to output column names  (Jon Sime <jsime@mediamatters.org>)
Список pgsql-performance
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/

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jon Sime
Дата:
Сообщение: Re: how to output column names
Следующее
От: Andrew Lazarus
Дата:
Сообщение: index structure for 114-dimension vector