--- On Mon, 12/17/07, [EMAIL PROTECTED] 

> 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 information as '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.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to