LP#1560174: fix MARC import for database upgraded to 2.10.0
authorGalen Charlton <gmc@esilibrary.com>
Mon, 21 Mar 2016 19:23:42 +0000 (15:23 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 21 Mar 2016 21:51:35 +0000 (17:51 -0400)
commita11eaabdec82e1e4fe95271a09fb989ed52e1ba7
tree6420ca098ec6efadbd2e1c3eb7f8803206069277
parent7b37221dac66eb8dcef6a4ef8f41ec00f2ce267d
LP#1560174: fix MARC import for database upgraded to 2.10.0

This patch applies the correct version of the vandelay.ingest_items()
stored procedure introduced in the patch for bug 1548143.

To test
-------
[1] Upgrade an Evergreen database to 2.10.0 (a fresh database
    will not run into the bug).
[2] Try importing a MARC bib record via Vandelay using a profile
    that imports items.  This should fail.
[3] Apply the schema update in this patch.
[4] Repeat step 2; this time, the import should succeed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fix_vandelay_stored_procs.sql [new file with mode: 0644]