Restoring extension based topology dump fails resetting the topology sequence
|Reported by:||strk||Owned by:||strk|
Restored dump of database with extension-based topology and a topology fails to restore the topology sequence, so that next invocation of CreateTopology finds duplicated key.
touch empty.sql empty_expected regress/run_test.pl -v \ --dumprestore --upgrade \ --topology --extension \ --before-upgrade-script topology/test/regress/hooks/hook-before-upgrade-topology.sql \ --after-upgrade-script topology/test/regress/hooks/hook-after-upgrade-topology.sql \ empty
Caught by CI here: https://gitlab.com/postgis/postgis/-/jobs/3797640891#L5292