fixes #6427 : Can't start server when you upgrade from 2.2 using postgre...

...s