backing out postgres changes