LP#1482757: Be sure to remove all orphaned URI
authorMike Rylander <mrylander@gmail.com>
Fri, 19 May 2017 19:33:03 +0000 (15:33 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 23 Apr 2020 16:28:43 +0000 (12:28 -0400)
commitdb720c4bd4980ffc9134dc6e84fdb960cfcf7e0b
tree1cc680d4b9b457f257d1613c46343a649b67280e
parent947a45265eb8575d1021e04ba161613a28a98953
LP#1482757: Be sure to remove all orphaned URI

As reported by Michele Morgan, URIs can be orphaned in some cases, such
as when a location drops one of several 856 entries.  This commit tracks
objects at the mapping level, to identify disused URIs even where the
call number level is not changed.

Signed-off-by: Mike Rylander <mrylander@gmail.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