Re: BUG #16244: Ref cursor from PostgreSQL and entity Framework

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "rblucky3(at)gmail(dot)com" <rblucky3(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16244: Ref cursor from PostgreSQL and entity Framework
Date: 2020-02-05 14:35:25
Message-ID: CAKFQuwaurvXEUZr6P=LQ4Fse+yAbJgdvX8jkAZZ3c9m2tHJJGw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wednesday, February 5, 2020, PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16244
> Logged by: Ravi Sah
> Email address: rblucky3(at)gmail(dot)com
> PostgreSQL version: 11.6
> Operating system: Windows 10
> Description:
>
> I have a Function in PostgreSQL that has return type 'refcursor'. i'm using
> this Function in Entity Framework by using Add Function Import.ThenI am
> getting error in Entity Framework 6.0 that
>
> "System.NotSupportedExcepction"
>
> i have used Npgsql,dbconnect provider for connection to postgresql.
>
> .Kindly provide solution for this problem..
>

Rewrite the function to not use a refcursor which doesn’t seem to be a
supported element in your framework. Or, don’t use the framework. Either
way this doesn’t seem to meet the criteria for a bug report. Posts like
this should be direct to the -general list.

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2020-02-05 19:22:20 Re: BUG #16242: convert_tuple_* not handling missing values correctly
Previous Message Stephen Frost 2020-02-05 12:07:12 Re: BUG #16234: LDAP Query