Re: using server side cursor
| От | Federico Di Gregorio |
|---|---|
| Тема | Re: using server side cursor |
| Дата | |
| Msg-id | 4E98467D.1050604@dndg.it обсуждение исходный текст |
| Ответ на | Re: using server side cursor (Federico Di Gregorio <fog@dndg.it>) |
| Ответы |
Re: using server side cursor
|
| Список | 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 по дате отправления: