mirror of
https://github.com/postgres/postgres.git
synced 2026-03-23 10:55:21 -04:00
10 lines
253 B
MySQL
10 lines
253 B
MySQL
|
|
SELECT getdatabaseencoding() <> 'UTF8' AS skip_test \gset
|
||
|
|
\if :skip_test
|
||
|
|
\quit
|
||
|
|
\endif
|
||
|
|
|
||
|
|
-- Index 50 translations of the word "Mathematics"
|
||
|
|
CREATE TEMP TABLE mb (s text);
|
||
|
|
\copy mb from 'data/trgm_utf8.data'
|
||
|
|
CREATE INDEX ON mb USING gist(s gist_trgm_ops);
|