Switching to the postgres