Log Message:
-----------
[#1010780] Reduce use of utility queries for function calls
(CommandType.StoredProcedure). Thanks Noah Misch for tests. Patch (2 of 2):
2010-03-18 Noah Misch <noah.misch @nospam@ channeladvisor.com>
* src/Npgsql/NpgsqlCommand.cs (GetClearCommandText): Do not call
`CheckFunctionHasOutParameters'.
(CheckFunctionNeedsColumnDefinitionList): Check return type and presence
of OUT, INOUT, and TABLE arguments.
(CheckFunctionHasOutParameters): Delete method.
* testsuite/noninteractive/NUnit20/CommandTests.cs
(StatementOutputParameters): Test a multi-row result set.
(ReturnSetofRecord): New method.
[#1010779] Respect CommandTimeout in first function call w/ string parameter.
Added test cases. Thanks Noah Misch for tests.
Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlCommand.cs (r1.50 -> r1.51)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs?r1=1.50&r2=1.51)
Npgsql2/testsuite/noninteractive/NUnit20:
CommandTests.cs (r1.38 -> r1.39)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/CommandTests.cs?r1=1.38&r2=1.39)
Npgsql2/testsuite/noninteractive:
add_functions.sql (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/add_functions.sql?r1=1.5&r2=1.6)
--
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers