小编Man*_*eep的帖子

更改数据库排序规则,Postgresql中的Ctype

如何将Collat​​ion,cType更改为 - en_INfromen_US.UTF-8

                              List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access privileges   
-----------+----------+----------+-------------+-------------+-----------------------
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
Run Code Online (Sandbox Code Playgroud)

我当前的postgresversion是8.4我用它安装它

sudo apt-get install postgresql-8.4 postgresql-contrib-8.4
Run Code Online (Sandbox Code Playgroud)

我在我的ubuntu亚马逊服务器ec2中这样做

postgresql postgresql-8.4

12
推荐指数
3
解决办法
3万
查看次数

标签 统计

postgresql ×1

postgresql-8.4 ×1