Re: ECPGset_var
Boszormenyi Zoltan <zb@cybertec.at>
From: Boszormenyi Zoltan <zb@cybertec.at>
To: Tom Lane <tgl@sss.pgh.pa.us>, Michael Meskes <meskes@postgresql.org>
Cc: PostgreSQL Hacker <pgsql-hackers@postgresql.org>
Date: 2010-01-28T22:30:50Z
Lists: pgsql-hackers
Attachments
- pg85-ecpg-fix-nan-inf-2-ctxdiff.patch (text/x-patch) patch
Hi, Boszormenyi Zoltan írta: > I think the best would be to delete the NAN test from outofscope.pgc > and fix the double/numeric NaN/Inf/-Inf problem separately and have > their own test case. > the attached patch attempts to fix NaN/Infinity problems in ECPG for float/double/numeric/decimal. I had to introduce a new NUMERIC_NULL value for the numeric sign to still be able to use risnull()/rsetnull(). 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/