From: Mike D'Agosta <mdagosta@earthtribe.net>
To: pgsql-sql@postgresql.org
Subject: Is there anything like DESCRIBE?
Date: Wed, 24 Jan 2001 11:00:33 -0800
Message-ID: <94n93j$2j6j$1@news.tht.net> (raw)
Hi,
I have a number of empty tables and I want to get the column names and
data types with an SQL statement. I want to do this procedurally, not
interactively (so I can't use \d <tablename> in psql). Postgres doesn't
support DESCRIBE... is there any other way to do this?
Thanks!
Mike
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: mdagosta@earthtribe.net
Subject: Re: Is there anything like DESCRIBE?
In-Reply-To: <94n93j$2j6j$1@news.tht.net>
References: <94n93j$2j6j$1@news.tht.net>
* 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