Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.1/8.9.1) with ESMTP id MAA26882 for ; Thu, 31 Dec 1998 12:27:13 -0500 (EST) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id MAA05507; Thu, 31 Dec 1998 12:22:31 -0500 (EST) From: Bruce Momjian Message-Id: <199812311722.MAA05507@candle.pha.pa.us> Subject: Re: [SQL] html table output of table space In-Reply-To: <19981231162734.10970.qmail@desertmoon.com> from "pierre@desertmoon.com" at "Dec 31, 1998 9:27:34 am" To: pierre@desertmoon.com Date: Thu, 31 Dec 1998 12:22:31 -0500 (EST) Cc: pgsql-sql@hub.org X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > 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