Thread: npgsql - Npgsql2: Fix for a date and infinity values comparison.

npgsql - Npgsql2: Fix for a date and infinity values comparison.

From
fxjr@pgfoundry.org (User Fxjr)
Date:
Log Message:
-----------

Fix for a date and infinity values comparison.
From patch:

"This check for Datetime.minvalue and maxvalue is needed in order to
workaround a problem when comparing date values with infinity.
This is a known issue with postgresql and it is reported here:
http://archives.postgresql.org/pgsql-general/2008-10/msg00535.php
Josh's solution to add cast is documented here:
http://pgfoundry.org/forum/message.php?msg_id=1004118"

Thanks Josh for fix idea.

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlParameter.cs (r1.18 -> r1.19)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlParameter.cs.diff?r1=1.18&r2=1.19)