fix postgresql check
Merge branch 'pure-python-db-checks' into omnibus_bundling