How to inspect a view's structure in information schema in PostgreSQL?
information_schema.columns already includes views; you can join with information_schema.views if you need to filter to only columns that are part of a view.