git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ba19b23) | patch
Fix numeric_maximum_size() calculation.
Wed, 4 Aug 2010 17:33:09 +0000 (17:33 +0000)
Wed, 4 Aug 2010 17:33:09 +0000 (17:33 +0000)
commit 97f38001acc61449f7ac09c539ccc29e40fecd26
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.
src/backend/utils/adt/numeric.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /