optional postfix param for get_db
Merge pull request #235 from dimagi/postfix

optional postfix param for get_db