From: Dan Scott Date: Mon, 20 Jun 2011 15:16:21 +0000 (-0400) Subject: DROP biblio.reingest_uris() after use X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b066d2c3b129e8d0738a061e23200d8311d251bf;p=contrib%2FConifer.git 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 --- 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;