How Can I Export All Tables and Views from a Database?
You can use pg_tables and pg_views to query all table information and views in a database. Example:
SELECT * FROM pg_tables; SELECT * FROM pg_views;
For details about the returned columns, see PG_TABLES and PG_VIEWS.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.