Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

enable SCROLL / NO SCROLL for named cursors

#108

Submitted by: jnelson@jamponi.net

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

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

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Psycopg website
  2. Daniele Varrazzo
    Daniele Varrazzo
    • 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.

    April 13th, 2012 @ 06:19 PM

  3. Daniele Varrazzo
    Daniele Varrazzo
    • 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.

    August 15th, 2012 @ 10:33 AM