The reverted patch to change functions from strict to immutable was
incorrect and needs additional research.
CREATE FUNCTION unaccent(regdictionary, text)
RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict'
- LANGUAGE C IMMUTABLE STRICT;
+ LANGUAGE C STABLE STRICT;
CREATE FUNCTION unaccent(text)
RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict'
- LANGUAGE C IMMUTABLE STRICT;
+ LANGUAGE C STABLE STRICT;
CREATE FUNCTION unaccent_init(internal)
RETURNS internal
ALTER EXTENSION unaccent ADD text search template unaccent;
ALTER EXTENSION unaccent ADD text search dictionary unaccent;
--- These functions were marked as stable in 9.1; they were now marked as immutable
+-- These functions are marked as stable in 9.1, were not before:
-ALTER FUNCTION unaccent(regdictionary, text) IMMUTABLE;
-ALTER FUNCTION unaccent(text) IMMUTABLE;
+ALTER FUNCTION unaccent(regdictionary, text) STABLE;
+ALTER FUNCTION unaccent(text) STABLE;