summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-07 17:06:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-07 17:06:39 -0400
commitae423dd187c2edb15b30a07a1ed440efbf532e21 (patch)
tree9c82edc85de4351eaa6e381aed67a098574fa3bf /src/backend/access/gist/gistutil.c
parent1f036c3f8a1aa80182037f2fb0706c0270b0492d (diff)
Fix corner case bug in numeric to_char().
Trailing-zero stripping applied by the FM specifier could strip zeroes to the left of the decimal point, for a format with no digit positions after the decimal point (such as "FM999."). Reported and diagnosed by Marti Raudsepp, though I didn't use his patch.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions