Re: Configuration include directory - Mailing list pgsql-hackers

From Gavin Flower
Subject Re: Configuration include directory
Date
Msg-id 5060B0F7.8050206@archidevsys.co.nz
Whole thread Raw
In response to Re: Configuration include directory  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Configuration include directory
List pgsql-hackers
On 25/09/12 02:41, Heikki Linnakangas wrote:
> On 24.09.2012 17:24, Tom Lane wrote:
>> Heikki Linnakangas<hlinnakangas@vmware.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




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
Next
From: Noah Misch
Date:
Subject: Re: Configuration include directory