[PATCH] Fix FetchRefcursors issues

From: Adrian Grucza <adrian(dot)grucza(at)iress(dot)com>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: [PATCH] Fix FetchRefcursors issues
Date: 2022-01-10 01:49:43
Message-ID: CADF4wWr+n2FfqcKse-1MRXY7LsXuuNnH_9p44RuQMh=Jq40VLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi all,

I've created a patch (attached) that fixes some issues with the automatic
fetching of refcursors from a function/procedure (the
FetchRefcursors setting). It includes updates to the tests.

Below is a summary of the patch:
1. Fix crash if error occurs when fetching noninitial refcursor
2. Fix error when fetching NULL refcursor
3. Return empty result if all refcursors are NULL

Regards,

Adrian Grucza
Technical Lead
Tel: +61390185800
adrian(dot)grucza(at)iress(dot)com
www.iress.com
Level 16 385 Bourke St
Melbourne, Victoria, 3000
The contents of this email originated from Iress. For this purpose Iress includes Iress Limited and/or any of its subsidiaries, holding companies and trading entities. ​If you have received this email in error please notify the sender immediately and delete this email.
nosig

Attachment Content-Type Size
Fix-FetchRefcursors-issues.patch application/octet-stream 5.9 KB

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Adrian Grucza 2022-01-10 01:49:50 [PATCH] Bug fix: SQLColAttribute returns wrong column name
Previous Message Inoue,Hiroshi 2022-01-04 04:21:49 Re: BUG: CC_send_query_append incomplete error handling