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:38:30 +0000 (17:38 -0400)
commit406ca64f37fbad3fecb3e04b88524ed43058ffd4
tree2ca5b6a3f40207e9507c6d93a385d5b8c794529e
parent24da1cc22d4dd029b2d888d0380854ac6209ad59
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]