Re: ECPGset_var

From: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Meskes <meskes(at)postgresql(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPGset_var
Date: 2010-01-28 22:30:50
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


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

Attachment Content-Type Size
pg85-ecpg-fix-nan-inf-2-ctxdiff.patch text/x-patch 21.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-01-28 22:41:10 Re: remove contrib/xml2
Previous Message Merlin Moncure 2010-01-28 22:15:17 Re: CommitFest status summary 2010-01-27