Bootstrap

对postgres的列做筛选查询

select d.nspname,b.relname,c.typname,* from pg_attribute a,pg_class b,pg_type c,pg_namespace d where attname like '%obj%' and
a.attrelid=b.oid and a.atttypid=c.oid
and b.relnamespace=d.oid
and nspname not in ('pg_catalog','information_schema')
;