Bug in docs - modifiers for to_char() - Mailing list pgsql-bugs

From hubert depesz lubaczewski
Subject Bug in docs - modifiers for to_char()
Date
Msg-id 20150625121556.GA32597@depesz.com
Whole thread Raw
Responses Re: Bug in docs - modifiers for to_char()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hi,
in Table 9-23
(http://www.postgresql.org/docs/devel/static/functions-formatting.html)

It says:

> FM prefix | fill mode (suppress padding blanks and trailing zeroes)

In next part it says:

> FM suppresses leading zeroes and trailing blanks

From all I can tell, the text in table is wrong - wasn't able to find
any case where FM would delete trailing zeros, and it definitely removes
leading ones.

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: sampling.c and potential divisions by 0 ang log(0) with tablesample and ANALYZE in 9.5
Next
From: 德哥
Date:
Subject: Re: BUG #13465: multi update query use CTE, result & plan not equal, BUG?