Re: Numeric patch to add special-case representations for < 8 bytes

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Numeric patch to add special-case representations for < 8 bytes
Date: 2007-03-27 18:18:20
Message-ID: 46095FEC.3050206@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gregory Stark wrote:
> The main design issue is that I was proposing to make it impossible to access
> the internals of the numeric storage using macros. Currently some of the data
> (the sign, dscale, and weight) is visible without having to call any special
> numeric functions. I was proposing to use representations where those might
> not be as easily accessible.
>
> However I don't think we have any consumers of that data outside of numeric.c
> anyways. Is there anything using that functionality currently? Do we mind
> losing it?

The data would still be available through a function, right? If there's
no-one accessing that information currently, there's no
backwards-compatibility issue. I think this is a non-issue.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-27 19:08:12 Re: BUG #2977: dow doesn't conform to ISO-8601
Previous Message David Fetter 2007-03-27 18:08:44 Re: Arrays of Complex Types