Re: sql statement to give functionality of \d tablename? - Mailing list pgsql-sql

From Lee Harr
Subject Re: sql statement to give functionality of \d tablename?
Date
Msg-id ak3r9d$2avn$2@news.hub.org
Whole thread Raw
In response to sql statement to give functionality of \d tablename?  ("Philip Rudling" <psr@clara.net>)
List pgsql-sql
In article <1030007114.22469.0@iris.uk.clara.net>, Philip Rudling wrote:
> Is the an SQL statement that can be used from within a program that will
> give the output of \d command?  Like the describe command in MySQL's version
> of SQL?
> 


There is a flag to psql which will show you the sql from the
backslash commands. I believe it is -E, but check the manpage.



pgsql-sql by date:

Previous
From: "Philip Rudling"
Date:
Subject: sql statement to give functionality of \d tablename?
Next
From: "Roger Mathis"
Date:
Subject: signed/unsigned integers