Re: using server side cursor - Mailing list psycopg

From Federico Di Gregorio
Subject Re: using server side cursor
Date
Msg-id 4E98467D.1050604@dndg.it
Whole thread Raw
In response to Re: using server side cursor  (Federico Di Gregorio <fog@dndg.it>)
Responses Re: using server side cursor  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
On 14/10/11 16:24, Federico Di Gregorio wrote:
> We can add a new parameter (existing=True?) to cursor(); to be used only
> when the cursor already exists with the following behaviour:
>
> 1) execute() calls now result in an exception; and
> 2) you're guaranteed that fetchXXX() will wok as expected.
>
> If you *don't* pass existing=True trying to fetch from a named cursor
> without first calling execute() can result in an exception too. But
> maybe this is too much...

Mm.. ignore this, it's stupid. :/

federico

--
Federico Di Gregorio                                       fog@initd.org
             Quis custodiet ipsos custodes? -- Juvenal, Satires, VI, 347

psycopg by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: using server side cursor
Next
From: thomas veymont
Date:
Subject: Re: using server side cursor