LP#1496837: Postgres fixed a bug and broke our test
authorMike Rylander <mrylander@gmail.com>
Thu, 17 Sep 2015 12:24:56 +0000 (08:24 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 17 Sep 2015 12:44:51 +0000 (08:44 -0400)
So, we will unbreak it here.  The PG fix in question can be seen here:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=c975fa4713c2325623d7bbfd81806327234281ac

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg

index 14e73fc..c7e7f83 100644 (file)
@@ -18,7 +18,7 @@ BEGIN;
 SELECT plan(1);
 
 SELECT is(
-    $$<record xmlns="http://www.loc.gov/MARC21/slim"><leader>00881nam a2200193   4500</leader><datafield tag="600" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="800" ind1="1" ind2=" "><subfield code="a">Girdlestone, Cuthbert Morton,</subfield><subfield code="d">1895-1975</subfield></datafield><datafield tag="905" ind1=" " ind2=" "><subfield code="r">600abcdfklmnopqrstvxyz[0~\)1$],100abcdfklmnopqrstvxyz[0~\)1$],700abcdfklmnopqrstvxyz[0~\)1$],800abcdfklmnopqrstvxyz[0~\)1$]</subfield></datafield></record>$$,
+    $$<record xmlns="http://www.loc.gov/MARC21/slim"><leader>00881nam a2200193   4500</leader><datafield tag="600" ind1="1" ind2=" "><subfield xmlns="http://www.loc.gov/MARC21/slim" code="a">Girdlestone, Cuthbert Morton,</subfield><subfield xmlns="http://www.loc.gov/MARC21/slim" code="d">1895-1975</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield xmlns="http://www.loc.gov/MARC21/slim" code="a">Girdlestone, Cuthbert Morton,</subfield><subfield xmlns="http://www.loc.gov/MARC21/slim" code="d">1895-1975</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield xmlns="http://www.loc.gov/MARC21/slim" code="a">Girdlestone, Cuthbert Morton,</subfield><subfield xmlns="http://www.loc.gov/MARC21/slim" code="d">1895-1975</subfield></datafield><datafield tag="800" ind1="1" ind2=" "><subfield xmlns="http://www.loc.gov/MARC21/slim" code="a">Girdlestone, Cuthbert Morton,</subfield><subfield xmlns="http://www.loc.gov/MARC21/slim" code="d">1895-1975</subfield></datafield><datafield tag="905" ind1=" " ind2=" "><subfield code="r">600abcdfklmnopqrstvxyz[0~\)1$],100abcdfklmnopqrstvxyz[0~\)1$],700abcdfklmnopqrstvxyz[0~\)1$],800abcdfklmnopqrstvxyz[0~\)1$]</subfield></datafield></record>$$,
     (select authority.generate_overlay_template(marc) from authority.record_entry where id = 1),
     'authority.generate_overlay_template includes indicators and excludes junk tags'
 );