mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Mark unaccent functions as STABLE, rather than defaulting to VOLATILE.
This commit is contained in:
parent
0a023a14fc
commit
c0577c92a8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user