From: | Kailash Vyas <kailash(dot)vyas(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Cc: | pankaj(at)interlink-marketing(dot)net |
Subject: | encoding issue with postgres 8.0 |
Date: | 2005-08-23 11:54:51 |
Message-ID: | a3cc7917050823045457dfe249@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
hi
i am migrating from postgres 7.3.9 to 8.0.3
I am facing a issue with encoding.
By default when i create new database it creates as UNICODE
In the earlier version the encoding was SQL_ASCII
so i am passing this variable while initializing the db directory
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data -E SQL_ASCII
but i get this warning when I run it.
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale en_GB.UTF-8.
initdb: warning: encoding mismatch
The encoding you selected (SQL_ASCII) and the encoding that the selected
locale uses (UTF-8) are not known to match. This may lead to
misbehavior in various character string processing functions. To fix
this situation, rerun initdb and either do not specify an encoding
explicitly, or choose a matching combination.
what is the matching locale that i should be using in this case?
thanks,
kailash
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2005-08-23 12:23:25 | Re: Creating tables...not a usual question (I think) |
Previous Message | Rodrigo Sakai | 2005-08-23 07:33:02 | Creating tables...not a usual question (I think) |