diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:26 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-09-07 17:06:26 -0400 |
| commit | 6e7a3c364bf5df266bb7000ead399e779410962c (patch) | |
| tree | 7d8587c8798bebccfc9c4844e45daa2597e4398b /src/tutorial/funcs.c | |
| parent | c3106a340f3177105b80a0a6e878eba1986ae9fe (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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions
