diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:10 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:07:20 -0400 |
commit | f0bedf3e456c52274995d32d4c0c8a250de5c1ca (patch) | |
tree | be62ba517d9878f9510eeaabc30434419388a105 /src/backend/access/gist/gist.c | |
parent | 7b8e10f2bed1d450a9f9b211ae1b883227443912 (diff) | |
download | postgresql-f0bedf3e456c52274995d32d4c0c8a250de5c1ca.tar.gz |
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/gist.c')
0 files changed, 0 insertions, 0 deletions