Mark unaccent functions as STABLE, rather than defaulting to VOLATILE.

This commit is contained in:
Bruce Momjian 2010-12-27 15:34:42 -05:00
parent 0a023a14fc
commit c0577c92a8
1 changed files with 2 additions and 2 deletions

View File

@ -6,12 +6,12 @@ SET search_path = public;
CREATE OR REPLACE FUNCTION unaccent(regdictionary, text)
RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict'
LANGUAGE C STRICT;
LANGUAGE C STABLE STRICT;
CREATE OR REPLACE FUNCTION unaccent(text)
RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict'
LANGUAGE C STRICT;
LANGUAGE C STABLE STRICT;
CREATE OR REPLACE FUNCTION unaccent_init(internal)
RETURNS internal