Re: npgsql and postgres enum type

From: danclemson <danclemson(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: npgsql and postgres enum type
Date: 2009-10-15 20:14:15
Message-ID: 25915268.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Thanks for the information.

I did try the approach, but it failed due to any other issue with npgsql.

The stored procedure returns a setof refcursor.
If I use "select * from test('e1':testEnum)", the command.ExecuteReader does
not return the datareader properly. The code errored out when I use the
datareader to get the data in the refcursor.

The stored procedure (return setof refcursor) works if I use prepared
statement, but in this case I am unable to do the explict type cast.
--
View this message in context: http://www.nabble.com/npgsql-and-postgres-enum-type-tp25911871p25915268.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-10-15 21:01:02 Re: npgsql and postgres enum type
Previous Message Merlin Moncure 2009-10-15 19:54:12 Re: npgsql and postgres enum type