From jkanter@virginia.edu Tue Jan 22 15:39:53 2002 Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (8.11.3/8.11.4) with SMTP id g0MFdrl73705 for ; Tue, 22 Jan 2002 10:39:53 -0500 (EST) (envelope-from jkanter@virginia.edu) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa14716; 22 Jan 2002 10:39 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.9.3/8.9.3) with SMTP id KAA18108 for ; Tue, 22 Jan 2002 10:39:55 -0500 Message-ID: <00ff01c1a35b$501b4380$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: \d command Date: Tue, 22 Jan 2002 10:41:51 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00FC_01C1A331.66EFA170" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200201/137 X-Sequence-Number: 3024 This is a multi-part message in MIME format. ------=_NextPart_000_00FC_01C1A331.66EFA170 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 co= lumns in a table. Is there a describe statement? Thanks Jodi Kanter _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_00FC_01C1A331.66EFA170 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Can anyone tell me the sql that is being sent to the database when typ= eing=20 this command? I am working on writing some code that will show a list of co= lumns=20 in a table. Is there a describe statement?
Thanks
Jodi Kanter

_______________________________
Jodi=20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(434) 924-2846
jkanter@virginia.edu

 

 

 

<= /DIV> ------=_NextPart_000_00FC_01C1A331.66EFA170-- From jconway@cox.net Tue Jan 22 15:55:09 2002 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 From sszabo@megazone23.bigpanda.com Tue Jan 22 16:15:11 2002 Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0MGFBl93944 for ; Tue, 22 Jan 2002 11:15:11 -0500 (EST) (envelope-from sszabo@megazone23.bigpanda.com) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 7C444D5E5; Tue, 22 Jan 2002 08:15:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 71F5C5BF4; Tue, 22 Jan 2002 08:15:11 -0800 (PST) Date: Tue, 22 Jan 2002 08:15:11 -0800 (PST) From: Stephan Szabo To: Jodi Kanter Cc: Postgres Admin List Subject: Re: \d command In-Reply-To: <00ff01c1a35b$501b4380$de138f80@virginia.edu> Message-ID: <20020122081435.H5946-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200201/141 X-Sequence-Number: 3028 On Tue, 22 Jan 2002, 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? start psql with the -E option and it'll show you the queries used.