npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when - Mailing list pgsql-committers

From fxjr@pgfoundry.org (User Fxjr)
Subject npgsql - Npgsql2: Removed verification of NpgsqlDbType.Array when
Date
Msg-id 20080214135008.93E7B17AD0B5@pgfoundry.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: mkz@pgfoundry.org (User Mkz)
Date:
Subject: pgbouncer - pgbouncer: system.h + types cleanup - use proper printf
Next
From: mkz@pgfoundry.org (User Mkz)
Date:
Subject: pgbouncer - pgbouncer: make IOBuf use unsigned ints