Originally reported by: Robert Brewer (Bitbucket: fumanchu, GitHub: fumanchu)
The current !PostgresqlSession class:
- Is incomplete without a get_db function. At the least, it should try to import pypgsql and psycopg.
- Is broken, since it doesn't even INSERT new rows.
- Is too specific. It should be transformed into a generic DBAPISession class (which would make it incomplete again, but why limit ourselves to a single provider for such a simple need?).