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

From: Oleg Broytmann <phd(at)comus(dot)ru>
To: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
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-15 13:43:07
Message-ID: Pine.LNX.3.96.SK.980515174107.15169B-100000@torus.comus.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(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 Thomas G. Lockhart 1998-05-15 13:43:16 CREATE DATABASE
Previous Message Jose' Soares Da Silva 1998-05-15 13:34:04 Re: [INTERFACES] Group/Order by not in target - Was [NEW ODBC DRIVER]