diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:39 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:39 -0400 |
commit | ae423dd187c2edb15b30a07a1ed440efbf532e21 (patch) | |
tree | 9c82edc85de4351eaa6e381aed67a098574fa3bf /src/interfaces/ecpg/ecpglib/execute.c | |
parent | 1f036c3f8a1aa80182037f2fb0706c0270b0492d (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/interfaces/ecpg/ecpglib/execute.c')
0 files changed, 0 insertions, 0 deletions