Re: ECPGset_var

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Boszormenyi Zoltan <zb@cybertec.at>
Cc: Michael Meskes <meskes@postgresql.org>, PostgreSQL Hacker <pgsql-hackers@postgresql.org>
Date: 2010-01-26T20:40:15Z
Lists: pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.at> writes:
> Also, another "bug" is fixed in one regression test,
> it seems NaN is different across platforms, so
> we must not test for it either.

Really?  The main regression tests have several test cases for NaN,
and no provision that I can see for platform dependence of the
result.

-- special inputs
SELECT 'NaN'::float8;
 float8 
--------
    NaN
(1 row)

If ecpg isn't handling this maybe you have a real bug to deal with.

			regards, tom lane