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

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

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: [#1010787] Inserting an array does not work in a
Date: 2010-06-24 05:00:42
Message-ID: 20100624050042.5A2BB10715C7@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------

[#1010787] Inserting an array does not work in a prepared statement. Fixed. Changed delegator definition responsible to handle conversion from CLR type to server to take a ForExtendedQuery parameter so the function can handle correctly when to return a plain query representation or when return a representation used for extended query. Until now, the types were simple and representation was the same. This changes with array handling where the representation is different for each case. 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)

pgsql-committers by date

Next:From: Simon RiggsDate: 2010-06-24 07:10:57
Subject: Re: [COMMITTERS] pgsql: Add TCP keepalive support to libpq.
Previous:From: User ItagakiDate: 2010-06-24 04:34:13
Subject: pgbulkload - pgbulkload: Disable PARALLEL writer because of bugs

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