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
|
|
|
|
\echo Use "CREATE EXTENSION unaccent" to load this file. \quit
|
|
|
|
|
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
|
|
|
|
|
|
|
-- These functions are marked as stable in 9.1, were not before:
|
|
|
|
|
|
|
|
ALTER FUNCTION unaccent(regdictionary, text) STABLE;
|
|
|
|
ALTER FUNCTION unaccent(text) STABLE;
|