pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Missing docs for "FM" in to_char(numeric) ?
2+ messages / 2 participants
[nested] [flat]

* Missing docs for "FM" in to_char(numeric) ?
@ 2008-02-11 23:16  Steve Atkins <steve@blighty.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Steve Atkins @ 2008-02-11 23:16 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Missing docs for "FM" in to_char(numeric) ?
@ 2008-02-26 15:33  Peter Eisentraut <peter_e@gmx.net>
  parent: Steve Atkins <steve@blighty.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2008-02-26 15:33 UTC (permalink / raw)
  To: pgsql-docs; +Cc: Steve Atkins <steve@blighty.com>

Am Dienstag, 12. Februar 2008 schrieb Steve Atkins:
> 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.

I've added documentation about this.  You should be able to see it at 
http://developer.postgresql.org/pgdocs/postgres/functions-formatting.html in 
a few minutes.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-02-26 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-11 23:16 Missing docs for "FM" in to_char(numeric) ? Steve Atkins <steve@blighty.com>
2008-02-26 15:33 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox