]> git.evergreen-ils.org Git - Evergreen.git/commit
Add indicators; Remove junk tags
authorMike Rylander <mrylander@gmail.com>
Fri, 1 Nov 2013 17:57:35 +0000 (13:57 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 1 Nov 2013 20:25:34 +0000 (16:25 -0400)
commit84197529d5b7080c4b61850b591a59103688b644
treed2a196b3408ab5e89b6b5ede5a6491cd5ca8511a
parent23559e20eb03b43e74cdc5a9cf2325795e48f315
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>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
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]