Re: functions-formatting.html - Mailing list pgsql-docs

From Tom Lane
Subject Re: functions-formatting.html
Date
Msg-id 20090.1252958608@sss.pgh.pa.us
Whole thread Raw
In response to functions-formatting.html  (david@gardnerit.net)
List pgsql-docs
david@gardnerit.net writes:
> Was reading the docs and stumbled across what I believe is a mistake.
> There is a mistake in Table 9-25
> the result of to_char(148.5,'999D999') should be ' 148.500',
> the docs list it as ' 148,500'

The example in the docs presumes a locale where comma is the radix point
(eg, fr_FR).  Perhaps that should be clarified, but changing the example
so that D appears to act the same as . doesn't seem to me to be an
improvement.

            regards, tom lane

pgsql-docs by date:

Previous
From: david@gardnerit.net
Date:
Subject: functions-formatting.html
Next
From: Pavel Golub
Date:
Subject: pg_restore listing