I'm running Debian 3.2 w/ PostgreSQL 9.2 installed. A co-worker of mine initialized the database cluster with japanese. So now, every single database created with createdb, no matter who the user is, is now instantiated with japanese as it's language.
I cannot find a way to reset the language back to english w/o having to run initdb again on a new cluster. I really don't want to do this as there is a lot of data that can't afford to go down.
From what I've read, the database cluster is set with japanese when the command with these flags are called initdb -D /place/for/data --locale=ja_JP. However when I create the same cluster and then use createdb to create a new database, the language of the error messages are in English. In my co-workers cluster, the error messages from this scenario would produce japanese error messages.
Can someone help me understand how the locales work in PostgreSQL 9.2? And what would be the way to change the cluster back into English?
lc_collateandlc_ctype(andencoding). Is that not enough in your case?