Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1al4hj-0002Lg-An for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Mar 2016 01:13:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1al4hi-0001J4-Rh for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Mar 2016 01:13:50 +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_2) (envelope-from ) id 1al4hg-0001Hi-Op for pgsql-hackers@postgresql.org; Wed, 30 Mar 2016 01:13:48 +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_2) (envelope-from ) id 1al4hZ-0001Jd-3H for pgsql-hackers@postgresql.org; Wed, 30 Mar 2016 01:13:48 +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 u2U1DaiM004446; Tue, 29 Mar 2016 21:13:36 -0400 From: Tom Lane To: Michael Paquier cc: PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Allow to_timestamp(float8) to convert float infinity to timestam In-reply-to: References: Comments: In-reply-to Michael Paquier message dated "Wed, 30 Mar 2016 09:19:58 +0900" Date: Tue, 29 Mar 2016 21:13:36 -0400 Message-ID: <4445.1459300416@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier writes: > On Wed, Mar 30, 2016 at 6:09 AM, Tom Lane wrote: >> Allow to_timestamp(float8) to convert float infinity to timestamp infinity. > Some of the tests introduced are making MSVC unhappy, because they > depend on the three-digit behavior that Windows is using, leading to > those failures: Ah, I was wondering about that. The patch as-submitted used "%lf" which seemed even less likely to be portable, but evidently %g isn't that much better. > If the those tests are kept, an alternate output file is necessary (I > can send a patch if needed, I see the failure locally as well). I'm inclined to just drop the out-of-range test cases. They're not that useful IMO, and alternate expected-files are a real PITA for maintenance. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers