Hi @Geremia,
See e.g. this thread: Upgrade failure (Postgresql)
Regards, Alec Smecher Public Knowledge Project Team