Re: [HACKERS] Re: [PATCHES] char/varchar locale support

Поиск
Список
Период
Сортировка
От Mattias Kregert
Тема Re: [HACKERS] Re: [PATCHES] char/varchar locale support
Дата
Msg-id 3560096B.60F7907A@algonet.se
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [PATCHES] char/varchar locale support  (Oleg Broytmann <phd@comus.ru>)
Ответы Re: [HACKERS] Re: [PATCHES] char/varchar locale support  (Oleg Broytmann <phd@comus.ru>)
Список pgsql-hackers
Oleg Broytmann wrote:
>
> Hi!
>
> On Fri, 15 May 1998, Thomas G. Lockhart wrote:
> > Another possibility for implementation is to write a string comparison
> > routine (e.g. varlena_cmp()) which takes two arguments and returns -1,
> > 0, or 1 for less than, equals, and greater than. All of the comparison
> > routines can call that one (which would have the #if USE_LOCALE), rather
> > than having USE_LOCALE spread through each comparison routine.
>
>    Yes, I thinked about this recently. It seems the best solution, perhaps.
>    Thank you. I'll continue my work.
>
> Oleg.
> ----
>   Oleg Broytmann     http://members.tripod.com/~phd2/     phd2@earthling.net
>            Programmers don't die, they just GOSUB without RETURN.


Shouldn't this be done only for NATIONAL CHAR?

/* m */

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: example code
Следующее
От: Oleg Broytmann
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] char/varchar locale support