pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Atkins <steve@blighty.com>
To: pgsql-docs@postgresql.org
Subject: Missing docs for "FM" in to_char(numeric) ?
Date: Mon, 11 Feb 2008 15:16:40 -0800
Message-ID: <7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com>
Permalink:  ../7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com/
Also on:    postgresql.org/message-id/7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: steve@blighty.com
  Subject: Re: Missing docs for "FM" in to_char(numeric) ?
  In-Reply-To: <7942D79B-72C7-4CD8-B05F-F4F772DDC8EA@blighty.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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