]> 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:53:50 +0000 (16:53 -0400)
commit0089afe08d72b777bdc7696e883795021b266d46
tree1a4a83f217f40fd0c932ac42159fba87845b2b18
parente54bbbbe0c0462cbb07612f16b6c92c015ba47e4
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]