summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2010-12-27 15:34:42 -0500
committerBruce Momjian <bruce@momjian.us>2010-12-27 15:34:42 -0500
commitc0577c92a84cc477a88fe6868c16c4a7e3348b11 (patch)
treeadb417543173264cd07a00184318a782a38c9156 /contrib
parent0a023a14fc8df6edf7734763da3870897b9c1dd8 (diff)
downloadpostgresql-c0577c92a84cc477a88fe6868c16c4a7e3348b11.tar.gz
Mark unaccent functions as STABLE, rather than defaulting to VOLATILE.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/unaccent/unaccent.sql.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/unaccent/unaccent.sql.in b/contrib/unaccent/unaccent.sql.in
index 7e397cc8d2..6d712e7bb8 100644
--- a/contrib/unaccent/unaccent.sql.in
+++ b/contrib/unaccent/unaccent.sql.in
@@ -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