1. 27 5月, 2001 1 次提交
  2. 26 5月, 2001 1 次提交
  3. 25 5月, 2001 10 次提交
  4. 24 5月, 2001 9 次提交
  5. 23 5月, 2001 8 次提交
  6. 22 5月, 2001 10 次提交
  7. 21 5月, 2001 1 次提交
    • J
      Enhancement of SPI to get access to portals · d27f363e
      Jan Wieck 提交于
      - New functions to create a portal using a prepared/saved
        SPI plan or lookup an existing portal by name.
      - Functions to fetch/move from/in portals. Results are placed
        in the usual SPI_processed and SPI_tuptable, so the entire
        set of utility functions can be used to gain attribute access.
      - Prepared/saved SPI plans now use their own memory context
        and SPI_freeplan(plan) can remove them.
      - Tuple result sets (SPI_tuptable) now uses it's own memory
        context and can be free'd by SPI_freetuptable(tuptab).
      
      Enhancement of PL/pgSQL
      
      - Uses generic named portals internally in FOR ... SELECT
        loops to avoid running out of memory on huge result sets.
      - Support for CURSOR and REFCURSOR syntax using the new SPI
        functionality. Cursors used internally only need no explicit
        transaction block. Refcursor variables can be used inside
        of explicit transaction block to pass cursors between main
        application and functions.
      
      
      Jan
      d27f363e