SOURCES: postgresql.init,
postgresql.sysconfig - what about NOT us...
Radoslaw Zielinski
radek42 at gmail.com
Sat Jul 23 21:35:54 CEST 2005
Roman Barczyński <romke at estrefa.pl> [23-07-2005 20:13]:
> Dnia 2005-07-23 19:39, wrobell napisał:
>>> Author: romke Date: Sat Jul 23 13:30:49 2005 GMT
[...]
>>> - what about NOT using UNICODE as initdb encoding? (hardcoded -E UNICODE)
>>> changes supporting sysconfig PG_INITDB_ENCODING to alter initdb encoding.
>> to romke: please remove this option. you are duplicating initdb script.
>> init option for postgresql.init script was introduced for simple scenarios.
>> if you need other encoding, then just use initdb script.
> then, why -E UNICODE is default? AFAIK initdb CAN guess default
> encoding from locale being used...
Because it's the only reasonable default. Guessing an encoding is not
the right thing to do.
--
Radosław Zieliński <radek at pld-linux.org>
More information about the pld-devel-en
mailing list