Thread: pgsql/src backend/commands/command.c backend/e ...

pgsql/src backend/commands/command.c backend/e ...

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/02/14 10:24:10

Modified files:
    src/backend/commands: command.c
    src/backend/executor: spi.c
    src/backend/utils/mmgr: portalmem.c
    src/include/utils: portal.h

Log message:
    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.