Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c0577c9

Browse files
committed
Mark unaccent functions as STABLE, rather than defaulting to VOLATILE.
1 parent 0a023a1 commit c0577c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/unaccent/unaccent.sql.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ SET search_path = public;
66
CREATE OR REPLACE FUNCTION unaccent(regdictionary, text)
77
RETURNS text
88
AS 'MODULE_PATHNAME', 'unaccent_dict'
9-
LANGUAGE C STRICT;
9+
LANGUAGE C STABLE STRICT;
1010

1111
CREATE OR REPLACE FUNCTION unaccent(text)
1212
RETURNS text
1313
AS 'MODULE_PATHNAME', 'unaccent_dict'
14-
LANGUAGE C STRICT;
14+
LANGUAGE C STABLE STRICT;
1515

1616
CREATE OR REPLACE FUNCTION unaccent_init(internal)
1717
RETURNS internal

0 commit comments

Comments
 (0)