diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:19 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:07:33 -0400 |
commit | 5df20a6e4f5eee5eef1b28760ceca604f57d535b (patch) | |
tree | 907f38f464e6a56e1941624b10f4bd97fd9cca70 /src/backend/access/gist/gistget.c | |
parent | 60765d86c3a91bf2fdf796ee66672120fd599d02 (diff) | |
download | postgresql-5df20a6e4f5eee5eef1b28760ceca604f57d535b.tar.gz postgresql-5df20a6e4f5eee5eef1b28760ceca604f57d535b.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/gistget.c')
0 files changed, 0 insertions, 0 deletions