Minor syntax / thinko repairs. Remove 'update_fields' var, which is no
longer used.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
v_marc TEXT;
replace_rule TEXT;
match_count INT;
- update_fields TEXT[];
update_query TEXT;
BEGIN
JOIN vandelay.authority_match m ON (m.queued_record = q.id AND q.id = import_id)
LIMIT 1;
+ eg_marc := eg_marc_row.marc;
+
IF eg_marc IS NULL OR v_marc IS NULL THEN
-- RAISE NOTICE 'no marc for vandelay or authority record';
RETURN FALSE;
END IF;
- eg_marc := eg_marc_row.marc
-
-- Extract the editor string before any modification to the vandelay
-- MARC occur.
editor_string :=
v_marc TEXT;
replace_rule TEXT;
match_count INT;
- update_fields TEXT[];
update_query TEXT;
BEGIN
JOIN vandelay.authority_match m ON (m.queued_record = q.id AND q.id = import_id)
LIMIT 1;
+ eg_marc := eg_marc_row.marc;
+
IF eg_marc IS NULL OR v_marc IS NULL THEN
-- RAISE NOTICE 'no marc for vandelay or authority record';
RETURN FALSE;
END IF;
- eg_marc := eg_marc_row.marc
-
-- Extract the editor string before any modification to the vandelay
-- MARC occur.
editor_string :=