Add local postgres database support