Remove SetQuerySnapshot() from FETCH processing. No longer necessary
authorTom Lane <[email protected]>
Tue, 21 May 2002 22:18:08 +0000 (22:18 +0000)
committerTom Lane <[email protected]>
Tue, 21 May 2002 22:18:08 +0000 (22:18 +0000)
or appropriate, since the snapshot that will be used by the cursor was
frozen when ExecutorStart was run for it.

src/backend/tcop/utility.c

index dd319076848212e693903c072c9951d8151e61d1..99b6086ac5ccc7c47fa53fafc68276f691578cb8 100644 (file)
@@ -234,8 +234,6 @@ ProcessUtility(Node *parsetree,
                                bool            forward;
                                int                     count;
 
-                               SetQuerySnapshot();
-
                                forward = (bool) (stmt->direction == FORWARD);
 
                                /*