diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-16 17:21:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-16 17:21:24 +0000 |
commit | f01b1965971ddd3345d3e44e00d0d735a49b75d1 (patch) | |
tree | 211945980f5517d642fcc7ab8302f3acddb764e6 /src/include | |
parent | 66888f7424f7d6c7cea2c26e181054d1455d4e7a (diff) | |
download | postgresql-f01b1965971ddd3345d3e44e00d0d735a49b75d1.tar.gz postgresql-f01b1965971ddd3345d3e44e00d0d735a49b75d1.zip |
Support scrollable cursors (ie, 'direction' clause in FETCH) in plpgsql.
Pavel Stehule, reworked a bit by Tom.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/executor/spi_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/executor/spi_priv.h b/src/include/executor/spi_priv.h index 7ce7d0b0983..74ab860334f 100644 --- a/src/include/executor/spi_priv.h +++ b/src/include/executor/spi_priv.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/executor/spi_priv.h,v 1.28 2007/03/15 23:12:07 tgl Exp $ + * $PostgreSQL: pgsql/src/include/executor/spi_priv.h,v 1.29 2007/04/16 17:21:23 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -65,6 +65,7 @@ typedef struct _SPI_plan bool saved; /* saved or unsaved plan? */ List *plancache_list; /* one CachedPlanSource per parsetree */ MemoryContext plancxt; /* Context containing _SPI_plan and data */ + int cursor_options; /* Cursor options used for planning */ int nargs; /* number of plan arguments */ Oid *argtypes; /* Argument types (NULL if nargs is 0) */ } _SPI_plan; |