LP#1864507: (follow-up) fix another error in the 1344 schema update
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 2 Nov 2022 23:13:02 +0000 (19:13 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 2 Nov 2022 23:13:52 +0000 (19:13 -0400)
The normalizer is already present, so trying to add it again
breaks the update.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/sql/Pg/upgrade/1344.function.trim_trailing_punct-improvement.sql

index 8238e34..4ebf5ed 100644 (file)
@@ -45,13 +45,6 @@ END;
 $$ language 'plpgsql';
 
 
-INSERT INTO config.index_normalizer (name, description, func, param_count) VALUES (
-       'Trim Trailing Punctuation',
-       'Eliminate extraneous trailing ISBD punctuation in text: slashes, colons, commas, and periods',
-       'metabib.trim_trailing_punctuation',
-       0
-);
-
 INSERT INTO config.metabib_field_index_norm_map (field,norm,pos)
     SELECT  m.id,
             i.id,