Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group