Re: unclear description for the Pattern Modifiers in formatting functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
Cc: "'pgsql-docs(at)postgresql(dot)org'" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: unclear description for the Pattern Modifiers in formatting functions
Date: 2015-08-25 23:45:57
Message-ID: 24725.1440546357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Marc Mamin <M(dot)Mamin(at)intershop(dot)de> writes:
> http://www.postgresql.org/docs/9.5/static/functions-formatting.html#FUNCTIONS-FORMATTING-DATETIMEMOD-TABLE
> The page suggests that the pattern modifiers (e.g. 'FM') only apply for Date/Time Format.

There are two separate tables (9-23, 9-25) showing which modifiers apply
for date/time and numeric cases, so I think it is fine as-is.

Mind you, the whole page is rather awkward. Perhaps it would benefit from
being thrown away and rewritten from scratch. I'm not volunteering though.

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Josh Kupershmidt 2015-08-26 23:12:28 small fix for pgprewarm.sgml
Previous Message Marc Mamin 2015-08-25 13:29:43 unclear description for the Pattern Modifiers in formatting functions