2011-02-14 09:06:41 +08:00
|
|
|
/* contrib/unaccent/unaccent--unpackaged--1.0.sql */
|
|
|
|
|
2011-10-13 03:45:03 +08:00
|
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
2014-08-26 00:30:37 +08:00
|
|
|
\echo Use "CREATE EXTENSION unaccent FROM unpackaged" to load this file. \quit
|
2011-10-13 03:45:03 +08:00
|
|
|
|
2011-02-14 09:06:41 +08:00
|
|
|
ALTER EXTENSION unaccent ADD function unaccent(regdictionary,text);
|
|
|
|
ALTER EXTENSION unaccent ADD function unaccent(text);
|
|
|
|
ALTER EXTENSION unaccent ADD function unaccent_init(internal);
|
|
|
|
ALTER EXTENSION unaccent ADD function unaccent_lexize(internal,internal,internal,internal);
|
|
|
|
ALTER EXTENSION unaccent ADD text search template unaccent;
|
|
|
|
ALTER EXTENSION unaccent ADD text search dictionary unaccent;
|
2011-02-18 06:45:09 +08:00
|
|
|
|
2013-11-19 04:54:34 +08:00
|
|
|
-- These functions are marked as stable in 9.1, were not before:
|
2011-02-18 06:45:09 +08:00
|
|
|
|
2013-11-19 04:54:34 +08:00
|
|
|
ALTER FUNCTION unaccent(regdictionary, text) STABLE;
|
|
|
|
ALTER FUNCTION unaccent(text) STABLE;
|