Resdhift's lack of cursors and PQsetSingleRowMode - Mailing list psycopg

From Ryan Kelly
Subject Resdhift's lack of cursors and PQsetSingleRowMode
Date
Msg-id 20131224164541.GA14395@llserver.lakeliving.com
Whole thread Raw
Responses Re: Resdhift's lack of cursors and PQsetSingleRowMode  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List 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 by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: Prepared Statements integration in PsycoPG
Next
From: Daniele Varrazzo
Date:
Subject: Re: Resdhift's lack of cursors and PQsetSingleRowMode