PgSQL implementation of TableInfo.
See this Python code by David M. Cook for some good reference on Pgsql metadata functions: Here's some more information from postgresql: http://developer.postgresql.org/docs/pgsql/src/backend/catalog/information_schema.sql todo 7. Hans Lellelid <hans@xmpl.org>