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

Поиск
Список
Период
Сортировка
От Oleg Broytmann
Тема Re: [HACKERS] Re: [PATCHES] char/varchar locale support
Дата
Msg-id Pine.LNX.3.96.SK.980518142733.1127F-100000@torus.comus.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [PATCHES] char/varchar locale support  (Mattias Kregert <matti@algonet.se>)
Список pgsql-hackers
Hi!

On Mon, 18 May 1998, Mattias Kregert 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.
>
> Shouldn't this be done only for NATIONAL CHAR?

   It is what USE_LOCALE is intended for, isn't it?

Oleg.
----
  Oleg Broytmann     http://members.tripod.com/~phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.


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

Предыдущее
От: Mattias Kregert
Дата:
Сообщение: Re: [HACKERS] Re: [PATCHES] char/varchar locale support
Следующее
От: Hannu Krosing
Дата:
Сообщение: WWW site kas no mention of interfaces list