Re: Describe Table

Поиск
Список
Период
Сортировка
От Erik Jones
Тема Re: Describe Table
Дата
Msg-id AB0DA566-22CA-4D99-B743-F87516E70FDD@myemma.com
обсуждение исходный текст
Ответ на Describe Table  (<danap@dandymadeproductions.com>)
Ответы Re: Describe Table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Dec 17, 2007, at 10:56 AM, <danap@dandymadeproductions.com>
<danap@dandymadeproductions.com> wrote:

> I've reviewed much of the documentation and the forums,
> but unable to seem to find a easy way to obtain the same
> thing as the 'psql \d table' through sql. I know I can create
> through collecting info on table, but seems there must be an
> easier way. I desire to create a standard type SQL dump
> syntax.

If you start psql with the -E flag, it will display all sql generated
by internal commands such as those generated by \d commands.

Erik Jones

Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com




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

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: Re: passing a multiple join to a function?
Следующее
От: Colin Wetherbee
Дата:
Сообщение: Re: Describe Table