Postgresql Max Integer Value In Python A Namespace