From: Poul L. Christiansen <plc@faroenet.fo>
To: Brian C. Doyle <bcdoyle@mindspring.com>
Cc: Pgsql-Sql <pgsql-sql@postgresql.org>
Subject: Re: Outputting the Tables of a database
Date: Wed, 14 Jun 2000 18:07:18 +0200
Message-ID: <3947ADB6.B83B11D1@faroenet.fo> (raw)
References: <4.3.1.2.20000614124613.00b89c10@pop.internal.mindspring.com>
You could possibly use grep and awk to filter the output.
See "man grep" and "man awk" for details.
"Brian C. Doyle" wrote:
> Hello all,
>
> I am trying to out put the tables of a database. I have
>
> psql -d mydb -c "\d"
>
> This works but I am looking at turning on the html out put which it will
> not do. If I am able to get just the table titles that would be most ideal.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: plc@faroenet.fo, bcdoyle@mindspring.com
Subject: Re: Outputting the Tables of a database
In-Reply-To: <3947ADB6.B83B11D1@faroenet.fo>
References: <4.3.1.2.20000614124613.00b89c10@pop.internal.mindspring.com> <3947ADB6.B83B11D1@faroenet.fo>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox