LP#1482757: More careful Located URI remapping
authorMike Rylander <mrylander@gmail.com>
Fri, 5 Aug 2016 12:56:05 +0000 (08:56 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 25 Feb 2022 19:56:36 +0000 (14:56 -0500)
commit22b4abd1ddf06acae25b4dcfb2adb9b56e0e2846
tree87a8bf890fbdb11a22b22362166f109067299a55
parent7fb2ccc551797063aa2cb220a3ad33a2d9f405fb
LP#1482757: More careful Located URI remapping

Instead of recreating all Located URI mappings, we will add any new
ones and remember all those (existing and new) that are in use. Any
existing maps that we don't see in this record, and whose URI is only
used once previously and therefore about to be orphaned, we remove.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql [new file with mode: 0644]