]> granicus.if.org Git - postgresql/commit
Change on-disk representation of NUMERIC datatype so that the sign_dscale
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2007 22:21:55 +0000 (22:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2007 22:21:55 +0000 (22:21 +0000)
commitf828f878e96b83cc50569305e2f2eccfde1e8181
tree35ba9fbb88249091cafc9bf8d379d3e5856eeade
parent7a315a09dc0f7a1f903b89022a2a833c1719145b
Change on-disk representation of NUMERIC datatype so that the sign_dscale
word comes before the weight instead of after.  This will allow future
binary-compatible extension of the representation to support compact formats,
as discussed on pgsql-hackers around 2007/06/18.  The reason to do it now is
that we've already pretty well broken any chance of simple in-place upgrade
from 8.2 to 8.3, but it's possible that 8.3 to 8.4 (or whenever we get around
to squeezing NUMERIC) could otherwise be data-compatible.
src/include/catalog/catversion.h
src/include/utils/numeric.h