次のクエリを作成しました。
select
is_tables.table_name
from information_schema.tables is_tables
join pg_tables
on is_tables.table_name=pg_tables.tablename
where
is_tables.table_catalog='<mydatabase>'
and is_tables.table_schema<>'information_schema'
and is_tables.table_schema<>'pg_catalog'
and pg_tables.tableowner='<myuser>';
これを照会するデータベースベンダーに依存しない方法はないと思います。これは、PostgreSQL で目的を達成するための最も簡単で最短の SQL クエリですか?