Re: Configuration include directory
Gavin Flower <gavinflower@archidevsys.co.nz>
From: Gavin Flower <GavinFlower@archidevsys.co.nz>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Selena Deckelmann <selena@chesnok.com>, Noah Misch <noah@leadboat.com>, Greg Smith <greg@2ndquadrant.com>, Magnus Hagander <magnus@hagander.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-09-24T19:13:59Z
Lists: 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