Re: Outputting the Tables of a database

From: "Poul L(dot) Christiansen" <plc(at)faroenet(dot)fo>
To: "Brian C(dot) Doyle" <bcdoyle(at)mindspring(dot)com>
Cc: Pgsql-Sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Outputting the Tables of a database
Date: 2000-06-14 16:07:18
Message-ID: 3947ADB6.B83B11D1@faroenet.fo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Brian C. Doyle 2000-06-14 16:46:21 Outputting the Tables of a database
Previous Message Vadim Passynkov 2000-06-14 15:02:38 Some problem with inet type on PostgreSQL-7.0