Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9173025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:29:33+00:00 2026-06-17T16:29:33+00:00

From the Postgresql documentation: int cursorOptions Integer bit mask of cursor options; zero produces

  • 0

From the Postgresql documentation:

int cursorOptions
    Integer bit mask of cursor options; zero produces default behavior.

What is the default behavior? Where is a complete list of cursor options? I’ve been looking through the documentation for an hour now. Can someone provide a link or point me in the right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:29:35+00:00Added an answer on June 17, 2026 at 4:29 pm

    I am compiling a list of cursorOptions as I peel through the documentation to help save the others the trouble.

    Defined in <src/include/nodes/parsenodes.h>:

    CURSOR_OPT_BINARY (0x0001)

    CURSOR_OPT_SCROLL (0x0002) is required by several SPI commands. Setting this option will allow for more complex movement through cursors. Further details are explained in the documentation of SPI_cursor_fetch, SPI_cursor_move, SPI_scroll_cursor_fetch, SPI_scroll_cursor_move

    CURSOR_OPT_NO_SCROLL (0x0004)

    CURSOR_OPT_INSENSITIVE (0x0008)

    CURSOR_OPT_HOLD (0x0010) is ignored by SPI_prepare_cursor. However, it’s behavior for SPI_prepare_params and SPI_cursor_open_with_args is not specified in the documentation.

    CURSOR_OPT_CUSTOM_PLAN (0x0020)

    CURSOR_OPT_FAST_PLAN (0x0040)

    CURSOR_OPT_GENERIC_PLAN (0x0080)

    NOTE: If anyone with the ability to edit posts wishes to contribute to this answer (additional options, functionality or insights), please feel free to do so. I will try to move comments up into the answer as they come.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider the following text from the PostgreSQL documentation on binary copying: 11-byte sequence PGCOPY\n\377\r\n\0
When generating models from postgresql with ColdFusion Illudium Code generator the boolean values get
I Have to get a movie from a PostgreSQL database that matches a given
I installed OpenGeo Suite 2.4.5 in windows 7. I want to access postgresql from
I'm slowly moving from MSSQL to PostgreSQL. In MSSQL I could call editing of
I recently migrated a django project from mysql to postgresql and in the process
I'm trying to find a way to browse a PostgreSQL database from the Visual
I'm converting a PHP script as DB has been switched from MySQL to PostgreSQL.
I am switching from using SQLite3 to PostgreSQL, and hoped that I could populate
I have one postgresql table where I store some stories from different sites. At

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.