LP#1482757: Be sure to remove all orphaned URI user/miker/lp1482757-cleaner-uri-extraction
authorMike Rylander <mrylander@gmail.com>
Fri, 19 May 2017 19:33:03 +0000 (15:33 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 19 May 2017 19:49:56 +0000 (15:49 -0400)
commit45e60b0d29e7ad177e333c7c77b6e52aa1d00079
tree188276293c9e08440d04d093fcfaca22ddaf79b7
parent7e22cac5f55eb598288ae9de33c8987fcf062f33
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>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql