Обсуждение: npgsql - Npgsql2: [#1010787] Inserting an array does not work in a

Поиск
Список
Период
Сортировка

npgsql - Npgsql2: [#1010787] Inserting an array does not work in a

От
fxjr@pgfoundry.org (User Fxjr)
Дата:
Log Message:
-----------

[#1010787] Inserting an array does not work in a prepared statement. Fixed. Changed delegator definition responsible to
handleconversion from CLR type to server to take a ForExtendedQuery parameter so the function can handle correctly when
toreturn a plain query representation or when return a representation used for extended query. Until now, the types
weresimple and representation was the same. This changes with array handling where the representation is different for
eachcase. Added testcase too. More testcases needed. 

Modified Files:
--------------
    Npgsql2/src/NpgsqlTypes:
        ArrayHandling.cs (r1.8 -> r1.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/ArrayHandling.cs?r1=1.8&r2=1.9)
        NpgsqlTypeConverters.cs (r1.18 -> r1.19)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypeConverters.cs?r1=1.18&r2=1.19)
        NpgsqlTypesHelper.cs (r1.31 -> r1.32)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypesHelper.cs?r1=1.31&r2=1.32)
    Npgsql2/testsuite/noninteractive/NUnit20:
        CommandTests.cs (r1.41 -> r1.42)

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