Fixed issue #8614: Error during upgrade vom 2.00 to 2.05 when using Postgres