Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching"
От
Peter Eisentraut
Тема
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching"
Дата
Msg-id
1305148212.8811.23.camel@vanquo.pezone.net
Ответ на
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" (Tom Lane)
Список
Дерево обсуждения
Backpatching of "Teach the regular expression functions to do case-insensitive matching" Andres Freund <andres@anarazel.de>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression functions
to do case-insensitive matching" Robert Haas <robertmhaas@gmail.com>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Andres Freund <andres@anarazel.de>
Re: Backpatching of "Teach the regular expression functions
to do case-insensitive matching" Robert Haas <robertmhaas@gmail.com>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression functions
to do case-insensitive matching" Robert Haas <robertmhaas@gmail.com>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression functions
to do case-insensitive matching" Robert Haas <robertmhaas@gmail.com>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression functions
to do case-insensitive matching" Robert Haas <robertmhaas@gmail.com>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression
functions to do case-insensitive matching" Peter Eisentraut <peter_e@gmx.net>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching" Tom Lane <tgl@sss.pgh.pa.us>
On ons, 2011-05-11 at 16:47 -0400, Tom Lane wrote: > Hm, do you know how to enumerate the available locales on Windows? EnumSystemLocalesEx() Reference: http://msdn.microsoft.com/en-us/library/dd317829(v=vs.85).aspx Example: http://msdn.microsoft.com/en-us/library/dd319091(v=vs.85).aspx As you can see in the example, this returns names like "en-US" and "es-ES". I would imagine we normalize this to the usual "en_US", "es_ES" (but we could also install the not normalized names, just like we install "en_US.utf8"). But you need to rearrange the code in initdb a bit because this thing works with callbacks. There is an older interface EnumSystemLocales() which returns locale IDs, which you then have to look up and convert into a name manually. There is code for that in the old installer CVS on pgfoundry. But it's very ugly, so I'd rather skip that and just concentrate on supporting the newer interface.
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата: