From b0c429965f1aa0de189b36139f2e12cde22f9c87 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 6 Aug 2014 09:18:37 -0400 Subject: [PATCH] Fix 030.schema.metabib.sql breakage. The fix for LP 1322285 introduced a change to 030.schema.metabib.sql that was not only not needed, but breaks building a fresh schema. Signed-off-by: Jason Stephenson Signed-off-by: Thomas Berezansky --- Open-ILS/src/sql/Pg/030.schema.metabib.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/sql/Pg/030.schema.metabib.sql b/Open-ILS/src/sql/Pg/030.schema.metabib.sql index 6bde362f17..fa2710d2ed 100644 --- a/Open-ILS/src/sql/Pg/030.schema.metabib.sql +++ b/Open-ILS/src/sql/Pg/030.schema.metabib.sql @@ -937,7 +937,7 @@ CREATE OR REPLACE FUNCTION biblio.marc21_extract_all_fixed_fields( rid BIGINT ) $func$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION biblio.marc21_physical_characteristics( rid BIGINT ) RETURNS SETOF biblio.marc21_physical_characteristics AS $func$ - SELECT id, $1 AS record, ptype, subfield, value FROM vandelay.marc21_physical_characteristics( (SELECT marc FROM biblio.record_entry WHERE id = $1), TRUE ); + SELECT id, $1 AS record, ptype, subfield, value FROM vandelay.marc21_physical_characteristics( (SELECT marc FROM biblio.record_entry WHERE id = $1) ); $func$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION biblio.extract_quality ( marc TEXT, best_lang TEXT, best_type TEXT ) RETURNS INT AS $func$ -- 2.11.0