SELECT C
.relname AS 表名称,
CAST ( obj_description ( relfilenode, 'pg_class' ) AS VARCHAR ) 表说明
FROM
pg_class C
WHERE
C.relname IN ( SELECT tablename FROM pg_tables WHERE tablename NOT LIKE'pg%' AND tablename NOT LIKE'sql_%' )
ORDER BY
C.relname
Postgres 查询所有表名
最新推荐文章于 2024-07-21 19:15:03 发布