DROP biblio.reingest_uris() after use
authorDan Scott <dan@coffeecode.net>
Mon, 20 Jun 2011 15:16:21 +0000 (11:16 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 20 Jun 2011 15:57:11 +0000 (11:57 -0400)
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 <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/0559.schema.biblio.extract_located_uris.sql

index 85d62ab..428d7a0 100644 (file)
@@ -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;