Обсуждение: BUG #7795: Cannot choose UTF-8 encoding for initdb
The following bug has been logged on the website: Bug reference: 7795 Logged by: Paul Email address: paul.watson@zephyr-consulting.com PostgreSQL version: 9.2.2 Operating system: Microsoft Windows [Version 6.0.6002] Vista 64-bit Description: = C:\Program Files\PostgreSQL\9.2\data2>initdb.exe --locale=3D"English_United States" --encoding=3DUTF8 --pgdata=3D"C:\Program Files\PostgreSQL\9.2\data2" The files belonging to this database system will be owned by user "pwatson". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252". The default text search configuration will be set to "english". fixing permissions on existing directory C:/Program Files/PostgreSQL/9.2/data2 ... initdb: could not change permissions of directory "C:/Program Files /PostgreSQL/9.2/data2": Permission denied
paul.watson@zephyr-consulting.com wrote: > [...] --pgdata="C:\Program Files\PostgreSQL\9.2\data2" > The files belonging to this database system will be owned by user > "pwatson". > This user must also own the server process. > fixing permissions on existing directory C:/Program > Files/PostgreSQL/9.2/data2 ... initdb: could not change permissions of > directory "C:/Program Files > /PostgreSQL/9.2/data2": Permission denied This looks like a simple permissions problem, not a bug. -Kevin