This is the mail archive of the
mailing list for the Cygwin project.
Re: postgresql postmaster and LC_MESSAGES EN_US problem
* Tue 2002-12-17 Jason Tishler <firstname.lastname@example.org> list.cygwin
* Message-Id: <20021217122921.GA1968@tishler.net>
> On Fri, Dec 13, 2002 at 11:44:30PM +0200, Jari Aalto wrote:
>> * Thu 2002-12-12 Jason Tishler <email@example.com> list.cygwin
>> > It appears that having LANG=en_us set before you ran initdb caused
>> > this problem. My recommendation it to either unset LANG or use
>> > LANG=C before you rerun initdb.
>> May I suggest that the documentation says:
>> $ env LC_ALL=C initdb -D /usr/share/postgresql/data
> IMO, the above is unnecessary unless the default Cygwin environment sets
> any of locale related environment variables to something other that "C".
I have set LC_ALL=en_US in my Cygwin setup and it took quite a while
yo giess why did the 7.3 upgrade failed. It gives mysterious error
messages when the initdb was run with that locale in effect.
I still think it would be good idea suggest in Cygwin/postgres
documentaion to say that the loate is crucial when database is created.
Hence he safest way:
$ env LC_ALL=C initdb -D /usr/share/postgresql/data
I remember that there was something special with locate C?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html