postgresql 反向生成数据字典
SELECT tbl.tablename AS 表名, a.attnum AS 字段顺序, a.attname AS 字段名, pg_type.typname AS 字段类型, col_description(a.attrelid, a.attnum) AS 注释, case a.attnotnull when 'f' then '否' when 't' then '是' end AS 是否必填...