Upgrade postgres.py to 1.1.0

This gets us the one_or_zero method and a couple bug fixes.