Re: Configuration include directory

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Selena Deckelmann <selena(at)chesnok(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Greg Smith <greg(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Configuration include directory
Date: 2012-09-24 19:13:59
Message-ID: 5060B0F7.8050206@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 25/09/12 02:41, Heikki Linnakangas wrote:
> On 24.09.2012 17:24, Tom Lane wrote:
>> Heikki Linnakangas<hlinnakangas(at)vmware(dot)com> writes:
>>> This seems pretty much ready to commit. One tiny detail that I'd
>>> like to
>>> clarify: the docs say:
>>
>>>> Multiple files within an include directory are ordered by an
>>>> alphanumeric sorting, so that ones beginning with numbers are
>>>> considered before those starting with letters.
>>
>>> To be more precise, the patch uses strcmp() for the comparisons.
>>
>> Just say it sorts the file names according to C locale rules.
>
> Hmm, that's preceise, but I don't think an average user necessarily
> knows what the C locale is. I think I'll go with:
>
> Multiple files within an include directory are processed in filename
> order. The filenames are ordered by C locale rules, ie. numbers before
> letters, and uppercase letters before lowercase ones.
>
> - Heikki
>
>
Even I can understand that! :-)

More to the point: are fullstops '.' sorted before digits?

Cheers,
Gavin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2012-09-24 19:56:48 Re: Configuration include directory
Previous Message Bruce Momjian 2012-09-24 18:51:59 Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed