finally found the problem - wrong argument datatype for is_valid_marcxml
authorChris Sharp <csharp@georgialibraries.org>
Sat, 16 Feb 2013 17:52:59 +0000 (12:52 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 16 Feb 2013 17:52:59 +0000 (12:52 -0500)
Open-ILS/src/sql/Pg/version-upgrade/pines-pre-2.1-2.2-upgrade.sql

index 5dc709c..3fff207 100644 (file)
@@ -56,5 +56,5 @@ ALTER TABLE asset.copy DISABLE TRIGGER ALL;
 
 -- go ahead and find problem records if any exist because we don't want them to interfere with progress
 \o /tmp/problem-bib-records.out
-SELECT id FROM biblio.record_entry WHERE evergreen.is_valid_marcxml(marc) IS FALSE;
+SELECT id FROM biblio.record_entry WHERE is_valid_marcxml(id) IS FALSE;
 \o