fixed postgresql problem

I know it's the wrong name for the commit, but came across this problem and fixed it. used same commit so that we could move forward.