npgsql - Npgsql2: [#1010780] Reduce use of utility queries for function

Поиск
Список
Период
Сортировка
От fxjr@pgfoundry.org (User Fxjr)
Тема npgsql - Npgsql2: [#1010780] Reduce use of utility queries for function
Дата
Msg-id 20100322024320.8321C10715C9@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
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)

В списке pgsql-committers по дате отправления:

Предыдущее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: [#1010780] Reduce use of utility queries for function
Следующее
От: meskes@postgresql.org (Michael Meskes)
Дата:
Сообщение: pgsql: Fixed ECPG regression test to make sure it uses absolute paths