Ensure that a cursor is scanned under the same scanCommandId it was
authorTom Lane <[email protected]>
Thu, 14 Feb 2002 15:24:10 +0000 (15:24 +0000)
committerTom Lane <[email protected]>
Thu, 14 Feb 2002 15:24:10 +0000 (15:24 +0000)
commit7f76fd7fdaf20fafc212a592edabfe48856a405d
tree7618d7880a2cf8816542185015808235154067e6
parent738e85894fbea2a6acd52fab29051526f06ea771
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