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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy