Re: Improve the comparison of NUMERIC data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Atsushi Ogawa <atsushi(dot)ogawa(at)gmail(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Improve the comparison of NUMERIC data
Date: 2005-11-09 15:28:49
Message-ID: 15578.1131550129@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Atsushi Ogawa <atsushi(dot)ogawa(at)gmail(dot)com> writes:
> 2005/11/9, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> Rather than trying to share code, it'd likely be better to make a
>> separate routine that can directly compare two values in the packed
>> (on-disk) representation, and modify the externally-callable entry
>> points to use that. That way avoids imposing constraints on how
>> different the packed and unpacked representations can be.

> OK. I will make a separate routine.

Also, you might want to wait to see where the discussions on changing
Numeric's representation end up, before you spend time on doing the
coding. We should be able to resolve that long before 8.2 comes out,
so there's plenty of time.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message waldem 2005-11-09 16:03:59 Front-end libpq library : Extending PQconnectdb functionnalities to PQsetdbLogin
Previous Message Atsushi Ogawa 2005-11-09 13:01:40 Re: Improve the comparison of NUMERIC data