diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-08-04 17:33:09 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-08-04 17:33:09 +0000 |
commit | 97f38001acc61449f7ac09c539ccc29e40fecd26 (patch) | |
tree | e7725279b11cab95942b94d328adc16473bb7ce9 /src/include/utils/xml.h | |
parent | ba19b236769c9dcb5782c804276abd0db667fe61 (diff) | |
download | postgresql-97f38001acc61449f7ac09c539ccc29e40fecd26.tar.gz postgresql-97f38001acc61449f7ac09c539ccc29e40fecd26.zip |
Fix numeric_maximum_size() calculation.
The old computation can sometimes underestimate the necessary space
by 2 bytes; however we're not back-patching this, because this result
isn't used for anything critical. Per discussion with Tom Lane,
make the typmod test in this function match the ones in numeric()
and apply_typmod() exactly.
Diffstat (limited to 'src/include/utils/xml.h')
0 files changed, 0 insertions, 0 deletions