Re: Per-column collation, proof of concept

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: Per-column collation, proof of concept
Дата
Msg-id
AANLkTikAXop_9dqQeVzC-NfeY0hpHTwCPjJPMTAsavmM@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Per-column collation, proof of concept Jaime Casanova <jaime@2ndquadrant.com>
Re: Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept Jaime Casanova <jaime@2ndquadrant.com>
Re: Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept Jaime Casanova <jaime@2ndquadrant.com>
Re: Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept Jaime Casanova <jaime@2ndquadrant.com>
Re: Per-column collation, proof of concept Pavel Stehule <pavel.stehule@gmail.com>
Re: Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept Pavel Stehule <pavel.stehule@gmail.com>
Re: Per-column collation, proof of concept Peter Eisentraut <peter_e@gmx.net>
Re: Per-column collation, proof of concept Tom Lane <tgl@sss.pgh.pa.us>
Re: Per-column collation, proof of concept Greg Stark <gsstark@mit.edu>
On Thu, Jul 15, 2010 at 4:24 PM, Tom Lane  wrote:
> The problem with not doing that is it breaks hashing --- hash joins and
> hash aggregation being the real pain points.
>
> citext works around this in a rather klugy fashion by decreeing that two
> strings are equal iff their str_tolower() conversions are bitwise equal.
> So it can hash the str_tolower() representation.  But that's kinda slow
> and it fails in the general case anyhow, I think.

I think the general equivalent would be to call strxfrm and hash the
result of that.



-- 
greg

В списке pgsql-hackers по дате отправления
От: Magnus Hagander
Дата:
Сообщение: Re: SHOW TABLES
От: Marko Kreen
Дата:
FAQ