Missing docs for "FM" in to_char(numeric) ?

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Missing docs for "FM" in to_char(numeric) ?
Date: 2008-02-11 23:16:40
Message-ID: 7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Someone on irc was trying to format 1234 as "01234" and couldn't work
out how to get rid of the leading space - looking at the 8.3 docs it
looks as though the "FM" modifier isn't documented for numeric to_char.

So... should use of "FM" in numeric to_char() be documented in table
9-23, "Template Patterns for Numeric Formatting"?

It's included in the examples in 9-24, but doesn't seem to be
mentioned anywhere else. "FM" is listed in table 9-22, but that's for
"Date/Time Formatting", not numeric.

Cheers,
Steve

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Zubkovsky, Sergey 2008-02-12 12:02:41 timestamp as varchar(23)
Previous Message Tom Lane 2008-02-06 05:35:43 Re: Partitioning documentation example