Skip site navigation (1) Skip section navigation (2)

Re: NaN/Inf fix for ECPG

From: Rémi Zara <remi_zara(at)mac(dot)com>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NaN/Inf fix for ECPG
Date: 2010-02-26 12:47:26
Message-ID: F7DDC002-E59F-4551-BC95-7CB28F6B9EB4@mac.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Le 26 févr. 2010 à 12:12, Boszormenyi Zoltan a écrit :

> 
> ecpglib/data.c includes "postgres_fe.h", so it should be pulling
> everything that's relevant from port/*, right?
> 
> Michael, can we try to install the first two patches?
> They wouldn't hurt.
> 

I've tried patch 1 and 2, but they do not work. The fact is that the code is not used in the backend, because strtod("NaN", endptr) works. (isnan(strtod("NaN", endptr)) is true).

I should also note that isnan((double)nan("")) is true (works).

I will also report to NetBSD that isnan((double)NAN) does not work on mips.

Regards,

Rémi Zara



In response to

Responses

pgsql-hackers by date

Next:From: Greg StarkDate: 2010-02-26 12:54:07
Subject: Re: A thought on Index Organized Tables
Previous:From: Greg StarkDate: 2010-02-26 12:10:07
Subject: Re: Hot Standby query cancellation and Streaming Replication integration

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group