Re: [HACKERS] What can we learn from MySQL?

Поиск
Список
Период
Сортировка
От Shachar Shemesh
Тема Re: [HACKERS] What can we learn from MySQL?
Дата
Msg-id 40897131.6020902@shemesh.biz
обсуждение исходный текст
Ответ на Re: [HACKERS] What can we learn from MySQL?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-advocacy
Stephan Szabo wrote:

>I've tried just changing the parser to unconditionally casefold to upper.
>First thing that happens is that initdb breaks. In addition, you have
>potential issues with comparisons against the catalog's versions of
>standard functions as such if you allow the case folding to be changed
>after the catalogs are setup.
>
>
That's not the migration path I was thinking of.

What I was thinking of was:
1. Have a setting, probably per-session. Per database works too.
2. Aside from the folder upper and folder lower, have a third option.
This is "fold upper, if fails, fold lower. If succeeds, issue a
warning". This should allow programs that rely on the folding (such as
initdb) to be debugged during the transition period.

          Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting
http://www.lingnu.com/


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: [HACKERS] What can we learn from MySQL?
Следующее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: [HACKERS] What can we learn from MySQL?