Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cT9Gs-0001K0-5u for pgsql-performance@arkaria.postgresql.org; Mon, 16 Jan 2017 15:32:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cT9Gr-0007Cc-HK for pgsql-performance@arkaria.postgresql.org; Mon, 16 Jan 2017 15:32:33 +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 1cT9FA-0005Lg-Ks for pgsql-performance@postgresql.org; Mon, 16 Jan 2017 15:30:48 +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 1cT9F4-00083r-8Q for pgsql-performance@postgresql.org; Mon, 16 Jan 2017 15:30:47 +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 v0GFUeTT007681; Mon, 16 Jan 2017 10:30:40 -0500 From: Tom Lane To: Samir Magar cc: pgsql-performance@postgresql.org, Swapnil Vaze Subject: Re: out of range error while restore using pgdump In-reply-to: References: Comments: In-reply-to Samir Magar message dated "Mon, 16 Jan 2017 14:50:30 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7679.1484580640.1@sss.pgh.pa.us> Date: Mon, 16 Jan 2017 10:30:40 -0500 Message-ID: <7680.1484580640@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Samir Magar writes: > pg_restore: [archiver (db)] COPY failed for table "tcb_test": ERROR: > "5.40593839802118076e-315" is out of range for type double precision That's ... weird. I don't have RHEL7 installed to test, but I don't see any error for that value on RHEL6 or Fedora 25, which ought to bracket that version. I suppose your version of strtod() must be refusing to do gradual underflow, or else you're running on hardware that doesn't do IEEE-compliant arithmetic. But I didn't think RHEL supported any such hardware (unless maybe it's s/390?). And I can't find any documentation suggesting that glibc supports turning off gradual underflow, either. Perhaps you're using some extension that fools around with the hardware floating-point options? regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance