Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0PJC6q11182 for ; Thu, 25 Jan 2001 14:12:06 -0500 (EST) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0OJTZq59337 for ; Wed, 24 Jan 2001 14:29:35 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f0OJ6Sa85206 for pgsql-sql@postgresql.org; Wed, 24 Jan 2001 14:06:28 -0500 (EST) (envelope-from news) From: "Mike D'Agosta" X-Newsgroups: comp.databases.postgresql.sql Subject: Is there anything like DESCRIBE? Date: Wed, 24 Jan 2001 11:00:33 -0800 Organization: earthtribe.net Lines: 11 Message-ID: <94n93j$2j6j$1@news.tht.net> Reply-To: "Mike D'Agosta" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: pgsql-sql@postgresql.org X-Archive-Number: 200101/363 X-Sequence-Number: 1036 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 in psql). Postgres doesn't support DESCRIBE... is there any other way to do this? Thanks! Mike