mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
20 lines
448 B
MySQL
20 lines
448 B
MySQL
|
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>');
|