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

npgsql - Npgsql2: Added support for parameters explicit typing on plain

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Added support for parameters explicit typing on plain
Date: 2008-01-30 20:37:19
Message-ID: 20080130203719.B96E917ADCC2@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------

Added support for parameters explicit typing on plain queries (this support was already present when calling functions). Now when sending queries, Npgsql will send the exact typing of the parameters as specified by DbType or NpgsqlDbType enums. This will allow better type matching between client and server. Thanks Jon Hanna, Josh Cooley and Agrinei for heads up. See http://pgfoundry.org/forum/message.php?msg_id=1002944 for more info.

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        NpgsqlCommand.cs (r1.14 -> r1.15)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs.diff?r1=1.14&r2=1.15)
        NpgsqlConnector.cs (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlConnector.cs.diff?r1=1.10&r2=1.11)
    Npgsql2/src/NpgsqlTypes:
        NpgsqlDbType.cs (r1.6 -> r1.7)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlDbType.cs.diff?r1=1.6&r2=1.7)
        NpgsqlTypesHelper.cs (r1.9 -> r1.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypesHelper.cs.diff?r1=1.9&r2=1.10)

pgsql-committers by date

Next:From: User FxjrDate: 2008-01-30 22:01:15
Subject: npgsql - Npgsql2: Reverted search_path patch to original as proposed
Previous:From: Tom LaneDate: 2008-01-30 19:46:48
Subject: pgsql: Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent

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