]> granicus.if.org Git - postgresql/commit
Ensure that a cursor is scanned under the same scanCommandId it was
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Feb 2002 15:24:10 +0000 (15:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Feb 2002 15:24:10 +0000 (15:24 +0000)
commit3576820e7852ab20d552fe5aa7abb2847db62f6f
tree207f056de4c5e95b5000b119c4d6e0d8b0380ffa
parent13920423466a345e832ed844e9513ad2eed43731
Ensure that a cursor is scanned under the same scanCommandId it was
originally created with, so that the set of visible tuples does not
change as a result of other activity.  This essentially makes PG cursors
INSENSITIVE per the SQL92 definition.  See bug report of 13-Feb-02.
src/backend/commands/command.c
src/backend/executor/spi.c
src/backend/utils/mmgr/portalmem.c
src/include/utils/portal.h