Add indicators; Remove junk tags user/miker/auth_indicators_and_junk
authorMike Rylander <mrylander@gmail.com>
Fri, 1 Nov 2013 17:57:35 +0000 (13:57 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 1 Nov 2013 17:57:35 +0000 (13:57 -0400)
commit3e0d92bcc3450ea4748ac63139f22557a5d43b0a
treee1f9e5af39e3f55382e24c50f0e74381f0fe08f1
parentab685448207ea0ae99b9c954d600090a44d5e640
Add indicators; Remove junk tags

First, we were not supplying authority tag indicators when generating the
overlay template.  The xml merge function does not currently transfer
indicators, but we need to do this anyway because newer MARC::Field version
balk at fields with no indicators.

Second, PG 9.1+ adds wrapper tags to xml content that is passed to XMLELEMENT
as an array.  So, we'll use XMLAGG to get around that.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/011.schema.authority.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.auth_overlay_generator.sql [new file with mode: 0644]