Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUNv0-0003Af-A3 for pgsql-docs@arkaria.postgresql.org; Tue, 25 Aug 2015 23:46:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZUNuz-0001le-J0 for pgsql-docs@arkaria.postgresql.org; Tue, 25 Aug 2015 23:46:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZUNuz-0001lQ-2F for pgsql-docs@postgresql.org; Tue, 25 Aug 2015 23:46:17 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZUNuq-0001TZ-TN for pgsql-docs@postgresql.org; Tue, 25 Aug 2015 23:46:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t7PNjvsv024726; Tue, 25 Aug 2015 19:45:57 -0400 From: Tom Lane To: Marc Mamin cc: "'pgsql-docs@postgresql.org'" Subject: Re: unclear description for the Pattern Modifiers in formatting functions In-reply-to: References: Comments: In-reply-to Marc Mamin message dated "Tue, 25 Aug 2015 13:29:43 -0000" Date: Tue, 25 Aug 2015 19:45:57 -0400 Message-ID: <24725.1440546357@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Marc Mamin 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 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs