2020
12-24
12-24
PostgreSQL 查找当前数据库的所有表操作
实现的功能类似MySQL:showtables;在PostgreSQL中需要写:select*frompg_tableswhereschemaname='public';返回结果类似如下:schemaname|tablename|tableowner|tablespace|hasindexes|hasrules|hastriggers|rowsecurity------------+-----------+------------+------------+------------+----------+-------------+-------------public|deploy|postgres||t|f|f|fpublic|deploy...
继续阅读 >