Added support for introspecting views for Postgresql.
I'm going to pass on this for now, but may reconsider adding this functionality (if it can be added cleanly for all supported database implementations). Thank you -- I may end up implementing this at some point and your code will certainly come in handy. Also, for what it's worth, if you want to increase the likelihood of getting a "new feature" patch merged, it should have tests and documentation as well. This is actually now implemented by 273008413737ff16d26b27f846a315cdf4875615

Although it will generate both regular tables *and* views if passed the `-v` option. There is no option to *just* generate views.
A command line switch will introspect views instead of tables in pwiz.py. A
get_views function was added for Postgres and NotImplemented version for the
interface. It would probably be more convenient for users to do both tables and
views at once, but this was an extremely simple way to do it. I did not add it for
others since I am mostly familiar with Postgres, but it seems pretty easy.