pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
\d command
3+ messages / 3 participants
[nested] [flat]

* \d command
@ 2002-01-22 15:41  Jodi Kanter <jkanter@virginia.edu>
  0 siblings, 2 replies; 3+ messages in thread

From: Jodi Kanter @ 2002-01-22 15:41 UTC (permalink / raw)
  To: pgsql-admin

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
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(434) 924-2846
jkanter@virginia.edu



 

 

 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: \d command
@ 2002-01-22 15:55  Joe Conway (wwc) <jconway@cox.net>
  parent: Jodi Kanter <jkanter@virginia.edu>
  1 sibling, 0 replies; 3+ messages in thread

From: Joe Conway (wwc) @ 2002-01-22 15:55 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin

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






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: \d command
@ 2002-01-22 16:15  Stephan Szabo <sszabo@megazone23.bigpanda.com>
  parent: Jodi Kanter <jkanter@virginia.edu>
  1 sibling, 0 replies; 3+ messages in thread

From: Stephan Szabo @ 2002-01-22 16:15 UTC (permalink / raw)
  To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin


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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-01-22 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-22 15:41 \d command Jodi Kanter <jkanter@virginia.edu>
2002-01-22 15:55 ` Joe Conway (wwc) <jconway@cox.net>
2002-01-22 16:15 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

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