postgresql/contrib/unaccent/sql/unaccent.sql

20 lines
448 B
MySQL
Raw Normal View History

2009-08-18 18:34:39 +08:00
SET client_min_messages = warning;
\set ECHO none
\i unaccent.sql
\set ECHO all
RESET client_min_messages;
SET client_encoding TO 'KOI8';
SELECT unaccent('foobar');
SELECT unaccent('<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
SELECT unaccent('<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
SELECT unaccent('unaccent', 'foobar');
SELECT unaccent('unaccent', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
SELECT unaccent('unaccent', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
SELECT ts_lexize('unaccent', 'foobar');
SELECT ts_lexize('unaccent', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
SELECT ts_lexize('unaccent', '<EFBFBD><EFBFBD><EFBFBD><EFBFBD>');