immunda/flask-sqlalchemy — pull request #2 by devxoul (2014-05-26 04:45:15+00:00)
Title: Set `poolclass` as `NullPool` when `pool_size` is 0 for psycopg2 driver.

Postgres connections as idle state still remain after app context has popped.
(It's same pull request with mitsuhiko's flask-sqlalchemy, but it seemed not being maintained.)