Re: Collation rules and multi-lingual databases

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Collation rules and multi-lingual databases
Дата
Msg-id 20030823083122.K24780-100000@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: Collation rules and multi-lingual databases  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
On 23 Aug 2003, Greg Stark wrote:

> Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
>
> > Since most of that work is for an exceptional case, maybe it'd be safer
> > (although slower) to structure the function as
>
> Yeah I thought of that. But if making it a critical section is cheap then it's
> probably a better approach. The problem with restoring the locale for the
> palloc is that if the user is unlucky he might sort a table of thousands of
> strings that all trigger the exception case.

True. I still worry about the critical section since an error will cause
the entire database system to restart, but as I'd also forgotten about
signals which might cause problems (uncertain without looking) I'm not
sure you have a good alternative even not counting the speed issues.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Single-file DBs WAS: Need concrete 'Why Postgres
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Collation rules and multi-lingual databases