Re: sql statement to give functionality of \d tablename?

Поиск
Список
Период
Сортировка
От Lee Harr
Тема Re: sql statement to give functionality of \d tablename?
Дата
Msg-id ak3r9d$2avn$2@news.hub.org
обсуждение исходный текст
Ответ на sql statement to give functionality of \d tablename?  ("Philip Rudling" <psr@clara.net>)
Список pgsql-sql
In article <1030007114.22469.0@iris.uk.clara.net>, Philip Rudling wrote:
> Is the an SQL statement that can be used from within a program that will
> give the output of \d command?  Like the describe command in MySQL's version
> of SQL?
> 


There is a flag to psql which will show you the sql from the
backslash commands. I believe it is -E, but check the manpage.



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

Предыдущее
От: "Philip Rudling"
Дата:
Сообщение: sql statement to give functionality of \d tablename?
Следующее
От: "Roger Mathis"
Дата:
Сообщение: signed/unsigned integers