Re: NaN/Inf fix for ECPG Re: out-of-scope cursor errors
Boszormenyi Zoltan <zb@cybertec.at>
From: Boszormenyi Zoltan <zb@cybertec.at>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Michael Meskes <meskes@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-02-03T09:59:57Z
Lists: pgsql-hackers
Attachments
- pg85-ecpg-fix-nan-inf-8-ctxdiff.patch (text/x-patch) patch
Michael Meskes írta: > On Tue, Feb 02, 2010 at 03:34:24PM +0100, Boszormenyi Zoltan wrote: > >> Here's the new patch with the updated regression test. >> > > Committed. Thanks a lot. > > Michael > Tom Lane committed a fix for Windows, there was a missing #include <float.h> in execute.c, but there is another problem on Windows, which I can't fix since I don't have a Windows build system. The linker also complains about missing _isnan(). Can someone help? The equivalent of "-lm" is needed for the cl linker command. Also, another oversight needs fixing on my part, for which the patch is atttached. The INSERT statement in nan_test.pgc contains platform dependent strings, "inf" instead of "infinity". Best regards, Zoltán Böszörményi -- Bible has answers for everything. Proof: "But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil." (Matthew 5:37) - basics of digital technology. "May your kingdom come" - superficial description of plate tectonics ---------------------------------- Zoltán Böszörményi Cybertec Schönig & Schönig GmbH http://www.postgresql.at/