to_char(float4/8): zero pad to specified length

Bruce Momjian <bruce@momjian.us>

Commit: cc0d90b73b2e6dd2f301d46818a7265742c41a14
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-03-22T01:43:36Z
Releases: 9.5.0
to_char(float4/8):  zero pad to specified length

Previously, zero padding was limited to the internal length, rather than
the specified length.  This allows it to match to_char(int/numeric), which
always padded to the specified length.

Regression tests added.

BACKWARD INCOMPATIBILITY

Files