LP#1482757: More careful Located URI remapping
authorMike Rylander <mrylander@gmail.com>
Fri, 5 Aug 2016 12:56:05 +0000 (08:56 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 5 Aug 2016 12:56:05 +0000 (08:56 -0400)
commit7e22cac5f55eb598288ae9de33c8987fcf062f33
treef029a690ccfcd911e91d8de57dd98d1ba6ae22f1
parentb55b3cafbb9c64c39b1ad1fbbc0074066d616bba
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>
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]