diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:44 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:44 -0400 |
commit | eb9a98b6e2657ca65c4ddbe2536b26880864ff8f (patch) | |
tree | 89955c6d1f074578a5bf540b2b3911869c2eddd3 /src/backend/access/gist/gistscan.c | |
parent | 80360976e6d55f532d6c404bedcf06d5b10d7801 (diff) | |
download | postgresql-eb9a98b6e2657ca65c4ddbe2536b26880864ff8f.tar.gz postgresql-eb9a98b6e2657ca65c4ddbe2536b26880864ff8f.zip |
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/gistscan.c')
0 files changed, 0 insertions, 0 deletions