Ticket #1499 (closed defect: fixed)
topology regression tests fail creating already-present schema
|Reported by:||gdt||Owned by:||strk|
With r8916, pgsql 9.1.2 on NetBSD/i386 5ish, the topology tests pass on the first pass, and then fail to upgrade:
Upgrading topology Something went wrong during db initialization (topology upgrade). For details, check /tmp/pgis_reg_1268/regress_log gmake: *** [check] Error 1
In the log:
psql:/home/gdt/SOFTWARE/POSTGIS/postgis/regress/00-regress-install/share/contrib/postgis/topology_upgrade_20_minor.sql:212: ERROR: schema "topology" already exists
I tried commenting out the drop schema statement, but that caused it to happen during installation, which also failed. So it seems upgrade needs to cope with the schema already being present.