Switch to using postgres