Received: from mx1.relaypoint.net (ns2.generalbroadband.com [64.32.62.5]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0MFt9l85433 for ; Tue, 22 Jan 2002 10:55:09 -0500 (EST) (envelope-from jconway@cox.net) Received: from [206.19.64.3] (account jconway@wwc.com HELO cox.net) by mx1.relaypoint.net (CommuniGate Pro SMTP 3.4.8) with ESMTP id 2491901; Tue, 22 Jan 2002 07:55:13 -0800 Message-ID: <3C4D8B65.8080706@cox.net> Date: Tue, 22 Jan 2002 07:55:17 -0800 From: "Joe Conway (wwc)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6+) Gecko/20011219 X-Accept-Language: en-us MIME-Version: 1.0 To: Jodi Kanter CC: Postgres Admin List Subject: Re: \d command References: <00ff01c1a35b$501b4380$de138f80@virginia.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200201/139 X-Sequence-Number: 3026 Jodi Kanter wrote: > Can anyone tell me the sql that is being sent to the database when > typeing this command? I am working on writing some code that will show a > list of columns in a table. Is there a describe statement? > > Thanks > > Jodi Kanter Start up psql with the -E switch. It will then show you all the internal sql statements that it uses. HTH, Joe