npgsql - Npgsql2: [#1010488] NgsqlParameter of type containing DBNull - Mailing list pgsql-committers

From fxjr@pgfoundry.org (User Fxjr)
Subject npgsql - Npgsql2: [#1010488] NgsqlParameter of type containing DBNull
Date
Msg-id 20081201024428.7B65917ADE30@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------

[#1010488] NgsqlParameter of type containing DBNull values throws NullReferenceException
Patch [#1010514] array handling.

Thanks to Rikard Pavelic (rikard.pavelic @nospam@ zg.htnet.hr) for array handling patch which fixed 1010488 bug. The
patchapplied was slightly different from original but with the same effect. Just changed to not add another if and use
allthe conditions in the existing if. 

Modified Files:
--------------
    Npgsql2/src/NpgsqlTypes:
        ArrayHandling.cs (r1.5 -> r1.6)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/ArrayHandling.cs.diff?r1=1.5&r2=1.6)
    Npgsql2/testsuite/noninteractive/NUnit20:
        CommandTests.cs (r1.21 -> r1.22)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs.diff?r1=1.21&r2=1.22)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Refactor crosstab() to build and return a tuplestore instead of
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: [#1010521] NpgsqlInterval should be quoted.