npgsql/Npgsql — pull request #230 by danzel (2014-05-06 23:02:44+00:00)
Title: Support DbType.Object a bit better maybe

This change is stolen from #102 as mentioned in https://github.com/npgsql/Npgsql/issues/201#issuecomment-39604997

Sending a PR so we can run all the tests against it. This PR also adds some new tests that failed without this change.