# File lib/dbd/pg/database.rb, line 105
105:     def tables
106:         stmt = execute("SELECT c.relname FROM pg_catalog.pg_class c WHERE c.relkind IN ('r','v') and pg_catalog.pg_table_is_visible(c.oid)")
107:         res = stmt.fetch_all.collect {|row| row[0]} 
108:         stmt.finish
109:         res
110:     end