Re: how to output column names

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

Предыдущее
От: "Michael Dengler"
Дата:
Сообщение: how to output column names
Следующее
От: "Michael Dengler"
Дата:
Сообщение: Re: how to output column names