Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFwZC-0007Ir-Ca for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Jul 2015 03:44:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZFwZB-0002uV-C9 for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Jul 2015 03:44:05 +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 1ZFwZ9-0002tm-AD for pgsql-bugs@postgresql.org; Fri, 17 Jul 2015 03:44:03 +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 1ZFwZ5-0006uE-TM for pgsql-bugs@postgresql.org; Fri, 17 Jul 2015 03:44:02 +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 t6H3hrpi028148; Thu, 16 Jul 2015 23:43:54 -0400 From: Tom Lane To: Michael Paquier cc: pinker , PostgreSQL mailing lists Subject: Re: Interval - incorrect grammar form In-reply-to: References: <1437033362097-5858132.post@n5.nabble.com> Comments: In-reply-to Michael Paquier message dated "Fri, 17 Jul 2015 11:39:23 +0900" Date: Thu, 16 Jul 2015 23:43:53 -0400 Message-ID: <28147.1437104633@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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier writes: > On Thu, Jul 16, 2015 at 4:56 PM, pinker wrote: >> I've noticed that interval is shown incorrectly (in plural form) when date >> is negative: >> >> select age(timestamp '2015-09-01',timestamp '2017-10-02'); >> gives: >> "-2 years -1 *mons* -1 days" > It behaves like this for ages, and there are some applications that > surely rely on the current behavior, so I am not sure that it is worth > changing now even if that's grammatically incorrect (native > English-speaker wanted here for confirmation). Hm, "-1 mon" is probably better than "-1 mons", but it's somewhat debatable; it's not clear to me that the convention about singular nouns applies to negative quantities. And if you were arguing from native-language conventions then writing "mon" rather than "month" already feels pretty unnatural. I tend to agree that backwards compatibility outweighs any benefit we'd get here. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs