From b066d2c3b129e8d0738a061e23200d8311d251bf Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 20 Jun 2011 11:16:21 -0400 Subject: [PATCH] DROP biblio.reingest_uris() after use We will hopefully only need to reingest URIs in bulk once, and can therefore DROP the biblio.reingest_uris() function after it has been successfully invoked. Signed-off-by: Dan Scott Signed-off-by: Galen Charlton --- .../sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql b/Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql index 85d62abc2b..428d7a05ed 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql @@ -151,5 +151,7 @@ $func$ LANGUAGE PLPGSQL; -- Kick off the reingest; this may take a while SELECT biblio.reingest_uris(); +-- Hopefully this isn't something we'll need to run again +DROP FUNCTION biblio.reingest_uris(); COMMIT; -- 2.43.2