--- On Mon, 12/17/07, danap@dandymadeproductions.com
> I've reviewed much of the documentation and the forums,
> but unable to seem to find a easy way to obtain the same
> thing as the 'psql \d table' through sql. I
I've never understood the information schema well enough to construct my own sql queries that provide the same useful
informationas 'psql \d'. So instead, I cheat:
start psql with the '-E' option to echo all sql strings psql sends to the back-end server.
Simply copy and tailor each statement to suit your needs.
Regards,
Richard Broersma Jr.