Re: [SQL] html table output of table space - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] html table output of table space
Date
Msg-id 199812311722.MAA05507@candle.pha.pa.us
Whole thread Raw
In response to html table output of table space  (pierre@desertmoon.com)
List pgsql-sql
> 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

pgsql-sql by date:

Previous
From: pierre@desertmoon.com
Date:
Subject: html table output of table space
Next
From: Greg Youngblood
Date:
Subject: HELP: Problems with triggers and sql functions