Make redis behave like postgres