#108 ✓ resolved
Psycopg website

enable SCROLL / NO SCROLL for named cursors

Reported by Psycopg website | April 13th, 2012 @ 05:35 PM

Submitted by: jnelson@jamponi.net

I have a patch which enables scrollable as a boolean (similar to how withhold is used) on named cursors.

Comments and changes to this ticket

  • Psycopg website
  • Daniele Varrazzo

    Daniele Varrazzo April 13th, 2012 @ 06:19 PM

    • State changed from “new” to “open”

    Thank you, it seems an interesting patch.

    Would you mind adding tests and documentation too?

    It would be great if you could fork my git repos https://github.com/dvarrazzo/psycopg and push your changes there for integration. Note that in my "devel" branch I've pushed changes that may probably conflict with your patch: you may want to create a 'scrollable-cursor' branch from "master": I can care about merging everything.

    Thank you very much.

  • Daniele Varrazzo

    Daniele Varrazzo August 15th, 2012 @ 10:33 AM

    • State changed from “open” to “resolved”

    Got no reply back. However I've merged the patch and added test and docs myself.

    I've made scrollable three-states: None (default) specifies no scroll option. True/False specify SCROLL/NO SCROLL. No option and NO SCROLL are slightly different and the default ensures current behaviour is kept.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

Attachments

Pages