PostgreSQL: Show tables in PostgreSQL

后端 未结 24 2593
醉梦人生
醉梦人生 2020-11-28 16:58

What\'s the equivalent to show tables (from MySQL) in PostgreSQL?

24条回答
  •  执笔经年
    2020-11-28 17:36

    select 
      * 
    from 
      pg_catalog.pg_tables 
    where 
      schemaname != 'information_schema' 
      and schemaname != 'pg_catalog';
    

提交回复
热议问题