Re: Is there anything like DESCRIBE?

Поиск
Список
Период
Сортировка
От Ron Peterson
Тема Re: Is there anything like DESCRIBE?
Дата
Msg-id 3A70E240.64FC7006@yellowbank.com
обсуждение исходный текст
Ответ на Is there anything like DESCRIBE?  ("Mike D'Agosta" <mdagosta@earthtribe.net>)
Список pgsql-sql
Mike D'Agosta wrote:
> 
> Hi,
> 
>    I have a number of empty tables and I want to get the column names and
> data types with an SQL statement. I want to do this procedurally, not
> interactively (so I can't use \d <tablename> in psql). Postgres doesn't
> support DESCRIBE... is there any other way to do this?

src/tutorial/syscat.source has some examples you might like to study.

-Ron-


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

Предыдущее
От: "Glen and Rosanne Eustace"
Дата:
Сообщение: Re: Problem with Dates
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Rule not invoked in 7.1