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