Re: C locale sort in src/tools/make_ctags - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: C locale sort in src/tools/make_ctags
Date
Msg-id 200402021519.26307.peter_e@gmx.net
Whole thread Raw
In response to Re: C locale sort in src/tools/make_ctags  ("Nicolai Tufar" <ntufar@pisem.net>)
Responses Re: C locale sort in src/tools/make_ctags
List pgsql-patches
Nicolai Tufar wrote:
> > -----Original Message-----
> > From: Peter Eisentraut [mailto:peter_e@gmx.net]
> >
> > LC_ALL overrides LANG, so please just one.
>
> Don't do it! I just tried it with only LC_ALL and it did not
> work. Same "tags file is not sorted" error message from vi.

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.  The correct answer is to remove the LANG assignment and
add

LC_ALL=C
export LC_ALL

instead.


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Patch for psql startup clarity
Next
From: Peter Eisentraut
Date:
Subject: Re: CATALOG/NOCATALOG for new users