Switched away from deprecated postgres gem