Changes on postgresql