Обсуждение: html table output of table space

Поиск
Список
Период
Сортировка

html table output of table space

От
pierre@desertmoon.com
Дата:
All,

  Before I spend my time working up a perl tool to html-ize the output
  of the \d command to document in html my data dictionary, is there

  a) Already a tool in existance?

  -or-

  b) A way to get the output of \d in html table format?


  Thanks.

  -=pierre

Re: [SQL] html table output of table space

От
Bruce Momjian
Дата:
> All,
>
>   Before I spend my time working up a perl tool to html-ize the output
>   of the \d command to document in html my data dictionary, is there
>
>   a) Already a tool in existance?
>
>   -or-
>
>   b) A way to get the output of \d in html table format?

psql has an html mode, so you can use that, and run the query that
psql.c has for \d.

The only reason \d doesn't work work with the html mode automatically is
that we do some special handling for varlena types in psql.c.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026