Thread: npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when

npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when

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

Removed verification of NpgsqlDbType.Array when setting NpgsqlDbType property. As BigInt has an enum value of 0, user
wouldhave problems if they try to specify an array of bigint because NpgsqlDbType.Array | NpgsqlDbType.Bigint ==
NpgsqlDbType.Array.This decision was based in the fact that to fix this problem, we would need to change all enum
valueswhich would lead to break already compiled clients. Thanks Jon Hanna for discussion about that. 

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlParameter.cs (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlParameter.cs.diff?r1=1.9&r2=1.10)