Resdhift's lack of cursors and PQsetSingleRowMode

Поиск
Список
Период
Сортировка
От Ryan Kelly
Тема Resdhift's lack of cursors and PQsetSingleRowMode
Дата
Msg-id 20131224164541.GA14395@llserver.lakeliving.com
обсуждение исходный текст
Ответы Re: Resdhift's lack of cursors and PQsetSingleRowMode  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Hi:

We're using psycopg2 to connect to Amazon's Redshift, and one problem
Redshift has is that it lacks server-side cursors. What I'd like is to
be able to use PQsetSingleRowMode to avoid consuming all the data at
once (in specific circumstances, of course). I'm not entirely sure what
in psycopg2 would need to be modified, but it seems like the changes
would mostly be restricted to the `async == 0` portion of `pq_execute`,
but I'm not familiar enough with the source to be certain.

-Ryan Kelly



В списке psycopg по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: Prepared Statements integration in PsycoPG
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Resdhift's lack of cursors and PQsetSingleRowMode