如何在db中有两个方案时显示PostgreSql中的所有表?
答
您可以使用PostgreSQL的information schema,像这样:
select table_name from information_schema.tables where table_schema = 'scheme_one';