| 7 | It'll be important to support the `COLLATE` clause for index creation too. Otherwise users will get upset when their queries don't use the index that seems to be appropriate for the query. |
| 8 | |
| 9 | Most of the time it's best to specify `COLLATE` on a column in DDL, not in a query. That way queries using the column and indexes on the column automatically use the desired collation. You can "declare" a given column to be binary-sorted text where you don't care about national language collation. |
| 10 | |
| 11 | {{{ |
| 12 | CREATE TABLE some_table ( |
| 13 | ...., |
| 14 | test_field text COLLATE "C", |
| 15 | ... |
| 16 | ); |
| 17 | }}} |
| 18 | |