Commit c0577c92 authored by Bruce Momjian's avatar Bruce Momjian

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

parent 0a023a14
...@@ -6,12 +6,12 @@ SET search_path = public; ...@@ -6,12 +6,12 @@ SET search_path = public;
CREATE OR REPLACE FUNCTION unaccent(regdictionary, text) CREATE OR REPLACE FUNCTION unaccent(regdictionary, text)
RETURNS text RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict' AS 'MODULE_PATHNAME', 'unaccent_dict'
LANGUAGE C STRICT; LANGUAGE C STABLE STRICT;
CREATE OR REPLACE FUNCTION unaccent(text) CREATE OR REPLACE FUNCTION unaccent(text)
RETURNS text RETURNS text
AS 'MODULE_PATHNAME', 'unaccent_dict' AS 'MODULE_PATHNAME', 'unaccent_dict'
LANGUAGE C STRICT; LANGUAGE C STABLE STRICT;
CREATE OR REPLACE FUNCTION unaccent_init(internal) CREATE OR REPLACE FUNCTION unaccent_init(internal)
RETURNS internal RETURNS internal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment