Skip site navigation (1) Skip section navigation (2)

npgsql - Npgsql2: [#1010488] NgsqlParameter of type containing DBNull

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: [#1010488] NgsqlParameter of type containing DBNull
Date: 2008-12-01 02:44:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:

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

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

Modified Files:
        ArrayHandling.cs (r1.5 -> r1.6)
        CommandTests.cs (r1.21 -> r1.22)

pgsql-committers by date

Next:From: User FxjrDate: 2008-12-01 03:07:57
Subject: npgsql - Npgsql2: [#1010521] NpgsqlInterval should be quoted.
Previous:From: Tom LaneDate: 2008-12-01 01:30:18
Subject: pgsql: Refactor crosstab() to build and return a tuplestore instead of

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group