Thanks to Peter Eisentraut, Bruce Momjian and Tom Lane.
With the second CVS commit by Bruce Momjian it works fine now.
Peter Eisentraut <[EMAIL PROTECTED]> wrote:
> > On second look, the patch is completely wrong anyway, because it
> > does not export the variables; it depends on the user having
> > exported them beforehand.
I stand corrected.
Tom Lane <[EMAIL PROTECTED]> wrote:
> I saw that, but it seemed a non-problem to me: if the variables have
> not been exported then they won't affect the sort program anyway.
> What I suspect is that Nicolai's environment supplies an explicit
> value 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
> are 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 <[EMAIL PROTECTED]> wrote:
> OK, new code is:
> export LC_ALL
> sort tags >/tmp/$$ && mv /tmp/$$ tags
It works as expected. Thanks a lot.
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?