Re: Numeric patch to add special-case representations for < 8 bytes - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: Numeric patch to add special-case representations for < 8 bytes
Date
Msg-id 46095FEC.3050206@enterprisedb.com
Whole thread Raw
In response to Re: Numeric patch to add special-case representations for < 8 bytes  (Gregory Stark <stark@enterprisedb.com>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: DEALLOCATE ALL
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-patches] O_DIRECT support for Windows