Update from 2.9.0 beta2 to beta4 failed (my site is down)

Hello,
I do use internal postgres. How to check and fix privileges of database user?