Re: C locale sort in src/tools/make_ctags

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

Bruce Momjian wrote:
> Nicolai Tufar wrote:
> > > -----Original Message-----
> > > From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
> > >
> > > Nicolai Tufar wrote:
> > > > Greetings,
> > > >
> > > > Attached is a simple one-liner for src/tools/make_ctags.
> > > > If tags are sorted in locale other than C, vim complains:
> > > >
> > > > E432: Tags file not sorted: tags
> > > >
> > > > Solution is to set LANG variable to C before calling sort.
> > >
> > > That should be LC_ALL.
> >
> > Sounds fair. Both could be done. It worked for me just with LANG.
> > Should I submit a new patch?
>
> Patch applied to do both. Thanks.

LC_ALL overrides LANG, so please just one.

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-02-02 06:18:23 FW: [pgsql-hackers-win32] CVS source win32 mingw some comile err
Previous Message Joe Conway 2004-02-02 06:02:13 Re: pg_generate_sequence and info_schema patch (Was: SELECT