I would like to use a SQL query that does the same thing as pgdump --schema-only.
pgdump --schema-only
Use case: Need to get schema for a production AWS RDS Aurora PostgreSQL db.