this is the second installment in our discussion of locales, character encodings, and collations in postgresql. in this installment, we’ll talk about character encodings as they relate to...
本文讨论了postgresql中的字符编码问题,强调字符编码是代码点与字符的映射。postgresql需要了解文本编码以进行比较和索引。创建数据库时需指定编码,推荐使用utf-8,尽管速度慢于'c'编码,但能避免混合编码问题。