changes to postgresql