Support postgres 9.3 in setupdb_app.py