Re: \d command - Mailing list pgsql-admin

From Joe Conway (wwc)
Subject Re: \d command
Date
Msg-id 3C4D8B65.8080706@cox.net
Whole thread Raw
In response to \d command  (Jodi Kanter <jkanter@virginia.edu>)
List 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




pgsql-admin by date:

Previous
From: Jodi Kanter
Date:
Subject: \d command
Next
From: Radu-Adrian Popescu
Date:
Subject: [Fwd: Re: \d command]