aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-07-06 19:48:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-07-06 19:48:53 +0000
commite3780bce5878713b99a9bfb35adac10e0971bd65 (patch)
tree7b88434a603b735dd7caf168ba3c37d02436f954 /src/backend/access/gist/gist.c
parentbbfb4a0ab93c18927acb53b7cf37f17dc58d3d39 (diff)
downloadpostgresql-e3780bce5878713b99a9bfb35adac10e0971bd65.tar.gz
postgresql-e3780bce5878713b99a9bfb35adac10e0971bd65.zip
Prevent integer overflows during units conversion when displaying a GUC
variable that has units. Per report from Stefan Kaltenbrunner. Backport to 8.2. I also backported my patch of 2007-06-21 that prevented comparable overflows on the input side, since that now seems to have enough field track record to be back-patched safely. That patch included addition of hints listing the available unit names, which I did not bother to strip out of it --- this will make a little more work for the translators, but they can copy the translation from 8.3, and anyway an untranslated hint is better than no hint.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions