Stored procedures returning cursors

From: Rodolfo Stangherlin <RStanghe(at)ucs(dot)br>
To: psycopg(at)postgresql(dot)org
Subject: Stored procedures returning cursors
Date: 2011-12-20 18:47:37
Message-ID: 20111220164737.18834g0698punqkp@webmail.ucs.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

I was trying to call a procedure returning a "ref cursor" in a
PostgreSQL database. It works with psycopg2 2.3.2, but not with 2.4.4.

My code looks like this:
http://osdir.com/ml/python.db.psycopg.devel/2005-10/msg00116.html

The result is a "cursor <unnamed portal 1> doesn't exists"
How I can do it in the right way?

Thanks!

--
Rodolfo

---------------------------------------
Essa mensagem foi enviada pelo UCS Mail

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-12-20 19:26:49 Re: Stored procedures returning cursors
Previous Message Devrim GÜNDÜZ 2011-12-19 19:36:56 Re: RELEASE: psycopg 2.4.4