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

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: [#1010780] Reduce use of utility queries for function
Date: 2010-03-22 02:23:49
Message-ID: 20100322022349.858D710715C7@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------

[#1010780] Reduce use of utility queries for function calls (CommandType.StoredProcedure) Thanks Noah Mishc for patches (1 of 2):

2010-03-18 Noah Misch <noah.misch @nospam@ channeladvisor.com>

* src/Npgsql/NpgsqlCommand.cs (functionReturnsRefCursor): Delete
property.
(GetReader): When a function returns a single refcursor column,
immediately fetch from all those cursors and return that data.
(GetClearCommandText): Do not call `CheckFunctionReturn' or
`ProcessRefcursorFunctionReturn'.
(CheckFunctionReturn, ProcessRefcursorFunctionReturn): Delete methods.

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlCommand.cs (r1.49 -> r1.50)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlCommand.cs?r1=1.49&r2=1.50)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2010-03-22 02:43:20 npgsql - Npgsql2: [#1010780] Reduce use of utility queries for function
Previous Message Bruce Momjian 2010-03-21 22:12:28 pgsql: Remove 9.0 release notes xref's to HISTORY.html can be built.