Thanks to Peter Eisentraut, Bruce Momjian and Tom Lane.
With the second CVS commit by Bruce Momjian it works fine now.
Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> > On second look, the patch is completely wrong anyway, because it
> > not export the variables; it depends on the user having exported
> > beforehand.
I stand corrected.
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I saw that, but it seemed a non-problem to me: if the variables have
> been exported then they won't affect the sort program anyway.
> What I suspect is that Nicolai's environment supplies an explicit
> for LC_COLLATE, overriding both LC_ALL and LANG. If we want to be
> bulletproof against that, then none of the proposals in this thread
> correct, and the correct patch is
> + LC_COLLATE=C
> + export LC_COLLATE
In my environment everything but LANG is set to tr_TR:
Method you suggested:
works fine too.
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> OK, new code is:
> export LC_ALL
> sort tags >/tmp/$$ && mv /tmp/$$ tags
It works as expected. Thanks a lot.
In response to
pgsql-patches by date
|Next:||From: Nicolai Tufar||Date: 2004-02-02 21:27:42|
|Subject: Re: C locale sort in src/tools/make_ctags - solved|
|Previous:||From: Stephan Szabo||Date: 2004-02-02 21:23:15|
|Subject: Re: fix memcpy() overlap |