Now we're into 8.2devel mode, its time to submit the previously
discussed patch that:
- reduces Numeric storage format by 2 bytes
- limits scale to +/- 508 decimal places
This is sufficient to allow Numeric to continue to be used as the
default numeric representation for all numbers in the parser.
Passes: make check on cvstip, as well as some tests not in there.
Code comments explain the new format and consequences.
As previously agreed, reviewing this is a 2 stage process:
1. review/possibly agree OK to commit
2. check with everybody on GENERAL that the restriction to 508 is
Figure there's no point doing (2) until we agree the proposal/code is
As Atsushi-san point out, there is also come CPU optimization to be done
on Numeric comparison, and also on other areas such as aggregation. I've
not done this yet.
Best Regards, Simon Riggs
Description: text/x-patch (21.6 KB)
pgsql-hackers by date
|Next:||From: Jim C. Nasby||Date: 2005-11-16 17:15:07|
|Subject: Re: OS X 7.4 failure|
|Previous:||From: Tom Lane||Date: 2005-11-16 17:12:12|
|Subject: Re: MERGE vs REPLACE |
pgsql-patches by date
|Next:||From: Philip Yarra||Date: 2005-11-16 22:26:55|
|Subject: Re: [PATCHES] pl/pgSQL doco patch|
|Previous:||From: Bruce Momjian||Date: 2005-11-16 16:38:14|
|Subject: Re: drop if exists|
pgsql-general by date
|Next:||From: Tom Lane||Date: 2005-11-16 17:20:26|
|Subject: Re: Rebranding PostgreSQL |
|Previous:||From: Scott Marlowe||Date: 2005-11-16 17:12:42|
|Subject: Re: Rebranding PostgreSQL|