summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-07 17:06:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-07 17:06:26 -0400
commit6e7a3c364bf5df266bb7000ead399e779410962c (patch)
tree7d8587c8798bebccfc9c4844e45daa2597e4398b /src/tutorial/funcs.c
parentc3106a340f3177105b80a0a6e878eba1986ae9fe (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