Re: Configuration include directory

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 14:41:03
Message-ID: 506070FF.9020800@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rural Hunter 2012-09-24 14:45:34 Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
Previous Message Karl O. Pinc 2012-09-24 14:38:53 Re: Doc patch to note which system catalogs have oids