Re: [WIP] patch - Collation at database level

Поиск
Список
Период
Сортировка
Искать
От
Martijn van Oosterhout
Тема
Re: [WIP] patch - Collation at database level
Дата
Msg-id
20080802140727.GB4098@svana.org
Ответ на
Список
Дерево обсуждения
[WIP] patch - Collation at database level "Radek Strnad" <radek.strnad@gmail.com>
Re: [WIP] patch - Collation at database level Alvaro Herrera <alvherre@commandprompt.com>
Re: [WIP] patch - Collation at database level Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] patch - Collation at database level Alvaro Herrera <alvherre@commandprompt.com>
Re: [WIP] patch - Collation at database level Gregory Stark <stark@enterprisedb.com>
Re: [WIP] patch - Collation at database level Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] patch - Collation at database level Andrew Dunstan <andrew@dunslane.net>
Re: [WIP] patch - Collation at database level Josh Berkus <josh@agliodbs.com>
Re: [WIP] patch - Collation at database level Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] patch - Collation at database level Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] patch - Collation at database level Michael Paesold <mpaesold@gmx.at>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] patch - Collation at database level "Radek Strnad" <radek.strnad@gmail.com>
Re: [WIP] patch - Collation at database level Peter Eisentraut <peter_e@gmx.net>
Re: [WIP] patch - Collation at database level Gregory Stark <stark@enterprisedb.com>
Re: [WIP] patch - Collation at database level "Radek Strnad" <radek.strnad@gmail.com>
Re: [WIP] patch - Collation at database level Martijn van Oosterhout <kleptog@svana.org>
On Sat, Aug 02, 2008 at 03:39:18PM +0200, Radek Strnad wrote:
> >  I also think that the clauses you have attached to your CREATE
> > COLLATION statement (case-insensitive, accent-insensitive) are an
> > oversimplification of reality.  I suggest you look up the Unicode
> > collation algorithm to learn about who collations work in practice.
> 
> I already did in the very beginning of the development. The reason why I'm
> not implementing the whole Unicode collation algorithm is that this patch
> shold be sort of framework. You'll be able to use different collation
> functions not only POSIX locales so further development towards full Unicode
> collation algorithm is possible.

Agreed. Ofcourse it's a simplification of reality. POSIX locales are a
simplification of reality, but its the only form of collation currently
available to us. And quite frankly, I don't beleive postgresql should
be in the business of writing collation algorithms, we don't have the
expertese.

FWIW, I think case-insensitive and accent-insensitive are useful modifiers
that we should aim to support in the future.

> At the end of the next week I'll publish my bachelor thesis concerning this
> topic where everything will be explained in details so stay tuned.

Good luck!

Have a nice day,
-- 
Martijn van Oosterhout      http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.
В списке pgsql-hackers по дате отправления
От: Radek Strnad
Дата:
От: Andrew Dunstan
Дата:
FAQ