Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzOTH-0003tp-QU for pgsql-committers@arkaria.postgresql.org; Wed, 26 Oct 2016 13:42:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bzOTH-0001hj-D2 for pgsql-committers@arkaria.postgresql.org; Wed, 26 Oct 2016 13:42:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bzOTG-0001hK-Ny for pgsql-committers@postgresql.org; Wed, 26 Oct 2016 13:42:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bzOTE-0007Jf-2B for pgsql-committers@postgresql.org; Wed, 26 Oct 2016 13:42:21 +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 u9QDg3Rp017833; Wed, 26 Oct 2016 09:42:03 -0400 From: Tom Lane To: Heikki Linnakangas cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Avoid using platform-dependent floats in test case. In-reply-to: References: Comments: In-reply-to Heikki Linnakangas message dated "Wed, 26 Oct 2016 11:17:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17831.1477489323.1@sss.pgh.pa.us> Date: Wed, 26 Oct 2016 09:42:03 -0400 Message-ID: <17832.1477489323@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Heikki Linnakangas writes: > Avoid using platform-dependent floats in test case. > The number of decimals printed for floats varied in this test case, as > noted by several buildfarm members. There's nothing special about floats > and arrays in the code being tested, so replace the floats with numerics to > make the output platform-independent. Numerics aren't entirely platform-independent in Python, either, cf prairiedog. Is it okay to use text? regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers