this stored procedure is a true function with no side effects
authorJason Etheridge <jason@esilibrary.com>
Tue, 11 Aug 2009 10:39:15 +0000 (10:39 +0000)
committerJason Etheridge <jason@esilibrary.com>
Tue, 11 Aug 2009 10:39:15 +0000 (10:39 +0000)
sql/base/base.sql

index f8c68e8..832f43c 100644 (file)
@@ -258,7 +258,7 @@ CREATE OR REPLACE FUNCTION migration_tools.name_parse_out_last_comma_prefix_firs
 
         RETURN ARRAY[ family_name, prefix, first_given_name, second_given_name, suffix ];
     END;
-$$ LANGUAGE PLPGSQL STRICT VOLATILE;
+$$ LANGUAGE PLPGSQL STRICT IMMUTABLE;
 
 CREATE OR REPLACE FUNCTION migration_tools.address_parse_out_citystatezip (TEXT) RETURNS TEXT[] AS $$
     DECLARE