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

From: Oleg Broytmann <phd(at)comus(dot)ru>
To: Mattias Kregert <matti(at)algonet(dot)se>
Cc: Postgres Hackers List <hackers(at)postgreSQL(dot)org>, oleg(at)sai(dot)msu(dot)su
Subject: Re: [HACKERS] Re: [PATCHES] char/varchar locale support
Date: 1998-05-18 10:28:50
Message-ID: Pine.LNX.3.96.SK.980518142733.1127F-100000@torus.comus.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1998-05-18 11:48:27 WWW site kas no mention of interfaces list
Previous Message Mattias Kregert 1998-05-18 10:11:55 Re: [HACKERS] Re: [PATCHES] char/varchar locale support