Re: C locale sort in src/tools/make_ctags

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <ntufar(at)pisem(dot)net>, "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: C locale sort in src/tools/make_ctags
Date: 2004-02-02 14:19:26
Message-ID: 200402021519.26307.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Nicolai Tufar wrote:
> > -----Original Message-----
> > From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)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.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-02-02 14:21:42 Re: CATALOG/NOCATALOG for new users
Previous Message Peter Eisentraut 2004-02-02 14:12:41 Re: Patch for psql startup clarity