From: Tom Lane Date: Thu, 25 Jun 2015 14:44:03 +0000 (-0400) Subject: Docs: fix claim that to_char('FM') removes trailing zeroes. X-Git-Tag: REL9_1_19~102 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=f99158229046d92db270bb7963b59f0eb9fe460f;p=postgresql.git Docs: fix claim that to_char('FM') removes trailing zeroes. Of course, what it removes is leading zeroes. Seems to have been a thinko in commit ffe92d15d53625d5ae0c23f4e1984ed43614a33d. Noted by Hubert Depesz Lubaczewski. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 4410d502698..f6da1c2ec45 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -5475,7 +5475,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); FM prefix - fill mode (suppress padding blanks and trailing zeroes) + fill mode (suppress leading zeroes and padding blanks) FMMonth @@ -5851,7 +5851,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})'); FM prefix - fill mode (suppress padding blanks and trailing zeroes) + fill mode (suppress leading zeroes and padding blanks) FM9999